1 / 41

Hypothesis Testing

Hypothesis Testing. Chapter 9 BA 201. Hypothesis Testing. The null hypothesis , denoted by H 0 , is a tentative assumption about a population parameter. The alternative hypothesis , denoted by H a , is the opposite of what is stated in the null hypothesis.

cheche
Download Presentation

Hypothesis Testing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Hypothesis Testing Chapter 9 BA 201

  2. Hypothesis Testing • The null hypothesis, denoted by H0 , is a tentative • assumption about a population parameter. • The alternative hypothesis, denoted by Ha, is the • opposite of what is stated in the null hypothesis.

  3. Summary of Forms for Null and Alternative Hypotheses about a Population Mean • Three Scenarios: One-tailed (lower-tail) One-tailed (upper-tail) Two-tailed

  4. Type I and Type II Errors Population Condition H0 True (m< 12) H0 False (m > 12) Conclusion AcceptH0 (Concludem< 12) Correct Decision Type II Error Type I Error Correct Decision RejectH0 (Conclude m > 12)

  5. Two Scenarios •  Known  z Score •  Unknown  t Value

  6. Hypothesis Testing Known

  7. p-Value Approach • The p-value is the probability, computed using the test statistic, that measures the support (or lack of support) provided by the sample for the null hypothesis. • Reject H0 if the p-value <.

  8. Tests About a Population Mean:sKnown • Rejection Rule: p -Value Approach Reject H0 if p–value <a • Rejection Rule: Critical Value Approach H0:  Ha:  Reject H0 if z <-z H0:  Ha: > Reject H0 if z> z H0:  Ha:  Reject H0 if z<-zor z > z

  9. Lower-Tailed Test About a Population Mean a = 0.10 p-value 072 z z = -1.46 -za = -1.28 0

  10. Upper-Tailed Test About a Population Mean a = 0.04 p-Value 011 z za = 1.75 z = 2.29 0

  11. Two-Tailed Tests About a Population Mean 1/2 p -value = .0031 1/2 p -value = .0031 a/2 = .015 a/2 = .015 z z = -2.74 0 z = 2.74 -za/2 = -2.17 za/2 = 2.17

  12. z Statistics for s Known Where 0 is the mean under H0  is the population standard deviation n is the sample size

  13. One-Tailed Tests About a Population Mean: s Known Metro EMS The response times for a random sample of 40 medical emergencies were tabulated. The sample mean is 13.25 minutes. The population standard deviation is believed to be 3.2 minutes. The EMS director wants to perform a hypothesis test, with a .05 level of significance, to determine whether the service goal of 12 minutes or less is being achieved.

  14. One-Tailed Tests About a Population Mean: s Known • p -Value and Critical Value Approaches 1. Develop the hypotheses. H0:  Ha: a = 0.05 2. Specify the level of significance. 3. Compute the value of the test statistic.

  15. One-Tailed Tests About a Population Mean: s Known • p –Value Approach 4. Compute the p –value. For z = 2.47, cumulative probability = 0.9932. p–value = 1 -0.9932 = 0.0068 5. Determine whether to reject H0. Because p–value = 0.0068 <a = .05, we reject H0. There is sufficient statistical evidence to infer that Metro EMS is not meeting the response goal of 12 minutes.

  16. Sampling distribution of One-Tailed Tests About a Population Mean: s Known • p –Value Approach a = .05 p-value  z za = 1.645 z = 2.47 0

  17. One-Tailed Tests About a Population Mean: s Known • Critical Value Approach 4. Determine the critical value and rejection rule. For a = 0.05, z0.05= 1.645 Reject H0 if z> 1.645 5. Determine whether to reject H0. Because 2.47 > 1.645, we reject H0. There is sufficient statistical evidence to infer that Metro EMS is not meeting the response goal of 12 minutes.

  18. p-Value Approach to Two-Tailed Hypothesis Testing • Compute the p-value using the following three steps: 1. Compute the value of the test statistic z. 2. If z is in the upper tail (z > 0), find the area under the standard normal curve to the right of z. If z is in the lower tail (z < 0), find the area under the standard normal curve to the left of z. 3. Double the tail area obtained in step 2 to obtain the p–value. Reject H0 if the p-value <.

  19. Two-Tailed Tests About a Population Mean: s Known Glow Toothpaste The production line for Glow toothpaste is designed to fill tubes with a mean weight of 6 oz. Periodically, a sample of 30 tubes will be selected in order to check the filling process. Quality assurance procedures call for the continuation of the filling process if the sample results are consistent with the assumption that the mean filling weight for the population of toothpaste tubes is 6 oz.; otherwise the process will be adjusted.

  20. Two-Tailed Tests About a Population Mean: s Known Glow Toothpaste Assume that a sample of 30 toothpaste tubes provides a sample mean of 6.1 oz. The population standard deviation is believed to be 0.2 oz. Perform a hypothesis test, at the 0.03 level of significance, to help determine whether the filling process should continue operating or be stopped and corrected.

  21. H0: = 6 Ha: Two-Tailed Tests About a Population Mean: s Known • p –Value and Critical Value Approaches 1. Determine the hypotheses. a = .03 2. Specify the level of significance. 3. Compute the value of the test statistic.

  22. Two-Tailed Tests About a Population Mean: s Known • p –Value Approach 4. Compute the p –value. For z = 2.74, cumulative probability = 0.9969 p–value = 2(1 -0.9969) = 0.0062 5. Determine whether to reject H0. Because p–value = 0.0062 <a = 0.03, we reject H0. There is sufficient statistical evidence to infer that the alternative hypothesis is true (i.e. the mean filling weight is not 6 ounces).

  23. Two-Tailed Tests About a Population Mean 1/2 p -value = .0031 1/2 p -value = .0031 a/2 = .015 a/2 = .015 z z = -2.74 0 z = 2.74 -za/2 = -2.17 za/2 = 2.17

  24. Two-Tailed Tests About a Population Mean: s Known • Critical Value Approach 4. Determine the critical value and rejection rule. For a/2 = .03/2 = .015, z.015 = 2.17 Reject H0 if z< -2.17 or z> 2.17 5. Determine whether to reject H0. Because 2.74 > 2.17, we reject H0. There is sufficient statistical evidence to infer that the alternative hypothesis is true (i.e. the mean filling weight is not 6 ounces).

  25. Two-Tailed Tests About a Population Mean: s Known • Critical Value Approach 1/2 p -value = .0031 1/2 p -value = .0031 Reject H0 Reject H0 Do Not Reject H0 z = -2.74 z = 2.74 z 0 2.17 -2.17

  26. PRACTICE  Known

  27. 9.16

  28. 9.18

  29. Hypothesis Testing UnKnown

  30. Tests About a Population Mean:s Unknown Where 0 is the mean under H0 s is the sample standard deviation n is the sample size This test statistic has a t distribution with n - 1 degrees of freedom.

  31. Tests About a Population Mean:s Unknown • Rejection Rule: p -Value Approach Reject H0 if p –value <a • Rejection Rule: Critical Value Approach H0:  Ha:  Reject H0 if t < -t H0:  Ha: > Reject H0 if t > t H0:  Ha:  Reject H0 if t < - t or t > t

  32. p -Values and the t Distribution • The format of the t distribution table provided in most • statistics textbooks does not have sufficient detail • to determine the exact p-value for a hypothesis test. • However, we can still use the t distribution table to identify a range for the p-value. • An advantage of computer software packages is that the computer output will provide the p-value for the t distribution.

  33. Example: Highway Patrol • One-Tailed Test About a Population Mean: s Unknown A State Highway Patrol periodically samples vehicle speeds at various locations on a particular roadway. The sample of vehicle speeds is used to test the hypothesis H0: m< 65. The locations where H0 is rejected are deemed the best locations for radar traps. At Location F, a sample of 64 vehicles shows a mean speed of 66.2 mph with a standard deviation of 4.2 mph. Use a = .05 to test the hypothesis.

  34. One-Tailed Test About a Population Mean:s Unknown • p –Value and Critical Value Approaches 1. Determine the hypotheses. H0: < 65 Ha: m > 65 a = .05 2. Specify the level of significance. 3. Compute the value of the test statistic.

  35. One-Tailed Test About a Population Mean:s Unknown • p –Value Approach 4. Compute the p –value. For t = 2.286, the p–value must be less than .025 (for t = 1.998) and greater than .01 (for t = 2.387). .01 < p–value < .025 5. Determine whether to reject H0. Because p–value <a = .05, we reject H0. We are at least 95% confident that the mean speed of vehicles at Location F is greater than 65 mph.

  36. One-Tailed Test About a Population Mean:s Unknown • Critical Value Approach 4. Determine the critical value and rejection rule. For a = .05 and d.f. = 64 – 1 = 63, t.05 = 1.669 Reject H0 if t> 1.669 5. Determine whether to reject H0. Because 2.286 > 1.669, we reject H0. We are at least 95% confident that the mean speed of vehicles at Location F is greater than 65 mph. Location F is a good candidate for a radar trap.

  37. One-Tailed Test About a Population Mean:s Unknown Reject H0 Do Not Reject H0 0 t ta = 1.669 0

  38. PRACTICE  UNKnown

  39. 9.28

  40. 9.30 (C.L. = 95%)

More Related