1 / 32

How much sleep did you get last night?

How much sleep did you get last night?. <6 6 7 8 9 >9. Chapters 20 & 21. Testing Hypotheses About Proportions. ISU ACT Math Scores - 2012. New students on campus Averages ISU Math Score = 23.5 State of Illinois = 21.0 National = 21.1 SD =5.3 New students at ISU=5,147.

Télécharger la présentation

How much sleep did you get last night?

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. How much sleep did you get last night? • <6 • 6 • 7 • 8 • 9 • >9

  2. Chapters 20 & 21 Testing Hypotheses About Proportions

  3. ISU ACT Math Scores - 2012 • New students on campus • Averages • ISU Math Score = 23.5 • State of Illinois = 21.0 • National = 21.1 • SD =5.3 • New students at ISU=5,147

  4. Hypothesis Testing using P-value • P-value: Given the null hypothesis, the probability that we observe the sample we collected. • If p-value is small • 1) Ho is probably wrong and Ha is probably right • 2) we really do have an odd sample • Conclusion • P-value small => reject null • P-value large => fail to reject null

  5. Approaches to Hypothesis Testing • P-value vs. Alpha Level • One-sided tests (using our z-tables) • Z-score vs. Critical Z* • One-sided tests • Two-sided tests • Confidence Intervals • Two-sided tests

  6. Hypothesis Test using Z-score vs. P-value • | Z-score| > Critical Z* • Reject the null hypothesis • | Z-score| < Critical Z* • Fail to reject the null hypothesis • P-value < alpha • Reject the null hypothesis • P-value > alpha • Fail to reject the null hypothesis

  7. Here are the traditional critical values from the Normal model: Critical Values Again (cont.)

  8. The true proportion who pass the AP exam is 18%. In the AP Incentive Program, 20% of the students pass the AP exam, with 225,000 students that took the program. • The researchers believes that those in the AP Incentive Program are better than most students at passing the AP exam. • Does the program work? That is, does the program increase the likelihood of passing the AP exam.

  9. What is the appropriate hypothesis test? • Ho: p=0.18Ha: p>0.18 • Ho: p=0.18Ha: p<0.18 • Ho: p=0.18Ha: p≠0.18 • Ho: p=0.20Ha: p>0.20 • Ho: p=0.20Ha: p<0.20 • Ho: p=0.20Ha: p≠0.20

  10. Does the program work? • Yes, there is enough evidence to suggest that the program works. • Yes, there is NOT enough evidence to suggest that the program works. • No, there is enough evidence to suggest that the program works. • No, there is NOT enough evidence to suggest that the program works.

  11. Radioactive fallout from testing atomic bombs drifted across a region. There were 240 people in the region at the time. 46 died of cancer. Cancer experts estimate about 28 cancer deaths is normal for a group this size.Is the death rate for this group unusually high? What is our hypotheses?

  12. What is our hypotheses? • H0: p = 0.1167 HA: p > 0.1167 • H0: p = 0.1167 HA: p < 0.1167 • H0: p = 0.1167 HA: p ≠ 0.1167 • H0: p = 0.1917 HA: p > 0.1917 • H0: p = 0.1917 HA: p < 0.1917 • H0: p = 0.1917 HA: p ≠ 0.1917

  13. What alpha should we choose? • α= 0.10 • α= 0.05 • α= 0.01 • α= 0.001

  14. Radioactive fallout from testing atomic bombs drifted across a region. There were 240 people in the region at the time. 46 died of cancer. Cancer experts estimate about 28 cancer deaths is normal for a group this size.Is the death rate for this group unusually high? • P-value is low enough to conclude that the death rate is unusually high • P-value is too low to conclude that the death rate is unusually high • P-value is too high to conclude that the death rate is unusually high • P-value is high enough to conclude that the death rate is unusually high

  15. We concluded that the death rate was unusually high. BUT does it prove that exposure to radiation increases the risk of cancer? • No, there is not enough evidence. • Yes, there is enough evidence. • Whether the death rate by cancer is unusually high or not, the CAUSE cannot be determined.

  16. P-values and Significance Levels • Significance at 0.01 • the test is also significant at 0.05 and 0.10 • Significance at 0.05 • the test is also significant at 0.10

  17. A market researcher concluded that a more people like 4Loco significantly better than Sparks. His decision was based on alpha=0.025. Would his decision have been different under alpha=0.20 ? • Yes, he still would have rejected the null. • No, he would not have rejected the null. • Maybe, we would need to know the p-value.

  18. His decision was based on alpha=0.025. Would his decision have been different under αlpha=0.001 ? • Yes, he still would have rejected the null. • No, he would not have rejected the null. • Maybe, we would need to know the p-value.

  19. Confidence Intervals and Hypothesis Tests • Confidence intervals and hypothesis tests are built from the same calculations. • They have the same assumptions and conditions. • You can approximate a hypothesis test by examining a confidence interval.

  20. When the conditions are met, we are ready to find the confidence interval for the population proportion, p. The confidence interval is where The critical value, z*, depends on the particular confidence level, C, that you specify. One-Proportion z-Interval

  21. Confidence Intervals and Hypothesis Tests • Construct CI based on sample • If hypothesized value falls in CI, • Fail to Reject the null hypothesis • If hypothesized value is outside of the CI, • Reject the null hypothesis

  22. Critical Z* and significance level for two-sided test • α= .20  CI = 80%  z*=1.282 • α= .10  CI = 90% z*=1.645 • α= .05  CI = 95% z*=1.96 • α= .02  CI = 98%z*=2.326 • α= .01  CI = 99% z*=2.576

  23. Example • A magazine reported the results of a random telephone poll to examine what they use to measure their idea of success. • The poll survey 1085 men. • 28 said their measure of success was through work

  24. Suppose we wish to see if the fraction has fallen below the 5% mark. What does your CI indicate? • 5% is in the interval • 5% is NOT in the interval

  25. Suppose we wish to see if the fraction has fallen below the 5% mark. What does your CI indicate? • 5% is in the interval, there is strong evidence that MORE than 5% of men use work as their measure of success • 5% is in the interval, there is strong evidence that FEWER than 5% of men use work as their measure of success • 5% is NOT in the interval, there is strong evidence that MORE than 5% of men use work as their measure of success • 5% is NOT in the interval, there is strong evidence that FEWER than 5% of men use work as their measure of success

  26. Making Errors • When we perform a hypothesis test, we can make mistakes in two ways: • The null hypothesis is true, but we mistakenly reject it. (Type I error) • The null hypothesis is false, but we fail to reject it. (Type II error)

  27. Making Errors (cont.) • Which type of error is more serious depends on the situation at hand. In other words, the gravity of the error is context dependent. • Here’s an illustration of the four situations in a hypothesis test:

  28. Power of the Test • The probability that it correctly rejects a false null hypothesis.

  29. A basketball player with a poor foul-shot record practices intensively during the off-season. • He claims he improved his proficiency from 40% to 50%. • Skeptical, the coach ask him to take 10 shots, and is surprised that he makes 9 out of 10. • If the shooter is still a 40% shooter, what the probability he could hit 9 out of 10?

  30. If the shooter has not improved from 40%, but still manages to make 9 of 10, then the coach will think he has improved.What type of error is the coach making? • Type I – reject null even though it is true • Type II – fail to reject null even though it is false

  31. If the player really can hit 50%, and it takes at least 9 out of 10 successful shots to convince the coach. • What’s the power of the test? • Assume • Ho: p=0.4 • Ha: p>0.4

  32. Upcoming work • HW #9 due Sunday • Part 3 of Data Project due April 2nd • Quiz #5 in class next Thursday

More Related