| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
VAR-1 | VAR-1.H |
|
Inference for Categorical Data: Proportions
AP Statistics · Topic 6
6.1
Why Be Normal?
Syllabus
Source: College Board AP Course and Exam Description
Because a sample proportion $\hat{p}$ is approximately normally distributed (when the conditions hold), we can measure how far a sample result is from a claimed value in standard errors, and turn that into a probability. This is what makes inference 推断 – drawing conclusions about a population from a sample – possible.
| English | Chinese | Pinyin |
|---|---|---|
| inference | 推断 | tuī duàn |
6.2
Confidence Interval for a Proportion
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
UNC-4 | UNC-4.A |
|
UNC-4.B |
| |
UNC-4.C |
| |
UNC-4.D |
| |
UNC-4.E |
|
Source: College Board AP Course and Exam Description
A confidence interval 置信区间 estimates the parameter as a range: statistic $\pm$ margin of error 误差幅度.
Over many samples, about 95% of 95% confidence intervals capture the true proportion
Worked example. In a random sample of $200$ people, $120$ support a policy, so $\hat{p}=0.60$. A $95\%$ interval uses $z^*=1.96$:
A 95% confidence interval reaches 1.96 standard errors each side of the estimate
Choosing the sample size. To keep the margin of error no larger than a target $m$, set $z^{*}\sqrt{\dfrac{\hat p(1-\hat p)}{n}}\le m$ and solve for $n$. When you have no estimate of $\hat p$, use $\hat p=0.5$: it makes $\hat p(1-\hat p)$ as large as possible, giving the safe (largest) required sample size. Always round the result up to the next whole person.
Worked example. How many people must you survey for a $95\%$ interval with margin of error at most $0.03$? Using $\hat p=0.5$ and $z^*=1.96$:
| English | Chinese | Pinyin |
|---|---|---|
| confidence interval | 置信区间 | zhì xìn qū jiān |
| margin of error | 误差幅度 | wù chā fú dù |
| confidence level | 置信水平 | zhì xìn shuǐ píng |
6.3
Justifying a Claim from an Interval
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
UNC-4 | UNC-4.F |
|
UNC-4.G |
| |
UNC-4.H |
|
Source: College Board AP Course and Exam Description
To judge a claimed value: if it lies inside the interval, the data are consistent with it; if it lies outside, the data give evidence against it. Base the conclusion on whether the plausible values include the claim, in context.
6.4
Setting Up a Test for a Proportion
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
VAR-6 | VAR-6.D |
|
VAR-6.E |
| |
VAR-6.F |
|
Source: College Board AP Course and Exam Description
A significance test 显著性检验 weighs evidence against a claim. State a null hypothesis 原假设 $H_0$ and an alternative hypothesis 备择假设 $H_a$ about the parameter $p$:
Worked example. A company claims $90\%$ satisfaction ($p_0=0.90$); a sample of $100$ finds $84$ satisfied ($\hat{p}=0.84$). Test $H_0:p=0.90$ vs $H_a:p\neq0.90$ at $\alpha=0.05$:
A two-tailed 5% test rejects the null hypothesis in the shaded tails
| English | Chinese | Pinyin |
|---|---|---|
| significance test | 显著性检验 | xiǎn zhù xìng jiǎn yàn |
| null hypothesis | 原假设 | yuán jiǎ shè |
| alternative hypothesis | 备择假设 | bèi zé jiǎ shè |
| test statistic | 检验统计量 | jiǎn yàn tǒng jì liàng |
6.5
Interpreting p-Values
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
VAR-6 | VAR-6.G |
|
DAT-3 | DAT-3.A |
|
Source: College Board AP Course and Exam Description
The $p$-value P值 is the probability of getting a sample result as extreme or more extreme than the observed one, assuming $H_0$ is true. A small $p$-value means the data would be surprising if $H_0$ held – evidence against $H_0$. It is not the probability that $H_0$ is true.
A p-value as a tail area
A p-value is the probability, if the null hypothesis were true, of a result at least this extreme — the shaded tail area. Small p-values cast doubt on the null.
| English | Chinese | Pinyin |
|---|---|---|
| p-value | P值 | P zhí |
6.6
Concluding a Test
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
DAT-3 | DAT-3.B |
|
Source: College Board AP Course and Exam Description
Compare the $p$-value to the significance level 显著性水平 $\alpha$ (often $0.05$):
- $p\le\alpha$: reject $H_0$ – there is convincing evidence for $H_a$.
- $p>\alpha$: fail to reject $H_0$ – not enough evidence for $H_a$ (never "accept $H_0$").
Always write the conclusion in context, linking back to the claim.
| English | Chinese | Pinyin |
|---|---|---|
| significance level | 显著性水平 | xiǎn zhù xìng shuǐ píng |
6.7
Type I and Type II Errors
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
UNC-5 | UNC-5.A |
|
UNC-5.B |
| |
UNC-5.C |
| |
UNC-5.D |
|
Source: College Board AP Course and Exam Description
- A Type I error 第一类错误: rejecting a true $H_0$ (a false alarm). Its probability is $\alpha$.
- A Type II error 第二类错误: failing to reject a false $H_0$ (a missed detection). Its probability is $\beta$.
- The power 检验效能 $=1-\beta$ is the chance of correctly detecting a real effect. Power rises with a larger sample, a larger effect, or a larger $\alpha$.
Describe each error and its consequence in the problem's context.
Two ways a test can be wrong
A Type I error rejects a true null (false alarm); a Type II error keeps a false null (a miss). Lowering one usually raises the other.
| English | Chinese | Pinyin |
|---|---|---|
| Type I error | 第一类错误 | dì yī lèi cuò wù |
| Type II error | 第二类错误 | dì èr lèi cuò wù |
| power | 检验效能 | jiǎn yàn xiào néng |
6.8
Confidence Interval for a Difference of Proportions
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
UNC-4 | UNC-4.I |
|
UNC-4.J |
| |
UNC-4.K |
| |
UNC-4.L |
|
Source: College Board AP Course and Exam Description
To compare two proportions, estimate $p_1-p_2$:
6.9
Justifying a Claim About Two Proportions
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
UNC-4 | UNC-4.M |
|
UNC-4.N |
|
Source: College Board AP Course and Exam Description
If the interval for $p_1-p_2$ contains $0$, the data are consistent with no difference; if it lies entirely above or below $0$, there is evidence of a difference (in that direction). State the direction and context.
6.10
Setting Up a Test for a Difference
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
VAR-6 | VAR-6.H |
|
VAR-6.I |
| |
VAR-6.J |
|
Source: College Board AP Course and Exam Description
Hypotheses compare the two proportions: $H_0: p_1=p_2$ versus $H_a: p_1\neq p_2$ (or $<,>$). Because $H_0$ says the proportions are equal, use a combined (pooled) 合并 sample proportion $\hat p_c=\dfrac{\text{total successes}}{\text{total sample size}}$ to estimate the common $p$.
| English | Chinese | Pinyin |
|---|---|---|
| combined (pooled) | 合并 | hé bìng |
6.11
Carrying Out a Test for a Difference
Syllabus
| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
VAR-6 | VAR-6.K |
|
DAT-3 | DAT-3.C |
|
DAT-3.D |
|
Source: College Board AP Course and Exam Description
The pooled two-proportion $z$ statistic:
6.11
Exam tips
- State the conditions (random, 10%, large counts $np,\,nq\ge10$) before any proportion inference.
- A confidence interval = estimate $\pm$ margin of error; "95% confident" refers to the method's long-run capture rate.
- For a test, write $H_0$ and $H_a$, compute the test statistic, find the p-value, and compare to $\alpha$.
- A small p-value is evidence against $H_0$; failing to reject does not prove $H_0$.
- Larger samples shrink the margin of error; a higher confidence level widens it.