持久理解(VAR-1): 鉴于变异可能是随机的或非随机的,结论具有不确定性。
学习目标 VAR-1.K: 识别散点图中变异所暗示的问题。[技能 1.A]
- VAR-1.K.1 数据点相对于理论直线的分布变异可能是随机的,也可能是非随机的。
7:59
定量数据的推断:斜率
这是散点图上的一个班级:底部为复习小时数,侧面为考试分数。最佳拟合线呈上升趋势。但这只是一个班级。取一个…
英文讲解 · 可切换中英文字幕
持久理解(VAR-1): 鉴于变异可能是随机的或非随机的,结论具有不确定性。
学习目标 VAR-1.K: 识别散点图中变异所暗示的问题。[技能 1.A]
来源:College Board AP 课程与考试说明
Extension: inference for regression slopes was removed from the AP Statistics exam curriculum effective 2026–27. This handout retains the earlier unit numbering. See College Board’s revisions.
Students who revise longer tend to score higher, on average, in one class's data. But a class is one sample. Would another class show the same upward slope, or could the trend be an accident of who happened to be in this one? Inference for a slope answers that, and it starts from the computer output used in regression analysis.
A sample scatterplot 散点图 gives a sample slope 样本斜率 $b$ for the least-squares regression line 最小二乘回归线 – but a different sample would give a slightly different slope. So $b$ is a statistic with sampling variability 抽样变异性, estimating the true (population) slope 总体斜率 $\beta$. This unit does inference 推断 for $\beta$: is there a real linear 线性 relationship, and how strong is it?
The model is $\mu_y=\alpha+\beta x$: for each $x$, the responses $y$ vary around a true line, normally and with the same standard deviation $\sigma$. Points scatter around the line partly at random. The question is whether the trend in the sample is larger than that random scatter could produce.
The sampling distribution of $b$. Over many random samples, $b$ is centred on $\beta$ (it is unbiased). Its standard deviation is estimated by

每个样本的最小二乘线都有略微不同的斜率 b。
| English | 中文 | 拼音 |
|---|---|---|
| scatterplot/ˈskætəplɒt/ | 散点图 | sàn diǎn tú |
| sample slope/ˈsæmpl sləʊp/ | 样本斜率 | yàng běn xié lǜ |
| least-squares regression line/liːst skweəz rɪˈɡreʃn laɪn/ | 最小二乘回归线 | zuì xiǎo èr chéng huí guī xiàn |
| sampling variability/ˈsæmplɪŋ ˌveərɪəˈbɪlɪti/ | 抽样变异性 | chōu yàng biàn yì xìng |
| true (population) slope/truː sləʊp/ | 总体斜率 | zǒng tǐ xié lǜ |
| inference/ˈɪnfərəns/ | 推断 | tuī duàn |
| linear/ˈlɪnɪə/ | 线性 | xiàn xìng |
持久性理解 (UNC-4): 应使用数值区间来估计参数,以考虑不确定性。
学习目标 UNC-4.AC: 识别适用于回归模型斜率的适当置信区间程序。[技能 1.D]
学习目标 UNC-4.AD: 验证计算回归模型斜率置信区间的条件。[技能 4.C]
学习目标 UNC-4.AE: 确定给定回归模型斜率的误差范围。[技能 3.D]
学习目标 UNC-4.AF: 计算回归模型斜率的适当置信区间。[技能 3.D]
来源:College Board AP 课程与考试说明
A $t$ interval for the true slope $\beta$:

The residual plot 残差图 is where you check Linear and Equal-spread: you want a formless cloud around zero. A curve 曲线 means the relationship is not linear; a fan 扇形 (spread growing with $x$) means the residuals do not have equal spread – both break a condition.
Worked example. Regression output gives slope $b=2.5$ with $SE_b=0.8$ from $n=20$ points. For a $95\%$ interval, $df=18$ gives $t^*=2.101$:


样本斜率因样本而异;置信区间和 t 检验询问真实斜率是否可能为零(无线性关系)。
| English | 中文 | 拼音 |
|---|---|---|
| standard error/ˈstændəd ˈerə/ | 标准误 | biāo zhǔn wù |
| Conditions/kənˈdɪʃnz/ | 条件 | tiáo jiàn |
| residuals/rɪˈsɪdʒuːəlz/ | 残差 | cán chà |
| histogram/ˈhɪstəɡræm/ | 直方图 | zhí fāng tú |
| in context/ɪn ˈkɒntekst/ | 结合情境 | jié hé qíng jìng |
| residual plot/rɪˈsɪdʒuːəl plɒt/ | 残差图 | cán chà tú |
| curve/kɜːv/ | 曲线 | qū xiàn |
| fan/fæn/ | 扇形 | shàn xíng |
持久理解 (UNC-4): 应使用数值区间来估计参数,以考虑不确定性。
学习目标 UNC-4.AG: 解释回归模型斜率的置信区间。[技能 4.B]
学习目标 UNC-4.AH: 基于回归模型斜率的置信区间论证断言。[技能 4.D]
学习目标 UNC-4.AI: 识别样本大小对回归模型斜率置信区间宽度的影响。[技能 4.A]
来源:College Board AP 课程与考试说明
If the confidence interval 置信区间 for $\beta$ contains $0$, a slope of zero is plausible 可信 – no evidence of a linear relationship. If the interval is entirely positive or negative, there is evidence of a real (positive or negative) linear relationship. State the direction in context.

