Significance Tests for Proportions

AP Statistics · Unit 3 — Inference for Categorical Data: Proportions

The four-step template

  1. State $H_0$ and $H_a$ with symbols and in context, defining the parameter.
  2. Plan — name the test and check conditions. For a one-sample $z$-test the success/failure check uses $p_0$, the null value.
  3. Do — compute the test statistic and the P-value:
$$z=\frac{\hat p-p_0}{\sqrt{\frac{p_0(1-p_0)}{n}}}$$
  1. Conclude — compare P-value to $\alpha$, then write a conclusion in context.

What a P-value is

The probability of getting a result at least as extreme as the one observed, assuming $H_0$ is true. Small P-value $\Rightarrow$ the data would be surprising under $H_0$.

You never "accept" $H_0$; you fail to reject it.

Worked example: testing a single proportion

A manufacturer claims $90\%$ of its products meet the standard. Checking $200$ products, $170$ pass. Test at $\alpha=0.05$.

Solution

State: $p$ is the proportion of products meeting the standard across the whole production line. $H_0:p=0.90$; $H_a:p<0.90$.

Check conditions: random sample; $np_0=200(0.9)=180\ge10$ and $n(1-p_0)=20\ge10$ ✓.

Calculate: $\hat p=\frac{170}{200}=0.85$.

$$z=\frac{0.85-0.90}{\sqrt{\frac{0.9\times0.1}{200}}}=\frac{-0.05}{0.0212}\approx-2.36$$

$P=P(z<-2.36)\approx0.009$.

Conclusion: $0.009<0.05$ ⇒ reject $H_0$. There is convincing evidence that the proportion meeting the standard is lower than the $90\%$ the manufacturer claims.

Common mistake

The $P$-value is not “the probability that $H_0$ is true”. It is the probability of the data given that $H_0$ is true — reversing the two sides is wrong in essence, and the AP rubric deducts points directly.

Key takeaway

Four steps, with context in the first and last. Small $P$ ⇒ reject. Never “accept $H_0$”.

← Margin of Error and Sample Size · All AP Statistics lessons · Practice AP Statistics questions (free, instant scoring) · Type I and Type II Errors, and Power →