All AP Courses AP StatisticsAP Stats

Practice

Significance tests for a proportion

Test statistic and p-value for a one-proportion z-test, and what they mean in context.

The skill

A one-sample z-test for a proportion measures how far p^ landed from the null value p0, in standard deviations of the null distribution: z=p^−p0p0(1−p0)n. The standard deviation uses p0, not p^, because the test is worked out in the world where H0 is true. The p-value is the area beyond z in the direction of Ha; for ≠, double the tail. Compare it to α, then conclude in context about the population.

A worked example

A counselor wants to know whether the proportion differs from one half. In a random sample of 200 students at a large high school, 112 eat breakfast every school day.

For the test of H₀: p = 0.50 against Hₐ: p ≠ 0.50, find the p-value. Round to four decimal places.

Solution

  1. p^=112200≈0.5600. Normality condition, using the null value: np₀ = 100.0 and n(1 − p₀) = 100.0, both at least 10.
  2. z=p^−p0p0(1−p0)n≈1.70. The standard error uses p₀, not p̂, because the test assumes H₀ is true.
  3. p-value = twice the tail area beyond |z| ≈ 0.0897.

Answer: 0.0897

Your turn

Lessons behind these problems