# section 10.3: large-sample hypothesis tests for a population proportion

Post on 04-Jan-2016

215 views

Embed Size (px)

TRANSCRIPT

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

Test Statistic is the function of sample data on which a conclusion to reject or fail to reject H0 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 H0 is true, of obtaining a test statistic value at least as inconsistent with H0 as what actually resulted.

ExampleA 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?

= true proportion of U.S. adults who approve of casino gamblingH0: = 2/3 = .667Ha: > .667

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

A decision as to whether H0 should be rejected results from comparing the P-value to the chosen :H0 should be rejected if P-value H0 should not be rejected if P-value >

Determination of the P-Value When the Test Statistic is zUpper-Tailed test:Ha: > hypothesized valuep-value computes as illustrated:

Determination of the P-Value When the Test Statistic is z2. Lower-tailed test:Ha: < hypothesized valueP-value computes as illustrated:

Determination of the P-Value When the Test Statistic is z3. Two-tailed test:Ha: hypothesized valueP-value computed as illustrated:

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

H0: = .5 versus Ha: < .5Where is the true proportion of households in the county with reduced water usage.

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 statisticThen 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

We reject H0 because .0037 .01, suggesting that the proportion with reduced water usage was less than .5.

Summary of Large-Sample z test for

Hypothesis: H0: = hypothesized value

Alternate Hypothesis:Ha: > hypothesized valueHa: < hypothesized valueHa: hypothesized valueP-Value:Area under z curve to right of calculated zArea under z curve to left of calculated z2(area to right of z) if z is positive, or2(area to left of z) if z is negative

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

Steps in a Hypothesis-Testing AnalysisDescribe the population characteristic about which hypotheses are to be tested.State the null hypothesis H0.State the alternative hypothesis Ha.Select the significance level for the test.Display the test statistic to be used, with substitution of the hypothesized value identified in Step 2 but without any computation at this point.

Steps continued6. 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 H0 if P-value and not to reject H0 otherwise). The conclusion should then be stated in the context of the problem, and the level of significance should be included.

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.

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

Population characteristic of interest: = true proportion of college students who carry a balance from month to monthNull Hypothesis: H0: = .5Alternative hypothesis: Ha: > .5Significance level: = .05

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

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), H0 is rejected at the .05 level of significance.

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.

Example: Lets Do TogetherThe 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.

= proportion of all Californians who prefer a single-family homeH0: = .71Ha: .71 (differs from proportion)Significance Level: = .01Test Statistic:

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.Computations: p = 1682/2002 = .84

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

Recommended