Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that.

Similar presentations


Presentation on theme: "Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that."— Presentation transcript:

1 Chapter 9 Hypothesis Tests

2 The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that the population value will be captured in the interval. The logic behind a hypothesis test is that if we build an interval around a hypothesized value and the sample value falls into that interval, the result is consistent with hypothesized value. If the sample value falls outside the interval it is inconsistent with the hypothesized value.

3 Hypotheses Null hypothesis (H 0 ) – The assumed value of the population parameter when conducting the test Alternative hypothesis (H a ) – The complement of the null hypothesis We don’t necessarily believe the null hypothesis is true, it is a benchmark we are going to test against.

4 Forms of the Hypotheses One-tailed test to the left H 0 :  >  0 H a :  <  0 One-tailed test to the right H 0 :  <  0 H a :  >  0 Two-tailed test H 0 :  =  0 H a :  ≠  0

5 Hypothesis Tests State of the world H 0 is trueH 0 is false ConclusionAccept H 0 Correct conclusion Type II error Reject H 0 Type I errorCorrect conclusion

6 Hypothesis Tests We can never know if the test provided the correct answer, we can only control the probability of making a certain type of error. Level of significance – the probability of making a Type I error when the null hypothesis is true as an equality.

7 Mechanics of a Hypothesis Test 1.Define the null and alternative hypotheses 2.Define the rule for rejecting the null hypothesis 3.Calculate value from sample 4.Reject or accept null hypothesis, state the implication

8 Critical Value A value defining the boarder(s) of the rejection region. Test Statistic A value calculated from sample data that is used to determine whether to accept or reject the null hypothesis.

9 Hypothesis Test with  Known 1.H 0 :  >  0 H a :  <  0 2.Reject H 0 if z < -z  3. 4.Interpret result

10 Hypothesis Test with  Known, Example A firm has started a wellness plan which provides support for employees to lose weight and stop smoking. In the past employees used 10 sick days per year and the standard deviation was 2 days. The firm wants to test whether the number of sick days has fallen with the significance level set at 5%. A sample of 100 employees was collected, the average number of sick days for the sample was 9.

11 Hypothesis Test with  Known 1.H 0 :  >  H a :  <  2.Reject H 0 if z < -1.645 3. 4.Reject H 0. The test implies that the number of sick days has fallen.

12 Hypothesis Test with  Unknown If  is unknown, then we use s to estimate  and we would need to use the t distribution in conducting the test. Again, the number of degrees of freedom would equal n-1.

13 Hypothesis Test with  Unknown, Example A researcher wants to know if the amount workers are putting into tax sheltered retirement plans (like IRA and 401k accounts) has fallen. Last year the average monthly contribution into a tax-sheltered plan was $150. A sample of 101 workers is drawn. The average monthly contribution for the workers in the sample was $135, and the sample standard deviation was $50. Conduct the test with a 5% significance level.

14 Hypothesis Test with  Unknown 1.H 0 :  > 150 H a :  < 150 2.Reject H 0 if t < -1.660 3. 4.Reject H 0. The evidence suggests that the amount of money contributed to tax- sheltered programs has fallen.

15 Hypothesis Test with  Unknown, Example Last year Medicare recipients spent an average of 4.5 days in the hospital. A researcher wants to test to see if the average has changed. He wants to conduct a test at the 5% significance level. A sample of 25 Medicare recipients is drawn and the sample mean is 5 days and the standard deviation is 2.

16 Hypothesis Test with  Unknown 1.H 0 :  =  H a :  ≠  2.Reject H 0 if t 2.064 3. 4.Accept H 0. The evidence is not strong enough to reject H 0, we would assume the average number of days in the hospital has not changed.

17 Alternatives Ways of Conducting a Hypothesis Test t scores p values

18 p Values A p value is the probability of drawing a value whose distance from the hypothesized value is greater than or equal to the sample value. The null hypothesis is rejected if p < . In a one- tailed test p is equal to the area in a single tail. In the case of a two-tailed test p equals the area in both tails that is as far away from the mean as the sample value.

19 Comparisons of Rejection Rules Assume a one-tailed test in which  =.05 and z equals 2.

20 Hypothesis Test using p-Value,  Unknown Last year Medicare recipients spent an average of 4.5 days in the hospital. A researcher wants to test to see if the average has changed. He wants to conduct a test at the 5% significance level. A sample of 25 Medicare recipients is drawn and the sample mean is 5 days and the standard deviation is 2.

21 Hypothesis Test using p-Value,  Unknown 1.H 0 :  =  H a :  ≠  2.Reject H 0 if p <.05 3. 4.Accept H 0. The evidence is not strong enough to reject H 0, we would assume the average number of days in the hospital has not changed.

22 Hypothesis Test with  Unknown, Example A researcher wants to know if the amount workers are putting into tax sheltered retirement plans (like IRA and 401k accounts) has fallen. Last year the average monthly contribution into a tax-sheltered plan was $150. A sample of 101 workers is drawn. The average monthly contribution for the workers in the sample was $135, and the sample standard deviation was $50. Conduct the test with a 5% significance level.

23 Hypothesis Test with  Unknown 1.H 0 :  > 150 H a :  < 150 2.Reject H 0 if p <.05 3. 4.Reject H 0. The evidence suggests that the amount of money contributed to tax- sheltered programs has fallen.

24 Summary of Rejection Rules z and t scores: The rejection rule is defined in terms of standard deviations p values: The rejection rule is defined in terms of probabilities

25 Summary of Hypothesis Tests About a Population Mean Lower Tail TestUpper Tail TestTwo-Tailed Test Hypotheses H 0 :  >  0 H a :  <  0 H 0 :  <  0 H a :  >  0 H 0 :  =  0 H a :  ≠  0 t score rejection rule Reject H 0 if t<-t  Reject H 0 if t>t  Reject H 0 if t t  p-value rejection rule Reject H 0 if p <  Reject H 0 if p <  Reject H 0 if p <  * Where p is calculated using one tail ** Where p is calculated using both tails


Download ppt "Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that."

Similar presentations


Ads by Google