Download presentation

Presentation is loading. Please wait.

Published byTyson Palk Modified about 1 year ago

1
One Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.

2
Learning Objectives Chapter 10 1 Define a hypothesis. 3 Describe Type I and Type II errors. 5 Distinguish between a one-tailed and two-tailed hypothesis 6 Apply the five-step procedure to the test of hypothesis about a population mean. 7 Compute and interpret a p-value. 8 Conduct a test of hypothesis about a population proportion. 9-2

3
Hypothesis and Hypothesis Testing HYPOTHESIS A statement about the value of a population parameter developed for the purpose of testing. HYPOTHESIS TESTING A procedure based on sample evidence and probability theory to determine whether the hypothesis is a reasonable statement. 10-3

4
Null and Alternate Hypothesis ALTERNATE HYPOTHESIS A statement that is accepted if the sample data provide sufficient evidence that the null hypothesis is false. NULL HYPOTHESIS A statement about the value of a population parameter developed for the purpose of testing numerical evidence. 10-4

5
Hypotheses: H 0 and H 1 H 0 : null hypothesis and H 1 : alternate hypothesis Examples: H 0 : defendant is innocent; H 1 : defendant is guilty H 0 : µ =10; H 1 : µ >10 H 0 is presumed to be true, but in business analysis we usually seek to reject it, that is, to prove it is not true. H 1 has the burden of proof We collect evidence from the sample. If our decision is 'do not reject H 0 ', this does not necessarily mean that the null hypothesis is true, it only suggests that there is not sufficient evidence to reject H 0 ; rejecting the null hypothesis then, suggests that the alternative hypothesis may be true. Equality is used in H 0 ; “≠” “ ” is used in H

6
Decisions and Errors in Hypothesis Testing 10-6 (Defendant innocent) (Defendant guilty) (Acquaint) (Convict) P(Type I error)=α Type I error P(Type II error)=β Correct decision Type I error P(Type I error)=α Also called significance level Type II error P(Type II error)=β Correct decision

7
Test Statistic versus Critical Value CRITICAL VALUE The dividing point between the region where the null hypothesis is rejected and the region where it is not rejected. TEST STATISTIC A value, determined from sample information, used to determine whether to reject the null hypothesis. Example: z, t, F,

8
One-tail vs. Two-tail Test— depending on H H 1 : ≠ A H 1 : < A H 1 : > A

9
Hypothesis Setups for Testing a Population Mean ( ) 10-9 Two-tail test Left-tail test Right-tail test = = Required condition: the data is approximately normally distributed. Z > Z α/2 or Z < Z α/2 t > t α/2, n-1 or t < t α/2, n-1 With σ unknown: With σ known:

10
Testing for a Population Mean with a Known Population Standard Deviation- Example Jamestown Steel Company manufactures and assembles desks and other office equipment. The weekly production of the Model A325 desk at the Fredonia Plant follows the normal probability distribution with a mean of 200 and a standard deviation of 16. Recently, new production methods have been introduced and new employees hired. The VP of manufacturing would like to investigate whether there has been a change in the weekly production of the Model A325 desk. In other words, is the mean number of desks produced at the Fedonia Plant different from 200 at the.01 significance level?

11
Testing for a Population Mean with a Known Population Standard Deviation- Example To investigate this issue, the weekly production of 50 weeks from last year was obtained (the plant was shut down 2 weeks for vacation). The sample mean is What we know from the description:

12
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 1: State the null hypothesis and the alternate hypothesis. H 0 : = 200 H 1 : ≠ 200 (note: keyword in the problem “has changed”) Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. Use Z-distribution since σ is known 10-12

13
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 3: Select the test statistic. Use Z-distribution since σ is known 10-13

14
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 4: Formulate the decision rule. Rejection Region:Reject H 0 if |Z| > Z /2 Step 5: Make a decision and interpret the result. Because 1.55 does not fall in the rejection region, H 0 is not rejected. We conclude that the population mean is not different from 200. So we would report to the vice president of manufacturing that the sample evidence does not show that the production rate at the plant has changed from 200 per week =NORMSINV( )

