Inference for Means & Proportions

AP Statistics guide to inference procedures: one-sample and two-sample tests and intervals for means and proportions, paired t-tests.

# Inference for Means & Proportions — AP Statistics

This topic consolidates the main inference procedures tested on AP Statistics: one-sample and two-sample tests and confidence intervals for both means and proportions, plus the paired t-test.

Key Procedures

One-Sample z-Test/CI for Proportion

  • Test: z=p^p0p0(1p0)/nz = \frac{\hat{p} - p_0}{\sqrt{p_0(1-p_0)/n}}
  • CI: p^±zp^(1p^)/n\hat{p} \pm z^*\sqrt{\hat{p}(1-\hat{p})/n}
  • Conditions: random, Large Counts (np10np \geq 10, n(1p)10n(1-p) \geq 10), 10% rule.

One-Sample t-Test/CI for Mean

  • Test: t=xˉμ0s/nt = \frac{\bar{x} - \mu_0}{s/\sqrt{n}}, df=n1df = n-1.
  • CI: xˉ±ts/n\bar{x} \pm t^* \cdot s/\sqrt{n}
  • Conditions: random, Normal/Large Sample (n30n \geq 30 or no strong skew), 10% rule.

Two-Sample z-Test for Proportions

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)}} where p^c=(X1+X2)/(n1+n2)\hat{p}_c = (X_1+X_2)/(n_1+n_2) is the pooled proportion.

Two-Sample t-Test for Means

t=(xˉ1xˉ2)0s12n1+s22n2t = \frac{(\bar{x}_1 - \bar{x}_2) - 0}{\sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}} Use the conservative df=min(n11,n21)df = \min(n_1-1, n_2-1) or Welch's approximation.

Paired t-Test

When observations are naturally paired (before/after, matched subjects):

  • Compute differences di=x1ix2id_i = x_{1i} - x_{2i}.
  • Apply one-sample t-test to the differences. t=dˉ0sd/nt = \frac{\bar{d} - 0}{s_d/\sqrt{n}}

Which Test to Use?

Scenario Parameter Test
One sample, categorical pp 1-prop z
One sample, quantitative μ\mu 1-sample t
Two independent samples, categorical p1p2p_1 - p_2 2-prop z
Two independent samples, quantitative μ1μ2\mu_1 - \mu_2 2-sample t
Paired/matched data μd\mu_d Paired t

Worked Example

Problem: Men (n1=100n_1 = 100, p^1=0.45\hat{p}_1 = 0.45) and women (n2=120n_2 = 120, p^2=0.55\hat{p}_2 = 0.55). Test if proportions differ (α=0.05\alpha = 0.05).

Solution:

H0:p1=p2H_0: p_1 = p_2, Ha:p1p2H_a: p_1 \neq p_2.

p^c=(45+66)/220=111/220=0.5045\hat{p}_c = (45+66)/220 = 111/220 = 0.5045.

SE=0.5045(0.4955)(1/100+1/120)=0.5045(0.4955)(0.01833)=0.00458=0.0677SE = \sqrt{0.5045(0.4955)(1/100+1/120)} = \sqrt{0.5045(0.4955)(0.01833)} = \sqrt{0.00458} = 0.0677.

z=(0.450.55)/0.0677=1.477z = (0.45-0.55)/0.0677 = -1.477.

p-value =2(0.0698)=0.1396>0.05= 2(0.0698) = 0.1396 > 0.05. Fail to reject H0H_0.

Practice Questions

  1. 1. When should you use a paired t-test instead of a two-sample t-test?

    When the data are naturally paired (e.g., before/after measurements on the same subjects, or matched pairs).

    2. In a two-proportion z-test, why do we use the pooled proportion?

    Because under H0:p1=p2H_0: p_1 = p_2, we assume a common proportion, and the pooled estimate provides the best estimate of that common value.

    3. A 99% CI for μ\mu is (45, 55). Would you reject H0:μ=50H_0: \mu = 50 at α=0.01\alpha = 0.01?

    No — 50 is inside the interval, so we fail to reject.

Want to check your answers and get step-by-step solutions?

Get it on Google PlayDownload on the App Store

Summary

  • Choose the correct procedure based on data type and design.
  • Always state hypotheses, check conditions, compute test statistic/p-value, conclude in context.
  • Confidence intervals and hypothesis tests are two sides of the same coin.
  • Use pooled proportion for two-prop z-tests; paired t for matched data.

Ready to Ace Your AP STATISTICS statistics?

Get instant step-by-step solutions to any problem. Snap a photo and learn with Tutor AI — your personal exam prep companion.

Get it on Google PlayDownload on the App Store