1 / 33

How much sleep did you get last night?

How much sleep did you get last night?. <6 6 7 8 9 >9. Chapters 17. Testing Hypotheses and Confidence Intervals. 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.

nicki
Download Presentation

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 17 Testing Hypotheses and Confidence Intervals

  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: pProgram=0.18Ha: pProgram>0.18 • Ho: pProgram=0.18Ha: pProgram<0.18 • Ho: pProgram=0.18Ha: pProgram≠0.18 • Ho: pProgram=0.20Ha: pProgram>0.20 • Ho: pProgram=0.20Ha: pProgram<0.20 • Ho: pProgram=0.20Ha: pProgram≠0.20

  10. Does the program work? Test significance level at 0.05 • 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: pregion = 0.1167 HA: pregion > 0.1167 • H0: pregion = 0.1167 HA: pregion < 0.1167 • H0: pregion = 0.1167 HA: pregion ≠ 0.1167 • H0: pregion = 0.1917 HA: pregion > 0.1917 • H0: pregion = 0.1917 HA: pregion < 0.1917 • H0: pregion = 0.1917 HA: pregion ≠ 0.1917

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

  14. What is our p-value? • 0.9999 • 0.0001 • 3.622 • 0.1917

  15. 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

  16. 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.

  17. 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

  18. 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.

  19. 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.

  20. 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.

  21. 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

  22. 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

  23. 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 • α= .001  CI = 99.9% z*=3.29

  24. 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

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

  26. 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

  27. 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)

  28. 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:

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

  30. 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. • Assume • Ho: p=0.4 • Ha: p>0.4

  31. 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

  32. 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?

  33. Upcoming work • HW #9 due Sunday • Part 3 of Data Project due Monday • Quiz #5 in class next Wednesday

More Related