Tests for Proportions

Perform one-sample and two-sample z-tests for proportions.

🎯⭐ INTERACTIVE LESSON

Try the Interactive Version!

Learn step-by-step with practice exercises built right in.

Start Interactive Lesson →

Significance Tests for Proportions

One-Sample z-Test for pp

Hypotheses:

  • H0:p=p0H_0: p = p_0
  • Ha:pp0H_a: p \neq p_0 (or >> or <<)

Test Statistic: z=p^p0p0(1p0)nz = \frac{\hat{p} - p_0}{\sqrt{\frac{p_0(1-p_0)}{n}}}

Note: We use p0p_0 (not p^\hat{p}) in the standard error because we assume H0H_0 is true.

Conditions:

  1. Random sample or randomized experiment
  2. 10% Condition: n<0.10Nn < 0.10N
  3. Large Counts: np010np_0 \geq 10 and n(1p0)10n(1-p_0) \geq 10

Two-Sample z-Test for p1p2p_1 - p_2

Hypotheses:

  • H0:p1=p2H_0: p_1 = p_2 (equivalently, p1p2=0p_1 - p_2 = 0)
  • Ha:p1p2H_a: p_1 \neq p_2 (or >> or <<)

Pooled Proportion (used because H0H_0 assumes p1=p2p_1 = p_2): p^c=x1+x2n1+n2\hat{p}_c = \frac{x_1 + x_2}{n_1 + n_2}

Test Statistic: z=(p^1p^2)0p^c(1p^c)(1n1+1n2)z = \frac{(\hat{p}_1 - \hat{p}_2) - 0}{\sqrt{\hat{p}_c(1-\hat{p}_c)\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}}

Conditions (check for BOTH samples):

  1. Random: Both samples are random/independent
  2. 10%: n1<0.10N1n_1 < 0.10N_1 and n2<0.10N2n_2 < 0.10N_2
  3. Large Counts: n1p^c10n_1\hat{p}_c \geq 10, n1(1p^c)10n_1(1-\hat{p}_c) \geq 10, n2p^c10n_2\hat{p}_c \geq 10, n2(1p^c)10n_2(1-\hat{p}_c) \geq 10

Finding the P-Value

  • Right-tailed (Ha:p>p0H_a: p > p_0): P(Z>z)P(Z > z)
  • Left-tailed (Ha:p<p0H_a: p < p_0): P(Z<z)P(Z < z)
  • Two-tailed (Ha:pp0H_a: p \neq p_0): 2P(Z>z)2 \cdot P(Z > |z|)

Two-Sample z-Interval for p1p2p_1 - p_2

(p^1p^2)±zp^1(1p^1)n1+p^2(1p^2)n2( \hat{p}_1 - \hat{p}_2 ) \pm z^* \sqrt{\frac{\hat{p}_1(1-\hat{p}_1)}{n_1} + \frac{\hat{p}_2(1-\hat{p}_2)}{n_2}}

Note: For the CI, we do NOT pool — we use each sample's p^\hat{p}.

AP Tip: For tests, use the pooled proportion p^c\hat{p}_c. For confidence intervals, use the individual sample proportions. This is a common source of errors.

📚 Practice Problems

No example problems available yet.