15
Testing for a Population Mean with a Known Population Standard Deviation- Another Example Suppose in the previous problem the vice president wants to know whether there has been an increase in the number of units assembled. To put it another way, can we conclude, because of the improved production methods, that the mean number of desks assembled is more than 200? Recall: σ=16, n=50, α=.01

16
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 1: State the null hypothesis and the alternate hypothesis. H 0 : = 200 H 1 : > 200 (note: keyword in the problem “an increase”) Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. Use Z-distribution since σ is known 10-16

17
One-Tailed Test versus Two-Tailed Test =

18
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 4: Formulate the decision rule. Reject H 0 if Z > Z Step 5: Make a decision and interpret the result. Because 1.55 does not fall in the rejection region, H 0 is not rejected. We conclude that the average number of desks assembled in the last 50 weeks is not more than

19
Testing for the Population Mean: Population Standard Deviation Unknown When the population standard deviation (σ) is unknown, the sample standard deviation (s) is used in its place The t-distribution is used as test statistic, which is computed using the formula: 10-19

20
Characteristics of the t-distribution 1. It is a continuous distribution, bell-shaped and symmetrical. 2. There is a family of t distributions. The shape of the t distribution is controlled by degrees of freedom, denoted by ν, where ν = n – All t distributions have a mean of 0, but their standard deviations differ according to the sample size, n. 4. The t distribution is more spread out and flatter at the center than the standard normal distribution. 5. As the sample size increases, the t distribution approaches the standard normal distribution; when the degrees of freedom is ∞, t distribution becomes standard normal distribution. 9-20

21
Testing for the Population Mean: Population Standard Deviation Unknown - Example The McFarland Insurance Company Claims Department reports the mean cost to process a claim is $60. An industry comparison showed this amount to be larger than most other insurance companies, so the company instituted cost-cutting measures. To evaluate the effect of the cost- cutting measures, the Supervisor of the Claims Department selected a random sample of 26 claims processed last month. The sample information is reported below. At the.01 significance level is it reasonable a claim is now less than $60? Data McFarland Insurance ClaimMcFarland Insurance Claim 10-21

22
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 1: State the null hypothesis and the alternate hypothesis. H 0 : = $60 H 1 : < $60 (note: keyword in the problem “now less than”) Step 2: Select the level of significance. α = 0.01 as stated in the problem Step 3: Select the test statistic. Use t-distribution since σ is unknown 10-22

23
Testing for a Population Mean with a Known Population Standard Deviation- Example Step 4: Formulate the decision rule. Reject H 0 if t < -t ,n-1 Step 5: Make a decision and interpret the result. Because does not fall in the rejection region, H 0 is not rejected at the.01 significance level. We have not demonstrated that the cost-cutting measures reduced the mean cost per claim to less than $60. The difference of $3.58 ($ $60) between the sample mean and the population mean could be due to sampling error =TINV(2α, d.f.)=TINV(0.02, 25)

24
Testing for a Population Mean with an Unknown Population Standard Deviation- Example The current rate for producing 5 amp fuses at Neary Electric Co. is 250 per hour. A new machine has been purchased and installed that, according to the supplier, will increase the production rate. A sample of 10 randomly selected hours from last month revealed the mean hourly production on the new machine was 256 units, with a sample standard deviation of 6 per hour. At the.05 significance level can Neary conclude that the new machine is faster? 10-24

25
Testing for a Population Mean with an Unknown Population Standard Deviation- Example Step 1: State the null and the alternate hypothesis. H 0 : µ = 250 H 1 : µ > 250 Step 2: Select the level of significance. It is.05. Step 3: Find a test statistic