Interpreting the interval. “We are $95\%$ confident that the interval from $0.82$ to $4.18$ captures the slope of the population regression line: for each one-unit increase in $x$, the mean of $y$ increases by between $0.82$ and $4.18$ units.” Larger samples give narrower intervals, other things equal.
斜率为 0(平线)意味着没有线性关系。
| English | 中文 | 拼音 |
|---|---|---|
| confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ | 置信区间 | zhì xìn qū jiān |
| plausible/ˈplɔːzɪbl/ | 可信 | kě xìn |
持久性理解 (VAR-7): $t$分布可用于模拟变异。
学习目标 VAR-7.J: 识别用于回归模型斜率检验的适当方法选择。[技能 1.E]
学习目标 VAR-7.K: 为回归模型斜率识别适当的零假设和备择假设。[技能 1.F]
学习目标 VAR-7.L: 验证回归模型斜率显著性检验的条件。[技能 4.C]
来源:College Board AP 课程与考试说明
The usual test asks whether there is any linear relationship:
持久理解 (VAR-7): $t$-分布可用于模拟变异。
学习目标 VAR-7.M: 计算回归模型斜率的适当检验统计量。[技能 3.E]
持久理解 (DAT-3): 显著性检验使我们能够在特定背景下对假设做出决策。
学习目标 DAT-3.M: 解释回归模型斜率显著性检验的 $p$-值。[技能 4.B]
学习目标 DAT-3.N: 基于回归模型斜率显著性检验的结果,论证关于总体的主张。[技能 4.E]
来源:College Board AP 课程与考试说明
The slope $t$ statistic:
Watch the tails. Standard regression output usually prints the two-tailed $p$-value (for $H_a:\beta\neq 0$). If your $H_a$ is one-tailed, halve it – and first check the sample slope really points the way $H_a$ claims; if it points the other way, the one-tailed $p$-value is above $0.5$ and you cannot reject $H_0$.
Worked example. For the same output ($b=2.5$, $SE_b=0.8$, $n=20$), test $H_0:\beta=0$:
Testing a slope other than $0$. For all male sambar deer, the population slope of weight against chest circumference is $4.5\ \text{kg/cm}$. A biologist measures $20$ male tule elk and finds $b=5.4\ \text{kg/cm}$ with $SE_b=0.35$. Is the elk slope different from $4.5$? Test $H_0:\beta=4.5$ against $H_a:\beta\ne4.5$:
Interpreting the $p$-value. “Assuming the true slope is $4.5$, there is a $0.019$ probability of getting a sample slope at least as far from $4.5$ as $5.4$ in a random sample of $20$ elk.”

| English | 中文 | 拼音 |
|---|---|---|
| regression/rɪˈɡreʃn/ | 回归 | huí guī |
| convincing evidence/kənˈvɪnsɪŋ ˈevɪdəns/ | 有力证据 | yǒu lì zhèng jù |
| p-value/piː ˈvæljuː/ | P值 | P zhí |
Regression software can print output like this, from a random sample of 24 students, with $x$ = hours of revision and $y$ = test score:
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 48.2 | 4.10 | 11.76 | 0.000 |
| Hours | 3.05 | 0.92 | 3.32 | 0.003 |
$S=6.84$ and $R\text{-}Sq=33.3\%$.
Worked example: checking the conditions in context. Suppose the residual plot for the revision data is a patternless band of roughly constant width, and a histogram of the residuals is roughly symmetric with no outliers. A full-credit check names each condition and the evidence for it:
“Conditions are met” or a list of the letters LINER earns nothing on its own: each condition needs its evidence from the plot or the design.
This was an observational 观察性的 sample, not an experiment 实验. The evidence shows an association 关联, not that revising causes higher scores: more motivated students might both revise longer and score higher.
Common mistakes. Reading the Constant row instead of the slope row; using $df=n-1$ instead of $n-2$; taking $S=6.84$ as the standard error of the slope (that is $SE_b=0.92$, in the SE Coef column); writing hypotheses about $b$ (the sample slope) instead of $\beta$; and halving the printed $p$-value when $H_a$ is two-sided.
Two other intervals. Regression software can also give an interval for a predicted value. They answer different questions:
Worked example. For $30$ teams, the line predicts $683$ runs for a team with $1250$ hits. Software gives $SE=17.48$ for the mean response and $SE=56.78$ for a single prediction; $df=28$ gives $t^*=2.048$.

