7.4 hypothesis testing for proportions statistics mrs. spitz spring 2009

21
7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Upload: mae-elliott

Post on 18-Dec-2015

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

7.4 Hypothesis Testing for Proportions

StatisticsMrs. Spitz

Spring 2009

Page 2: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Objectives/Assignment

How to use a z-test to test a population proportion, p.

Assignment: pp. 344-345 #1-16 all

Page 3: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Hypothesis Test for Proportions

In this section, you will learn how to test a population proportion, p. If np ≥ 5 and nq ≥ 5 for a binomial distribution, then the sampling distribution for is normal with and

p̂pp ˆ npqp /ˆ

Page 4: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

WRITE THIS DOWN!!!

Page 5: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009
Page 6: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Ex. 1: Hypothesis Test for a Proportion

A medical researcher claims that less than 20% of American adults are allergic to a medication. In a random sample of 100 adults, 15% say they have such an allergy. Test the researcher’s claim at = 0.01.

Page 7: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION The products np = 100(0.20)= 20

and nq = 100(0.80) = 80 are both greater than 5. So, you can use the z-test. The claim is “less than 20% are allergic to a medication.” So the null and alternative hypothesis are:

Ho: p ≥ 0.2 and Ha: p < 0.2 (Claim)

Page 8: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Solution continued . . . Because the test is a left-tailed test and the level

of significance is = 0.01, the critical value is zo = -2.33 and the rejection region is z < -2.33. Using the z-test, the standardized test statistic is:

25.1

100)80.0)(20.0(

20.015.0ˆ

npq

ppz

Page 9: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION Continued . . . The graph shows the

location of the rejection region and the standardized test statistic, z. Because z is not in the rejection region, you should decide not to reject the null hypothesis. In other words, there is not enough evidence to support the claim that less than 20% of Americans are allergic to the medication.

Page 10: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Study Tip:

Remember that when you fail to reject Ho, a type II error is possible. For instance, in Example 1, the null hypothesis, p ≥ 0.20, may be false.

Page 11: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Ex. 2 Hypothesis Test for a Proportion Harper’s Index claims that 23% of

Americans are in favor outlawing cigarettes. You decide to test this claim and ask a random sample of 200 Americas whether they are in favor outlawing cigarettes. Of the 200 Americans, 27% are in favor. At = 0.05, is there enough evidence to reject the claim?

Page 12: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION: The products np = 200(0.23) = 45

and nq = 200(0.77) = 154 are both greater than 5. So you can use a z-test. The claim is “23% of Americans are in favor of outlawing cigarettes.” So, the null and alternative hypotheses are:

Ho: p = 0.23 (Claim) and Ha: p 0.23

Page 13: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION continued . . .

Because the test is a two-tailed test, and the level of significance is = 0.05, the critical values are –zo = -1.96 and zo = 1.96. The rejection regions are

z < -1.96 and z > 1.96

Page 14: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION continued . . .

Using the z-test, the standardized test statistic is:

34.1

200)77.0)(23.0(

23.027.0ˆ

npq

ppz

Page 15: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION Continued . . . The graph shows the

location of the rejection regions and the standardized test statistic, z.

Because z is not in the rejection region, you should fail to reject the null hypothesis. At the 5% level of significance, there is not enough evidence to reject the claim that 23% of Americans are in favor of outlawing cigarettes.

Page 16: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Ex. 3 Hypothesis Test a Proportion The Pew Research Center claims that

more than 55% of American adults regularly watch a network news broadcast. You decide to test this claim and ask a random sample of 425 Americans whether they regularly watch a network news broadcast. Of the 425 Americans, 255 responded yes. At = 0.05, is there enough evidence to support the claim?

Page 17: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION: The products np = 425(0.55) = 235 and

nq = 425(0.45) = 191 are both greater than 5. So you can use a z-test. The claim is “more than 55% of Americans watch a network news broadcast.” So, the null and alternative hypotheses are:

Ho: p 0.55 and Ha: p > 0.55 (Claim)

Page 18: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION continued . . .

Because the test is a right-tailed test, and the level of significance is = 0.05, the critical value is zo = 1.645 and the rejection region is z > 1.645.

Page 19: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION continued . . .

Using the z-test, the standardized test statistic is:

07.2

425)45.0)(55.0(

55.0425255

ˆ

npq

pnx

npq

ppz

REMEMBER P-hat is equal to x/n.

Page 20: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

SOLUTION Continued . . . The graph shows the

location of the rejection region and the standardized test statistic, z. Because z is in the rejection region, you should decide to There is enough evidence at the 5% level of significance, to support the claim that 55% of American adults regularly watch a network news broadcast.

Page 21: 7.4 Hypothesis Testing for Proportions Statistics Mrs. Spitz Spring 2009

Upcoming dates: Today and tomorrow – 7.4—Check in 7.3

for all others who did not get it done yesterday!

Thursday/Friday – 7.5 Hypothesis Testing for the Variance and Standard Deviation

Monday – No School – President’s Day Tuesday/Wednesday—Chapter 7 Review

pp. 361-364 #1-46 – Very long so we are taking the extra day for this.

Thursday – Chapter 7 Exam/Binder Check