26
Testing for a Population Mean with an Unknown Population Standard Deviation- Example Step 4: State the decision rule. There are 10 – 1 = 9 degrees of freedom. The null hypothesis is rejected if t > Step 5: Make a decision and interpret the results. The null hypothesis is rejected. There is enough evidence in support of the alternative hypothesis. The mean number produced is more than 250 per hour

27
p-Value in Hypothesis Testing p-VALUE is the probability of observing a sample value as extreme as, or more extreme than, the value observed, given that the null hypothesis is true. In testing a hypothesis, we can also compare the p- value to the significance level ( ). Decision rule using the p-value: Reject H 0 if p-value < significance level 10-27

28
p-Value in Hypothesis Testing - Example Recall the last problem where the hypothesis and decision rules were set up as: H 0 : = 200 H 1 : > 200 Reject H 0 if Z > 2.33, where Z = 1.55 P-value: What is the probability of observing a sample mean as high as when the population mean is 200 and the population standard deviation is 16? P-value=P(Z>1.55)=P(Z<-1.55)=.0606 Reject H 0 if p-value < , where =0.01 Decision: Do not reject H =NORMDIST(-1.55)

29
What does it mean when p-value < ? (a).10, we have some evidence that H 0 is not true. (b).05, we have strong evidence that H 0 is not true. (c).01, we have very strong evidence that H 0 is not true. (d).001, we have extremely strong evidence that H 0 is not true

30
P-value—two-tail test example Two-tail test H 0 : = 200 H 1 : ≠ 200 Test statistic: P-value: 2P(Z

31
Summary Two-tail test Left-tail test Right-tail test = = p-value=2P(Z test stat) p-value=2P(t test stat) P-value for t-test: =tdist(| t |, d.f., tail), where tail=1 for one-tail test and tail=2 for two-tail test.

32
Assumptions in Testing a Population Proportion using the z-Distribution A random sample is chosen from the population. the sample data collected are the result of counts. the outcome of an experiment is classified into one of two mutually exclusive categories—a “success” or a “failure.” “Success” refers to the category we want to study; “failure” refers to any other categories. Both n and n(1- ) are at least 5. When the above conditions are met, the normal distribution can be used as an approximation to the binomial distribution

33
Hypothesis Setups for Testing a Proportion ( ) Z > Z α/2 or Z < Z α/2

34
Test Statistic for Testing a Single Population Proportion Sample proportion Hypothesized population proportion Sample size 10-34

35
Test Statistic for Testing a Single Population Proportion - Example The GO transportation system of buses and commuter trains operates on the honor system. Train travelers are expected to buy their tickets before boarding the train. Only a small number of people will be checked on the train to see whether they bought a ticket. Suppose that a random sample of 400 train travelers was sampled and 68 of them had failed to buy a ticket. Test to determine whether the proportion of travelers who fail to buy a ticket exceeds 15%. Use a 5% significance level

36
Step 1: State the null hypothesis and the alternate hypothesis. H 0 : =.15 H 1 : >.15 (note: keyword in the problem “exceeds”) Step 2: Select the level of significance. α = 0.05 as stated in the problem Step 3: Select the test statistic. Use Z-distribution since the assumptions are met. Test Statistic for Testing a Single Population Proportion - Example 10-36

37
Testing for a Population Proportion - Example Step 4: Formulate the decision rule. Reject H 0 if Z < Z Z α = Z.05 = Rejection region: reject H 0 if Z > Step 5: Make a decision and interpret the result. The test statistic (Z=1.12) is not in the rejection region, so the null hypothesis is not rejected at the.05 level. This indicates that there is not enough evidence to infer the prportion of travelers who fail to buy a ticket exceeds 15% Z = 1.12

38
Testing for a Population Proportion - P-value Hypotheses H 0 : =.15 H 1 : >.15 Test statistic z=1.12 P-value P(Z > test stat)=P(Z > 1.12)=P(Z<-1.12)= P-value>0.05 Decision Do not reject the null hypothesis

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google