Presentation is loading. Please wait.

Presentation is loading. Please wait.

Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion.

Similar presentations


Presentation on theme: "Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion."— Presentation transcript:

1 Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion

2 Test Statistic – is the function of sample data on which a conclusion to reject or fail to reject H 0 is based. P-value – (also sometimes called the observed significance level) is a measure of inconsistency between the hypothesized value for a population characteristic and the observed sample. It is the probability, assuming that H 0 is true, of obtaining a test statistic value at least as inconsistent with H 0 as what actually resulted.

3 Example A number of initiatives on the topic of legalized gambling have appeared on state ballots in recent years. Suppose that a political candidate has decided to support legalization of casino gambling if he is convinced that more than two-thirds of U.S. adults approve of casino gambling. USA Today reported the results of a Gallup poll in which 1523 adults (selected at random) were asked whether they approved of casino gambling. The number in the sample who approved was 1035. Does the sample provide convincing evidence that more than two-thirds approve?

4 π = true proportion of U.S. adults who approve of casino gambling H 0 : π = 2/3 =.667 H a : π >.667

5 The probability that a z value at least this inconsistent with H 0 would be observed if in fact H 0 is true is

6 A decision as to whether H 0 should be rejected results from comparing the P- value to the chosen α: H 0 should be rejected if P-value ≤ α H 0 should not be rejected if P-value >α

7 Determination of the P-Value When the Test Statistic is z 1.Upper-Tailed test: H a : π > hypothesized value p-value computes as illustrated:

8 Determination of the P-Value When the Test Statistic is z 2. Lower-tailed test: H a : π < hypothesized value P-value computes as illustrated:

9 Determination of the P-Value When the Test Statistic is z 3. Two-tailed test: H a : π ≠ hypothesized value P-value computed as illustrated:

10 Example In December 2003 a countrywide water conservation campaign was conducted in a particular county. In January 2004 a random sample of 500 homes was selected, and water usage was recorded for each home in the sample. The county supervisors want to know whether the data support the claim that fewer than half the house-holds in the county reduced water consumption.

11 H 0 : π =.5 versus H a : π <.5 Where π is the true proportion of households in the county with reduced water usage.

12 Suppose that the sample results were n = 500 and p =.440. Because the sample size is large and this is a lower-tailed test, we can compute the P-value by first calculating the value of the z test statistic Then find the area under the z curve to the left of this z. The p-value is then equal to the area under the z curve and to the left of -2.68. From the table we find that the P-value =.0037

13 We reject H 0 because.0037 ≤.01, suggesting that the proportion with reduced water usage was less than.5.

14 Summary of Large-Sample z test for π Hypothesis: H 0 : π = hypothesized value

15 Alternate Hypothesis: H a : π > hypothesized value H a : π < hypothesized value H a : π ≠ hypothesized value P-Value: Area under z curve to right of calculated z Area under z curve to left of calculated z (1)2(area to right of z) if z is positive, or (2)2(area to left of z) if z is negative

16 Assumptions: 1.p is the sample proportion from a random sample 2.The sample size is large. This test can be used if n satisfies both. 3.If sampling is without replacement, the sample size is no more than 10% of the population size.

17 Steps in a Hypothesis-Testing Analysis 1.Describe the population characteristic about which hypotheses are to be tested. 2.State the null hypothesis H 0. 3.State the alternative hypothesis H a. 4.Select the significance level α for the test. 5.Display the test statistic to be used, with substitution of the hypothesized value identified in Step 2 but without any computation at this point.

18 Steps continued… 6. Check to make sure that any assumptions required for the test are reasonable. 7. Compute all quantities appearing in the test statistic and then the value of the test statistic itself. 8. Determine the P-value associated with the observed value of the test statistic. 9. State the conclusion (which is to reject H 0 if P- value ≤ α and not to reject H 0 otherwise). The conclusion should then be stated in the context of the problem, and the level of significance should be included.

19 Steps 1-4 constitute a statement of the problem. Steps 5-8 give the analysis that leads to a decision. Step 9 provides the conclusion.

20 Example An article described a study of credit card payment practices of college students. According to the authors of the article, the credit card industry asserts that at most 50% of college students carry a credit card balance from month to month. However, the authors of the article report that, in a random sample of 310 college students, 217 carried a balance each month. Does this sample provide sufficient evidence to reject the industry claim? We answer this question by carrying out a hypothesis test using a.05 significance level.

21 1.Population characteristic of interest: π = true proportion of college students who carry a balance from month to month 2.Null Hypothesis: H 0 : π =.5 3.Alternative hypothesis: H a : π >.5 4.Significance level: α =.05

22 5. Test Statistic: 6. Assumptions: This test requires a random sample and a large sample size. The given sample was a random sample with n = 310. Because 310(.5) ≥ 10 and 310(1 -.5) ≥ 10, the large- sample test is appropriate. The sample size is small compared to the population (college students) size. 7. Computations: n = 310 and p = 217/310 =.700, so

23 8. P-value: This is an upper-tailed test (the inequality in Ha is “greater than”), so the P-value is the area to the right of the computed z value. Because z = 7.14 is so far out in the upper tail of the standard normal distribution, the area to its right is negligible. Thus P-value ≈ 0. 9. Conclusion: Because P-value ≤ α(0 ≤.05), H 0 is rejected at the.05 level of significance.

24 We conclude that the proportion of students who carry a credit card balance from month to month is greater than.5. That is, the sample provides convincing evidence that the industry claim is not correct.

25 Example: Let’s Do Together The Public Policy Institute of California reported that 71% of people nationwide prefer to live in a single-family home. To determine whether the preferences of Californians are consistent with this nationwide figure, a random sample of 2002 Californians were interviewed. Of those interviewed, 1682 said that they consider a single-family home the ideal. Can we reasonably conclude that the proportion of Californians who prefer a single-family home is different from the national figure? We answer the question by carrying out a hypothesis test with α =.01.

26 1.π = proportion of all Californians who prefer a single- family home 2.H 0 : π =.71 3.H a : π ≠.71 (differs from proportion) 4.Significance Level: α =.01 5.Test Statistic:

27 6.Assumptions: This test requires a random sample and a large sample size. The given sample was a random, the population size is much larger than the sample size, and the sample size was n = 2002. Because 2002(.71) ≥ 10 and 2002(.29) ≥ 10, the large-sample test is appropriate. 7.Computations: p = 1682/2002 =.84

28 8. P-value: The area under the z curve to the right of 12.87 is approximately 0, so P- value ≈ 2(0) = 0. 9. Conclusion: At significance level.01, we reject H 0 because P-value ≈ 0 <.01 = α. The data provide convincing evidence that the proportion in California who prefer a single-family home differs from the nationwide proportion.


Download ppt "Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion."

Similar presentations


Ads by Google