Bright Sprouts AcademyColumbia & Imperial educators

AP Statistics · Topic notes

Inference for Categorical Data: Proportions

Key ideas, common mistakes, and a worked example for Inference for Categorical Data: Proportions in AP Statistics.

Practice Inference for Categorical Data: Proportions

9 untimed questions from the free practice test.

Exam weighting: 15–25%

This unit uses the sampling distribution of a sample proportion to build confidence intervals and significance tests for one proportion and for a difference of two proportions, then extends to chi-square tests for categorical data. Every procedure needs a parameter, conditions, a calculation, and a conclusion in context.

Key ideas

  • The sampling distribution of p^\hat{p} has mean pp and standard deviation p(1−p)/n\sqrt{p(1 - p)/n}. It is approximately normal when np≥10np \ge 10 and n(1−p)≥10n(1 - p) \ge 10, and the 10% condition (n≤0.10Nn \le 0.10N) supports independence when sampling without replacement.
  • A confidence interval is statistic ± (critical value)(standard error). Larger samples give narrower intervals, and multiplying the sample size by 4 cuts the margin of error in half.
  • In a test for one proportion, the standard error uses the null value p0p_0. A p-value is the probability, assuming H0H_0 is true, of a result at least as extreme as the one observed.
  • A Type I error rejects a true null hypothesis, and a Type II error fails to reject a false one. Describe each in context, with its consequence.
  • A chi-square test for homogeneity compares the distribution of one categorical variable across several samples or treatments. A chi-square test of independence looks for an association between two categorical variables in one sample. For both, expected count = row total × column total ÷ table total, and df=(r−1)(c−1)df = (r - 1)(c - 1).

Common mistakes

  • Writing hypotheses about p^\hat{p} instead of pp.
  • Saying there is a 95% probability that the parameter is in an interval that has already been computed.
  • Using p^\hat{p} in the standard error for a significance test, or doubling the p-value when the alternative is one-sided.
  • Choosing a test of independence when the data come from separate samples, which calls for a test for homogeneity.

Worked example

A random sample of 250 customers of an online store found that 45 had left a product review. Construct a 90% confidence interval for the proportion of all the store's customers who leave a review.

Solution

The sample proportion is p^=45/250=0.18\hat{p} = 45/250 = 0.18. The sample is random, 45 and 205 are both at least 10, and 250 is less than 10% of all customers.

0.18±1.6450.18(0.82)250=0.18±1.645(0.0243)=0.18±0.0400.18 \pm 1.645\sqrt{\frac{0.18(0.82)}{250}} = 0.18 \pm 1.645(0.0243) = 0.18 \pm 0.040

We are 90% confident that the interval from 0.140 to 0.220 captures the proportion of all the store's customers who leave a review.

Stuck on Inference for Categorical Data: Proportions?

A tutor can find the gap in one session. Book a free consultation.

Every question on this site is original and written by Bright Sprouts Academy. AP, Advanced Placement, SAT, and PSAT/NMSQT are registered trademarks of College Board, which is not affiliated with and does not endorse this site. PSAT/NMSQT is also a trademark jointly owned by College Board and National Merit Scholarship Corporation.

Last updated . Exam board and university requirements change, so always check the official specification and admissions pages.