| English | 中文 | 拼音 |
|---|---|---|
| two-sided/tuː ˈsaɪdɪd/ | 双侧 | shuāng cè |
| observational/ɒbzəˈveɪʃənl/ | 观察性的 | guān chá xìng de |
| experiment/ekˈsperɪmənt/ | 实验 | shí yàn |
| association/əˌsəʊsɪˈeɪʃn/ | 关联 | guān lián |
本主题旨在帮助学生掌握选择合适推断程序的技能,此时学生已具备多种选项。应为学生提供练习机会,使其能够熟练运用所有与推断相关的学习目标,明确在何种情境下及如何应用这些方法。
来源:College Board AP 课程与考试说明
Across all of inference, identify: what is estimated or claimed (a proportion, a mean, a difference, a distribution of counts, or a slope), how many samples, and which design (independent or paired 配对; sample or experiment). Then name the procedure 检验方法, verify its conditions, carry it out, and communicate the conclusion with the statistic, the $p$-value or interval, and a plain-language answer in context. This selecting-and-communicating skill was central to the investigative-task question on exams through 2026.

Worked example. Name the procedure for each study.
| Study | What is measured | Procedure |
|---|---|---|
| Does the proportion of left-handed students differ between two schools? | categorical, two independent samples | two-sample $z$ test for $p_1-p_2$ |
| Estimate the mean resting heart rate of all teachers in a city | quantitative, one sample | one-sample $t$ interval for $\mu$ |
| Each runner is timed in old shoes and in new shoes | quantitative, two values per runner | paired $t$ test on the differences, $\mu_d$ |
| Are blood type and region of birth associated, in one sample of adults? | two categorical variables, one sample | chi-square test of independence |
| Does fertiliser amount (g) predict plant height (cm)? | two quantitative variables | $t$ test or interval for the slope $\beta$ |
The clue is in the variables: a mean needs a quantitative response, a proportion a yes/no outcome, and a slope two quantitative variables measured on the same individuals. Two measurements on the same individual means paired, not two-sample.
| English | 中文 | 拼音 |
|---|---|---|
| paired/peəd/ | 配对 | pèi duì |
| procedure/prəˈsiːdʒə/ | 检验方法 | jiǎn yàn fāng fǎ |
Answer each before reading the answers below. Use the output in “Reading regression output”.
Write the equation of the least-squares line in context.
Predict the score of a student who revises for 6 hours.
Another sample of 15 points gives slope $b=-1.8$ with $SE_b=0.6$. Find the test statistic 检验统计量 and degrees of freedom 自由度 for $H_0:\beta=0$.
A residual plot shows a clear U-shaped curve. Which condition fails, and what does that mean for inference?
A student concludes from $p=0.003$: “Revising longer causes higher test scores.” Correct the student.
Output for $n=25$ gives $b=1.20$ with $SE_b=0.40$. Test $H_0:\beta=2$ against $H_a:\beta<2$.
A regression of house price on floor area is used to (a) estimate the mean price of all $120\ \text{m}^2$ houses and (b) predict the price of one particular $120\ \text{m}^2$ house. Which interval is wider, and why?
| English | 中文 | 拼音 |
|---|---|---|
| test statistic/test stəˈtɪstɪk/ | 检验统计量 | jiǎn yàn tǒng jì liàng |
| degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | 自由度 | zì yóu dù |
Predicted score $=48.2+3.05\,(\text{hours of revision})$.
$48.2+3.05(6)=66.5$ points.
$t=\dfrac{-1.8-0}{0.6}=-3.0$, with $df=15-2=13$.
The Linear condition fails: the true relationship is curved, so a slope interval or test for a straight line is not valid. A transformation or a different model is needed first.
The students were sampled, not randomly assigned to revise for different times, so this is observational data. The small $p$-value is convincing evidence of an association only. A confounding variable such as motivation could explain both.
$t=\dfrac{1.20-2}{0.40}=-2.0$ with $df=23$; one-sided $p\approx0.029$. At $\alpha=0.05$, reject $H_0$: convincing evidence that the true slope is less than $2$.
(b), the prediction interval. It must cover the price of one house, which varies around the line by about $s$, as well as the uncertainty in the line itself.
出了什么问题?只有网站团队能看到这些信息。
逐步完成,配合即时检查练习。