HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students...

10
HYPOTHESIS TESTS VS CONFIDENCE INTERVALS

Transcript of HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students...

Page 1: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

HYPOTHESIS TESTS VS CONFIDENCE INTERVALS

Page 2: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether this national result holds true in her large urban high school. For her AP Stats class project, Mary surveys a SRS of 150 students from her school. She gets responses from all 150 students, and 90 say that they have never smoked a cigarette. What should Mary conclude? Use a 5% significance level.

Page 3: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders what the percentage is in her large urban high school. For her AP Stats class project, Mary surveys a SRS of 150 students from her school. She gets responses from all 150 students, and 90 say that they have never smoked a cigarette. Construct a 95% confidence interval to estimate the proportion of students in Mary’s school who have never smoked.

Page 4: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

Two Tailed Test with a 5% significance level is similar to a 95% confidence level, but what is different?

Page 5: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

What makes them Different?• In the Hypothesis Test you are testing the hypotheses:

• If you reject the null hypothesis, all you know is that the proportion who smoke is not 50%.

• The confidence interval is much more informative. We get possible values of the proportion who smoke and we can tell that 50% is not likely.

{𝑯 𝒐 :𝒑=𝟎.𝟓𝑯 𝑨 :𝒑≠𝟎 .𝟓

Page 6: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

Minitab Printout

Test and CI for One Proportion

Test of p = 0.5 vs p not = 0.5

Sample x N Sample p 95% CI z-Value P-Value

1 90 150 0.6 (0.521601, 0.678399) 2.45 0.014

Page 7: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

The 95% interval gives an approximate range of po’s that would not be rejected by a two-sided test at the 5% significance level.

• The link is not perfect because the standard error used for the confidence interval is based on the sample proportions while the denominator of the test statistic is based on the population proportion.

Test Statistic Confidence Interval

𝑧=�̂�−𝑝𝑜

√𝑝𝑜(1−𝑝𝑜)𝑛

�̂� ±𝑧 √ �̂� (1−�̂�)𝑛

Page 8: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

According to the National Institute for Occupational Safety and Health, job stress poses a major threat to the health of workers. In a national survey of restaurant employees, 75% said that work stress had a negative impact on their personal lives. Managers of a large restaurant chain wonder whether this national result holds for their employees. A random sample of 100 employees finds that 68 answer “Yes” when asked, “Does work stree have a negative impact on your personal life?” Is this a good reason to think that the proportions of all employees in this chain who would say “Yes” differs from the national proportion of 0.75?

Page 9: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

The figure below shows Minitab output from a significance test and confidence interval for the restaurant worker data on the previous slide. Explain how the confidence interval is consistent with, but gives more information that the test.

Test and CI for One Proportion

Test of p = 0.75 vs p not = 0.75

Sample x N Sample p 95% CI z-Value P-Value

1 68 100 0.68 (0.588572, 0.771428) -1.62 0.106

Page 10: HYPOTHESIS TESTS VS CONFIDENCE INTERVALS. According to the CDC Web site, 50% of high school students have never smoked a cigarette. Mary wonders whether.

Homework• p. 587 (64-74)even (79-83)