Unit 12: Solutions单元 12:详解
Inference for Regression回归的推断
All datasets, counts, probabilities and study scenarios here are synthetic illustrative teaching examples. They are not reports of actual research. Choose the most defensible statistical statement and justify free responses in context.本页全部数据、计数、概率与研究情景均为合成教学示例,不是真实研究报告。选择最有统计依据的陈述,简答应结合情景论证。
Part I: Multiple Choice Solutions第一部分:选择题详解
Reasoning推理1 point1 分
The line is fitted to a sample of 35 students, so 3.1 is a statistic: the sample slope $b$, the predicted change in score per extra weekly hour in this sample. The matching parameter $\beta$ is the slope of the population regression line for all 1,500 students, fixed but unknown, and $b$ is only an estimate that varies with the sample.这条直线由 35 名学生的样本拟合,所以 3.1 是统计量,即样本斜率 $b$:在这个样本中,每周多学一小时对应的预测分数变化。对应的参数 $\beta$ 是全部 1,500 名学生的总体回归直线(population regression line)斜率,固定而未知;$b$ 只是随样本而变的估计。
- Mistakes the slope for a predicted value; the prediction at $x=1$ is $48.2+3.1(1)=51.3$ points, and 3.1 is the change per hour.把斜率当成预测值;$x=1$ 时的预测值是 $48.2+3.1(1)=51.3$ 分,3.1 是每小时的变化量。
- Confuses the slope with $s$, the standard deviation of the residuals; the typical prediction error comes from the scatter about the line, not from the line's coefficients.把斜率与残差标准差 $s$ 混淆;典型预测误差来自点围绕直线的散布,而不是直线的系数。
- Correct: a fitted line from a sample gives the statistic $b$.正确:由样本拟合的直线给出统计量 $b$。
- Treats the sample slope as the population slope and as exact for every student; $\beta$ is unknown, $b$ only estimates it, and the slope describes the mean change, not each student.把样本斜率当成总体斜率,并当成对每名学生都精确成立;$\beta$ 未知,$b$ 只是估计,而且斜率描述的是均值的变化,不是每名学生的变化。
standard error) $SE_b$ 是多少?Reasoning推理1 point1 分
$SE_b=\dfrac{s}{s_x\sqrt{n-1}}=\dfrac{3.2}{2.5\sqrt{25}}=\dfrac{3.2}{12.5}=0.256$.$SE_b=\dfrac{s}{s_x\sqrt{n-1}}=\dfrac{3.2}{2.5\sqrt{25}}=\dfrac{3.2}{12.5}=0.256$。
- $3.2/(2.5\sqrt{26})\approx0.251$ uses $\sqrt n$; the slope formula uses $\sqrt{n-1}$.$3.2/(2.5\sqrt{26})\approx0.251$ 用了 $\sqrt n$;斜率公式用的是 $\sqrt{n-1}$。
- Correct: $3.2/(2.5\cdot5)=0.256$.正确:$3.2/(2.5\cdot5)=0.256$。
- $3.2/\sqrt{25}=0.640$ leaves $s_x$ out of the denominator, so the spread of the $x$-values is ignored.$3.2/\sqrt{25}=0.640$ 漏掉分母中的 $s_x$,忽略了 $x$ 值的离散程度。
- $3.2/(2.5\cdot25)=0.0512$ divides by $n-1$ instead of $\sqrt{n-1}$.$3.2/(2.5\cdot25)=0.0512$ 除以的是 $n-1$ 而不是 $\sqrt{n-1}$。
confidence interval)。应使用哪个临界值(critical value)?Reasoning推理1 point1 分
For a slope the degrees of freedom are $n-2=18-2=16$, because two numbers, $a$ and $b$, were estimated before the residuals were found. For 95% confidence $t^*$ leaves 2.5% in each tail of the $t$ distribution with 16 degrees of freedom, so $t^*=2.120$ (invT(0.975, 16) on the TI-84).斜率推断的自由度(degrees of freedom)为 $n-2=18-2=16$,因为求残差之前已估计了 $a$ 与 $b$ 两个数。95% 置信水平下,$t^*$ 在自由度 16 的 $t$ 分布每侧留下 2.5%,故 $t^*=2.120$(TI-84:invT(0.975, 16))。
- Uses $df=n-1=17$, the one-sample mean rule, which ignores the second estimated number.用了 $df=n-1=17$(单样本均值的规则),忽略了第二个被估计的数。
- Uses $df=n=18$; the degrees of freedom are never equal to the sample size here.用了 $df=n=18$;这里自由度不会等于样本量。
- Uses a Normal critical value, but $\sigma$ is estimated by $s$, so a $t$ distribution is needed.用了正态临界值,但 $\sigma$ 由 $s$ 估计,必须用 $t$ 分布。
- Correct: $df=n-2=16$ and $t^*=2.120$.正确:$df=n-2=16$,$t^*=2.120$。
standard error)与研究 1 相比如何?Reasoning推理1 point1 分
$SE_b=\dfrac{s}{s_x\sqrt{n-1}}$. For Study 1 the denominator contains $\sqrt{n-1}$; for Study 2 it contains $\sqrt{(4n-3)-1}=\sqrt{4(n-1)}=2\sqrt{n-1}$. With $s$ and $s_x$ unchanged, $SE_b$ is divided by 2 for every $n\gt1$.$SE_b=\dfrac{s}{s_x\sqrt{n-1}}$。研究 1 的分母含 $\sqrt{n-1}$;研究 2 的分母含 $\sqrt{(4n-3)-1}=\sqrt{4(n-1)}=2\sqrt{n-1}$。$s$ 与 $s_x$ 不变时,对任意 $n\gt1$,$SE_b$ 都变为一半。
- Correct: $n-1$ is multiplied by 4, so $\sqrt{n-1}$ is multiplied by 2.正确:$n-1$ 变为 4 倍,$\sqrt{n-1}$ 变为 2 倍。
- Quadrupling the data divides $SE_b$ by $\sqrt4=2$, not by 4; the standard error shrinks like a square root.数据量变为 4 倍,$SE_b$ 除以 $\sqrt4=2$ 而不是 4;标准误按平方根缩小。
- Holding $s$ and $s_x$ fixed does not freeze the standard error: $n$ still enters through $\sqrt{n-1}$.固定 $s$ 与 $s_x$ 并不会使标准误不变:$n$ 仍通过 $\sqrt{n-1}$ 起作用。
- Looks for a dependence on $n$, but $4n-3-1=4(n-1)$ makes the ratio exactly $\tfrac12$ for every $n$.去找对 $n$ 的依赖,但 $4n-3-1=4(n-1)$ 使比值对每个 $n$ 都恰好是 $\tfrac12$。
Reasoning推理1 point1 分
I is true: $b$ is an unbiased estimator of $\beta$, so the centre of its sampling distribution is $\beta$. II is true: $SE_b=s/(s_x\sqrt{n-1})$ has $s_x$ in the denominator, so a larger $s_x$ gives a smaller $SE_b$. III is false: a larger sample makes the sampling distribution narrower, but one particular small sample can still land closer to $\beta$ than one particular large sample. The answer is I and II only.I 成立:$b$ 是 $\beta$ 的无偏估计量,其抽样分布(sampling distribution)的中心是 $\beta$。II 成立:$SE_b=s/(s_x\sqrt{n-1})$ 的分母含 $s_x$,$s_x$ 越大 $SE_b$ 越小。III 不成立:更大的样本使抽样分布更窄,但某个特定的小样本仍可能比某个特定的大样本更接近 $\beta$。答案为仅 I 与 II。
- I only drops II; the formula for $SE_b$ shows the spread of the $x$-values matters.仅 I 漏掉了 II;$SE_b$ 的公式说明 $x$ 值的离散程度有影响。
- Correct: I and II are true, III is false.正确:I 与 II 成立,III 不成立。
- Rejects I, although the unbiasedness of $b$ is exactly why its sampling distribution is centred at $\beta$, and accepts III, which turns 'typically closer' into 'always closer'.否定了 I,而 $b$ 的无偏性正是其抽样分布以 $\beta$ 为中心的原因;又接受了 III,把“通常更接近”说成“一定更接近”。
- Includes III: a larger sample narrows the distribution of $b$ but gives no guarantee for any single pair of samples.把 III 也算进来:更大的样本使 $b$ 的分布变窄,但对任意一对具体样本并无保证。
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 11.80 | 14.68 | 0.80 | 0.440 |
| Temp | 5.2642 | 0.5938 | 8.86 | 0.000 |
S = 7.8987 R-Sq = 88.7% R-Sq(adj) = 87.6%Which interval is the 95% confidence interval for the true slope?
residual plot)没有问题。以气温 Temp 为解释变量的回归输出如下。| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 11.80 | 14.68 | 0.80 | 0.440 |
| Temp | 5.2642 | 0.5938 | 8.86 | 0.000 |
S = 7.8987 R-Sq = 88.7% R-Sq(adj) = 87.6%总体真实斜率的 95% 置信区间(
confidence interval)是哪一个?Reasoning推理1 point1 分
Use the Temp row: $b=5.2642$ and $SE_b=0.5938$, with $df=12-2=10$ and $t^*=2.228$. The margin of error is $2.228(0.5938)=1.323$, so the interval is $5.2642\pm1.323$, which is $(3.94, 6.59)$. On the TI-84, LinRegTInt gives the same interval.取 Temp 一行:$b=5.2642$,$SE_b=0.5938$,$df=12-2=10$,$t^*=2.228$。边际误差 $2.228(0.5938)=1.323$,区间为 $5.2642\pm1.323$,即 $(3.94, 6.59)$。TI-84 的 LinRegTInt 给出相同区间。
- Uses $z^*=1.96$ instead of $t^*=2.228$, so the interval is too narrow.用 $z^*=1.96$ 代替 $t^*=2.228$,区间偏窄。
- Multiplies $t^*$ by $S=7.8987$, the residual standard deviation, instead of by $SE_b$.把 $t^*$ 乘以残差标准差 $S=7.8987$,而不是 $SE_b$。
- Correct: slope row, $t^*=2.228$ with 10 degrees of freedom.正确:用斜率行,$t^*=2.228$(自由度 10)。
- Uses the SE Coef of the Constant row, 14.68, which belongs to the intercept, not the slope.用了 Constant 行的 SE Coef(14.68),它属于截距而不是斜率。
confidence interval):$(1.8,\ 3.1)$ 千瓦时/度。哪项解释正确?Reasoning推理1 point1 分
A complete interpretation names the confidence level, the interval with units, the parameter in context (the true change in mean $y$ per unit of $x$) and the population. The correct choice does all four.完整的解释要写出置信水平、带单位的区间、情境中的参数($x$ 每增加一个单位,$y$ 均值的真实变化量)以及总体。正确选项四项俱全。
- Describes individual days, but the interval is about the population slope, not about what each day does.描述的是各个日子,而区间针对总体斜率,并非每一天的表现。
- The sample slope is known exactly (it is the centre of the interval); the interval is about the unknown $\beta$.样本斜率是已知的(就是区间中心);区间针对的是未知的 $\beta$。
- Claims the change holds for every household; the slope describes the change in the mean, not in each household.断言每一户都如此;斜率描述的是均值的变化,而不是每一户的变化。
- Correct: confidence level, interval, mean change per degree, population of days.正确:置信水平、区间、每度的均值变化、日子这一总体,四项齐全。
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 11.80 | 14.68 | 0.80 | 0.440 |
| Temp | 5.2642 | 0.5938 | 8.86 | 0.000 |
S = 7.8987 R-Sq = 88.7% R-Sq(adj) = 87.6%Which statement correctly interprets $S$ and R-Sq?
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 11.80 | 14.68 | 0.80 | 0.440 |
| Temp | 5.2642 | 0.5938 | 8.86 | 0.000 |
S = 7.8987 R-Sq = 88.7% R-Sq(adj) = 87.6%哪项正确解释了 $S$ 与 R-Sq?
Reasoning推理1 point1 分
$S=s=7.8987$ is the standard deviation of the residuals: a typical vertical distance from a point to the line, about 7.9 drinks. R-Sq $=r^2=88.7\%$ is the proportion of the variation in $y$ accounted for by the linear relationship with $x$. The correlation is $r=\sqrt{0.887}\approx0.942$, positive because the slope is positive.$S=s=7.8987$ 是残差的标准差:点到直线的典型竖直距离,约 7.9 杯。R-Sq $=r^2=88.7\%$ 是 $y$ 的变化中可由与 $x$ 的线性关系解释的比例。相关系数 $r=\sqrt{0.887}\approx0.942$,因斜率为正所以取正。
- Treats $S$ as the day-to-day spread of sales itself (that is $s_y$) and R-Sq as the share of points on the line; no point need lie exactly on the line.把 $S$ 当作销量本身的日间波动(那是 $s_y$),把 R-Sq 当作落在直线上的点所占比例;其实不需要有点恰好在直线上。
- Correct: $S$ is the typical residual size and R-Sq is $r^2$.正确:$S$ 是典型残差大小,R-Sq 是 $r^2$。
- $S$ is not $SE_b$, and R-Sq $=88.7\%$ is $r^2$, so $r=0.942$, not 0.887.$S$ 不是 $SE_b$,且 R-Sq $=88.7\%$ 是 $r^2$,所以 $r=0.942$ 而不是 0.887。
- Reverses the roles of the variables: it is the variation in sales that temperature accounts for, and $S$ is a typical size, not a guaranteed bound.颠倒了变量的角色:是气温解释了销量的变化;而且 $S$ 是典型大小,不是保证的上界。
test statistic) $t=3.2$。$\beta$ 的 95% 置信区间(confidence interval)是哪一个?Reasoning推理1 point1 分
Work backwards from $t=b/SE_b$: $SE_b=1.92/3.2=0.6$. Then $df=22-2=20$ and $t^*=2.086$, so the margin of error is $2.086(0.6)=1.252$ and the interval is $1.92\pm1.252$, which is $(0.67, 3.17)$.由 $t=b/SE_b$ 反推:$SE_b=1.92/3.2=0.6$。再取 $df=22-2=20$,$t^*=2.086$,边际误差 $2.086(0.6)=1.252$,区间为 $1.92\pm1.252$,即 $(0.67, 3.17)$。
- Correct: $SE_b=0.6$, $t^*=2.086$.正确:$SE_b=0.6$,$t^*=2.086$。
- Uses $z^*=1.96$ in place of $t^*=2.086$, so the interval is too narrow: $1.92\pm1.176$.用 $z^*=1.96$ 代替 $t^*=2.086$,区间偏窄:$1.92\pm1.176$。
- Uses the test statistic 3.2 as the critical value: $1.92\pm3.2(0.6)$. The test statistic is a result of the data, not a critical value.把检验统计量 3.2 当作临界值:$1.92\pm3.2(0.6)$。检验统计量是数据的结果,不是临界值。
- Uses $t=3.2$ as the standard error: $1.92\pm2.086(3.2)$.把 $t=3.2$ 当作标准误:$1.92\pm2.086(3.2)$。
population regression line)斜率的 95% 置信区间(confidence interval)为 $(-0.31,\ 1.07)$。关于线性关系,哪个结论有依据?Reasoning推理1 point1 分
Compare 0 with the whole interval. Since $-0.31\lt0\lt1.07$, the interval contains 0, so a slope of 0 (no linear relationship) is plausible and the data do not give convincing evidence of a linear relationship. Containing 0 does not show that $\beta=0$; a sample can simply be too small or too scattered to decide.把 0 与整个区间比较。因 $-0.31\lt0\lt1.07$,区间包含 0,斜率为 0(无线性关系)是合理的,数据没有给出令人信服的线性关系证据。包含 0 并不表明 $\beta=0$;样本可能只是太小或太分散而无法判定。
- A mostly positive interval is still an interval that contains 0; the decision depends on whether 0 is inside, not on how much of the interval is on one side.区间大部分为正,但仍然包含 0;决定取决于 0 是否在区间内,而不是区间偏向哪一侧的程度。
- Treats 'not convincing evidence of a relationship' as 'evidence of no relationship'; an interval that contains 0 also contains many nonzero slopes.把“没有令人信服的关系证据”当成“有无关系的证据”;包含 0 的区间同时包含许多非零斜率。
- The centre of an interval is only the estimate $b$; the parameter is not located at the centre.区间的中心只是估计值 $b$;参数并不一定位于中心。
- Correct: 0 is plausible; the data are not decisive.正确:0 是合理取值;数据不足以下结论。
population regression line)的斜率。哪一组假设合适?Reasoning推理1 point1 分
The null hypothesis is that there is no linear relationship, $\beta=0$. She suspects a positive relationship before seeing the data, so the alternative is one-sided: $H_a:\beta\gt0$. Hypotheses are always about the parameter $\beta$, never the sample slope $b$.零假设(null hypothesis)是不存在线性关系,即 $\beta=0$。她在看数据之前就怀疑存在正关系,所以备择假设(alternative hypothesis)是单侧的:$H_a:\beta\gt0$。假设总是针对参数 $\beta$,而不是样本斜率 $b$。
- States hypotheses about the statistic $b$; a sample slope is observed, so there is nothing to test about it.对统计量 $b$ 设假设;样本斜率是观测到的,没有什么可检验。
- Swaps the roles: the null must contain the equals sign and say there is no relationship.颠倒了角色:零假设必须含等号并表示没有关系。
- Correct: parameter $\beta$, null value 0, one-sided alternative matching the suspicion.正确:针对参数 $\beta$,零值为 0,备择假设为与怀疑一致的单侧。
- A two-sided alternative tests for any linear relationship; it does not match a suspicion of a positive one stated in advance.双侧备择检验任何方向的线性关系,与事先提出的“正关系”怀疑不一致。
Residual (thousand dollars)
+2.0 | *
+1.5 |
+1.0 | * *
+0.5 | * * * *
0.0 |-*-*-*----------------------------
-0.5 | * *
-1.0 | * * *
-1.5 | *
-2.0 |
+---------------------------------->
x: floor areaWhich condition for inference about the slope does this plot call most into question?residual plot)如下。残差(千美元)
+2.0 | *
+1.5 |
+1.0 | * *
+0.5 | * * * *
0.0 |-*-*-*----------------------------
-0.5 | * *
-1.0 | * * *
-1.5 | *
-2.0 |
+---------------------------------->
x: 建筑面积该图最令人怀疑斜率推断的哪个条件?Reasoning推理1 point1 分
The residuals are close to 0 for small floor areas and become much larger in both directions as floor area grows. This fan shape means the spread of $y$ about the line is not the same at every $x$, so the Equal variance condition is in doubt, and $s$ and $SE_b$ do not describe every part of the data equally.面积小时残差接近 0,面积增大后残差向两侧明显增大。这种扇形说明 $y$ 围绕直线的离散程度并不是在每个 $x$ 处都相同,所以等方差条件存疑,$s$ 与 $SE_b$ 也不能同样地描述所有部分的数据。
- A curve would show as a bend (for example a U shape) in the residuals; here the centre stays near 0.曲线会表现为残差的弯曲(如 U 形);这里残差的中心始终接近 0。
- Independence comes from how the data were collected, not from a residual plot, and a random sample from one city is not a problem.独立性取决于数据的收集方式,而不是残差图;来自同一城市的随机样本没有问题。
- Normality is checked with a dotplot or Normal probability plot of the residuals; a residual-versus-$x$ plot does not show it.正态性用残差的点图或正态概率图来检验;残差对 $x$ 的图看不出这一点。
- Correct: the vertical spread grows from left to right.正确:竖直方向的散布从左到右不断变大。
| $x$ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Residual | 1.4 | 0.2 | -0.6 | -1.0 | -1.0 | -0.6 | 0.2 | 1.4 |
| $x$ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 残差 | 1.4 | 0.2 | -0.6 | -1.0 | -1.0 | -0.6 | 0.2 | 1.4 |
Reasoning推理1 point1 分
Read the signs in order of $x$: $+,+,-,-,-,-,+,+$. A line that fits a straight relationship leaves residuals with no pattern, but these follow a U shape, so the true relationship is curved and the Linear condition fails. The residuals of any least-squares line add to 0 ($1.4+0.2-0.6-1.0-1.0-0.6+0.2+1.4=0$), so that fact says nothing about whether a line is appropriate.按 $x$ 的顺序读符号:$+,+,-,-,-,-,+,+$。若直线适合直线型关系,残差应无规律,而这里呈 U 形,说明真实关系是弯曲的,线性条件不成立。任何最小二乘直线的残差之和都是 0($1.4+0.2-0.6-1.0-1.0-0.6+0.2+1.4=0$),所以这一事实并不能说明直线是否合适。
- Equal variance looks at the size of the scatter, not its sign; a curve about the line is a pattern in the centre, not a change in spread.等方差看的是散布的大小而不是符号;围绕直线的弯曲是中心的模式,而不是离散程度的变化。
- Correct: the sign pattern $+\,+\,-\,-\,-\,-\,+\,+$ is a U shape.正确:符号模式 $+\,+\,-\,-\,-\,-\,+\,+$ 是 U 形。
- Residuals of every least-squares line sum to 0, so this fact is always true and cannot show the model is right.每条最小二乘直线的残差之和都是 0,这一事实永远成立,不能说明模型正确。
- Normality needs a plot of the residuals and does not fail merely because $n$ is small; the visible problem here is the curve.正态性要看残差的图,不会仅因为 $n$ 小就不成立;这里明显的问题是弯曲。
Residual
+3.0 | * *
+2.0 |
+1.0 | * *
0.0 |-----*-*-------------*-*------
-1.0 | * * * *
-2.0 | * *
-3.0 |
+------------------------------>
x: explanatory variableWhat is wrong with the student's reasoning?residual plot)只是噪声。”残差
+3.0 | * *
+2.0 |
+1.0 | * *
0.0 |-----*-*-------------*-*------
-1.0 | * * * *
-2.0 | * *
-3.0 |
+------------------------------>
x: 解释变量这名学生的推理错在哪里?Reasoning推理1 point1 分
The residuals are positive at both ends and negative in the middle, a U shape. A strong correlation measures how tightly the points follow the best straight line, but a curved relationship can still have $r$ near 1. The residual plot is the sharper tool for checking linearity, and its pattern shows the Linear condition fails; the student should consider a different model before doing inference.残差两端为正、中间为负,呈 U 形。强相关只说明点紧贴最佳直线,但弯曲的关系也可以有接近 1 的 $r$。残差图是检验线性更敏锐的工具,其模式表明线性条件不成立;做推断之前,应先考虑别的模型。
- A value of $r$ near 0 would mean no linear association; slope inference needs a plausible linear model, not a small $r$.$r$ 接近 0 表示没有线性关联;斜率推断需要合理的线性模型,而不是小的 $r$。
- The spread is similar on the left and the right; the problem is the curve, not a change in spread.左右两侧的散布相近;问题是弯曲,而不是离散程度变化。
- Correct: $r$ near 1 does not rule out curvature; the residual plot does.正确:$r$ 接近 1 不能排除弯曲,残差图可以。
- A strong correlation and a curved residual pattern can occur together, which is why the residual plot is always checked.强相关与弯曲的残差模式可以同时出现,所以总要检查残差图。
Reasoning推理1 point1 分
Independence comes from how the data were produced. In an experiment the random assignment supplies it, and the 10% condition is for sampling without replacement, so it is not needed (here $30\lt0.10(400)=40$ in any case). The two randomizations do different jobs: the random sample supports generalizing to the club's 400 members, and the random assignment supports cause and effect. Nothing supports generalizing beyond the club.独立性来自数据的产生方式。在实验中由随机分配提供,10% 条件适用于不放回抽样,因此不需要(这里无论如何 $30\lt0.10(400)=40$)。两次随机化作用不同:随机抽样支持推广到俱乐部的 400 名会员,随机分配支持因果结论。没有任何依据把结论推广到俱乐部之外。
- Treats the sample as the only source of independence and denies random assignment any role; assignment is what allows a causal conclusion.把抽样当作独立性的唯一来源,并否认随机分配的作用;随机分配才是因果结论的依据。
- A residual plot checks Linear and Equal variance, not independence, and the club is the only population the sample represents.残差图检验线性与等方差而不是独立性,而且样本只代表俱乐部这一总体。
- Swaps the roles of the randomizations: random assignment supports cause and effect within the study, while generalizing depends on how the participants were selected, here only the club.颠倒了两次随机化的作用:随机分配支持研究内部的因果结论,推广范围取决于参与者怎样选出,这里只有俱乐部。
- Correct: assignment gives independence, the sample gives scope to the club, assignment gives cause and effect.正确:分配提供独立性,抽样给出到俱乐部的推广范围,分配支持因果结论。
test statistic)?Reasoning推理1 point1 分
The test statistic is $t=\dfrac{b-0}{SE_b}$ with $SE_b=\dfrac{s}{s_x\sqrt{n-1}}$. Dividing by a fraction multiplies by its reciprocal, so $t=\dfrac{b\,s_x\sqrt{n-1}}{s}$, compared with a $t$ distribution with $n-2$ degrees of freedom.检验统计量为 $t=\dfrac{b-0}{SE_b}$,其中 $SE_b=\dfrac{s}{s_x\sqrt{n-1}}$。除以分数等于乘以其倒数,所以 $t=\dfrac{b\,s_x\sqrt{n-1}}{s}$,与自由度(degrees of freedom) $n-2$ 的 $t$ 分布比较。
- Correct: $b$ divided by $SE_b$.正确:$b$ 除以 $SE_b$。
- Uses $\sqrt n$ in place of $\sqrt{n-1}$ in the standard error.标准误中用 $\sqrt n$ 代替 $\sqrt{n-1}$。
- Divides by $\sqrt{n-1}$ instead of multiplying: it inverts only part of $SE_b$.把 $\sqrt{n-1}$ 放在了分母而不是分子:只倒转了 $SE_b$ 的一部分。
- Multiplies $b$ by $SE_b$ instead of dividing by it, giving $b\cdot SE_b$ rather than $b/SE_b$.把 $b$ 乘以 $SE_b$ 而不是除以它,得到 $b\cdot SE_b$ 而不是 $b/SE_b$。
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 3.900 | 2.486 | 1.57 | 0.143 |
| Hours | 1.5011 | 0.6501 | 2.31 | 0.040 |
S = 4.9026 R-Sq = 30.8% R-Sq(adj) = 25.0%At the 5% significance level, test $H_0:\beta=0$ against $H_a:\beta\gt0$. What are the $P$-value and the conclusion?
residual plot)没有问题。回归输出如下。| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 3.900 | 2.486 | 1.57 | 0.143 |
| Hours | 1.5011 | 0.6501 | 2.31 | 0.040 |
S = 4.9026 R-Sq = 30.8% R-Sq(adj) = 25.0%在 5% 显著性水平下检验 $H_0:\beta=0$ 对 $H_a:\beta\gt0$。$P$ 值与结论是什么?
Reasoning推理1 point1 分
The output $P=0.040$ is two-sided. The slope is positive ($b=1.5011$), which agrees with $H_a:\beta\gt0$, so the one-sided $P$-value is half of it: $0.040/2\approx0.020$. Check: $t=1.5011/0.6501=2.31$ with $df=12$ gives a right-tail area of 0.0198. Since $0.020\lt0.05$, reject $H_0$: there is convincing evidence of a positive linear relationship between weekly tutoring hours and score improvement for students at this center.输出中的 $P=0.040$ 是双侧的。斜率为正($b=1.5011$),与 $H_a:\beta\gt0$ 的方向一致,所以单侧 $P$ 值是它的一半:$0.040/2\approx0.020$。核对:$t=1.5011/0.6501=2.31$,$df=12$,右尾面积为 0.0198。因 $0.020\lt0.05$,拒绝 $H_0$:有令人信服的证据表明该中心学生的每周辅导小时数与分数提高值之间存在正线性关系。
- Reports the two-sided $P$ from the output for a one-sided alternative; it must be halved.对单侧备择直接用输出的双侧 $P$;必须减半。
- Correct: halve the two-sided $P$ because the sign of $b$ matches $H_a$.正确:$b$ 的符号与 $H_a$ 一致,把双侧 $P$ 减半。
- Doubles the output $P$ instead of halving it, then wrongly fails to reject.把输出的 $P$ 翻倍而不是减半,从而错误地不拒绝。
- $0.980=1-0.0198$ is the area on the wrong side; the evidence for $H_a:\beta\gt0$ is in the right tail.$0.980=1-0.0198$ 是错误一侧的面积;支持 $H_a:\beta\gt0$ 的证据在右尾。
...
.......
.........
...........
...............
.................
........................#
--------------------------------#########
0 2.30
# = shaded tail, t beyond 2.30What is the $P$-value of the test? ...
.......
.........
...........
...............
.................
........................#
--------------------------------#########
0 2.30
# = 阴影尾部(t 大于 2.30)该检验的 $P$ 值是多少?Reasoning推理1 point1 分
The graph is a $t$ distribution with $df=n-2=14$, and the alternative is right-tailed, so the $P$-value is $P(T\gt2.30)$ with 14 degrees of freedom. On the TI-84, tcdf(2.30, 1E99, 14) $\approx0.0187$, which is 0.019.图中是自由度(degrees of freedom) $df=n-2=14$ 的 $t$ 分布,备择假设(alternative hypothesis)为右尾,所以 $P$ 值是 $P(T\gt2.30)$(自由度 14)。TI-84:tcdf(2.30, 1E99, 14) $\approx0.0187$,即 0.019。
- Doubles the tail area as for a two-sided test, but the alternative here is one-sided and only the right tail is shaded.像双侧检验那样把尾部面积翻倍,但这里的备择是单侧,只有右尾被阴影覆盖。
- Reads the unshaded area, $1-0.0187$.读成了没有阴影的面积,即 $1-0.0187$。
- Correct: right tail of $t$ with 14 degrees of freedom.正确:自由度 14 的 $t$ 分布右尾。
- Uses the standard Normal curve: $P(Z\gt2.30)\approx0.011$; the $t$ distribution has heavier tails, so its tail area is larger.用了标准正态曲线:$P(Z\gt2.30)\approx0.011$;$t$ 分布尾部更厚,其尾部面积更大。
Reasoning推理1 point1 分
A $P$-value is computed assuming $H_0$ is true. It is the probability, under that assumption, of a sample result at least as extreme as the one observed, here a sample slope at least as far from 0 in either direction (two-sided). It is not the probability that $H_0$ is true.$P$ 值是在假定 $H_0$ 成立时计算的:在该假定下,得到至少与观测结果同样极端的样本结果的概率,这里是样本斜率至少同样远离 0(双侧)。它不是 $H_0$ 成立的概率。
- Turns the conditional probability around; the $P$-value is computed assuming $H_0$ is true, so it cannot be the probability of $H_0$.把条件概率颠倒了;$P$ 值是在假定 $H_0$ 成立时算出的,不可能是 $H_0$ 的概率。
- Confuses a probability about samples with a percentage of students; $\beta$ is one number for the whole school, not a property of individual students.把关于样本的概率当成学生的百分比;$\beta$ 是整个学校的一个数,而不是个别学生的性质。
- A $P$-value is an 'at least as extreme' area, not the probability of one exact value.$P$ 值是“至少同样极端”的面积,而不是某个确切取值的概率。
- Correct: conditional on $\beta=0$, a result at least this extreme.正确:在 $\beta=0$ 的前提下,出现至少这样极端的结果。
Reasoning推理1 point1 分
The adults were sampled at random but nobody assigned coffee amounts, so this is an observational study. The random sample lets us generalize to adults in the city, and the small $P$-value is convincing evidence of a negative linear association. Causation needs random assignment, because other variables (for example stress or work schedule) could affect both coffee and sleep. Also, a $P$-value provides evidence against $H_0$, never proof.成年人是随机抽取的,但没有人分配咖啡量,所以这是观察性研究。随机抽样使我们可以推广到该市成年人,小的 $P$ 值是负线性关联的有力证据。因果结论需要随机分配,因为别的变量(如压力或作息)可能同时影响咖啡与睡眠。此外,$P$ 值只提供反对 $H_0$ 的证据,而不是证明。
- A small $P$-value is evidence against $H_0$, so $H_0$ is rejected, not accepted.小的 $P$ 值是反对 $H_0$ 的证据,应拒绝 $H_0$,而不是接受。
- Correct: association versus cause, and evidence versus proof.正确:关联与因果之别,以及证据与证明之别。
- Slope tests are for two quantitative variables; coffee cups and sleep hours are both quantitative.斜率检验针对两个定量变量;咖啡杯数与睡眠小时数都是定量变量。
- The sample slope is never exactly 0, so comparing it with 0 decides nothing; the test accounts for sampling variability.样本斜率几乎不会恰好为 0,与 0 比较决定不了什么;检验考虑了抽样变异。
Reasoning推理1 point1 分
Both variables are quantitative, measured on the same adults in one sample, and the question is about a linear relationship that predicts one variable from the other. That calls for a $t$-test for the slope. A paired $t$-test would ask whether height and arm span differ on average, which is a different question.两个变量都是定量变量,在同一个样本的同一批成年人身上测量,问题是能否用一个变量线性预测另一个变量,这需要斜率的 $t$ 检验。配对 $t$ 检验问的是身高与臂展平均是否不同,是另一个问题。
- Correct: two quantitative variables, one sample, a linear relationship.正确:两个定量变量,一个样本,线性关系。
- Two measurements per person look like pairs, but the question is about how one changes with the other, not about their average difference.每人有两个测量值看似配对,但问题是一个变量如何随另一个变化,而不是它们的平均差异。
- There is one sample of adults, not two independent groups.这里是一个成年人样本,而不是两个独立组。
- Chi-square needs counts of categories; height and arm span are not categorical.卡方检验需要类别计数;身高与臂展不是分类变量。
| Study | Data collected | Question |
|---|---|---|
| A | 25 randomly selected patients: blood pressure before and after a treatment | Did the mean blood pressure change? |
| B | 20 randomly selected used cars: mileage and asking price | Is there a linear relationship between mileage and price? |
| C | 18 batteries of brand X and 18 of brand Y: battery life | Do the brands differ in mean battery life? |
| 研究 | 收集的数据 | 问题 |
|---|---|---|
| A | 随机选取的 25 名患者:治疗前后的血压 | 平均血压是否变化? |
| B | 随机选取的 20 辆二手车:里程与标价 | 里程与价格之间是否有线性关系? |
| C | X 品牌与 Y 品牌电池各 18 个:电池寿命 | 两个品牌的平均电池寿命是否不同? |
Reasoning推理1 point1 分
Study A measures the same patients twice and asks about a mean change, so it calls for a paired $t$-test on the differences. Study B has two quantitative variables on each car and asks about a linear relationship, so it calls for a $t$-test for the slope. Study C has two independent groups and compares means, so it calls for a two-sample $t$-test. Only II is correct.研究 A 对同一批患者测量两次并询问平均变化,应对差值作配对 $t$ 检验。研究 B 对每辆车测量两个定量变量并询问线性关系,应作斜率的 $t$ 检验。研究 C 有两个独立组并比较均值,应作两样本 $t$ 检验。只有 II 正确。
- Correct: only Study B asks about a slope.正确:只有研究 B 问的是斜率。
- Includes I: a paired design and a slope both involve two measurements, but pairing asks how much they differ on average, not how one changes with the other.把 I 也算进来:配对设计与斜率都涉及两个测量值,但配对问的是平均差异,而不是一个如何随另一个变化。
- Includes III: two groups of one variable form two samples, not one sample with two variables.把 III 也算进来:一个变量的两个组是两个样本,而不是一个样本的两个变量。
- Lets the layout decide: 'two columns of numbers' is not a reason to run a slope test.让数据的排版来决定:“两列数字”并不是作斜率检验的理由。
Part II: Free Response Solutions第二部分:简答题详解
- Find the slope $b$ of the least-squares line and interpret it in context.求最小二乘直线的斜率 $b$,并结合情境解释。 [2]
- Calculate the standard error of the slope, $SE_b$.计算斜率的标准误 $SE_b$。 [1]
- Interpret $SE_b$ in context.结合情境解释 $SE_b$。 [1]
- A second random sample of 80 students gives the same $s$ and $s_x$. Find its standard error of the slope and explain what the change shows about the sampling distribution of $b$.第二个 80 名学生的随机样本得到相同的 $s$ 与 $s_x$。求其斜率的标准误,并说明这一变化反映了 $b$ 的抽样分布的什么特征。 [2]
(a) 2 points2 分
$b=r\dfrac{s_y}{s_x}=0.74\times\dfrac{11.8}{2.6}=3.358\approx3.36$ points per hour. Interpretation with units and a predicted change: each additional weekly hour of practice goes with a predicted increase of about 3.36 points in this sample.$b=r\dfrac{s_y}{s_x}=0.74\times\dfrac{11.8}{2.6}=3.358\approx3.36$ 分/小时。带单位的解释:在这个样本中,每周多练习一小时,预测分数约增加 3.36 分。
(b) 1 point1 分
$SE_b=\dfrac{s}{s_x\sqrt{n-1}}=\dfrac{8.15}{2.6\sqrt{19}}=\dfrac{8.15}{11.333}=0.719$.$SE_b=\dfrac{s}{s_x\sqrt{n-1}}=\dfrac{8.15}{2.6\sqrt{19}}=\dfrac{8.15}{11.333}=0.719$。
(c) 1 point1 分
$SE_b$ measures how far the sample slope typically falls from $\beta$ across random samples of 20 students: about 0.72 points per hour.$SE_b$ 衡量在 20 名学生的随机样本之间,样本斜率与 $\beta$ 的典型距离:约 0.72 分/小时。
(d) 2 points2 分
$SE_b=\dfrac{8.15}{2.6\sqrt{79}}=\dfrac{8.15}{23.109}=0.353$. The sampling distribution of $b$ is still centred at $\beta$, but its spread is about half as large, because $SE_b$ shrinks like $1/\sqrt{n-1}$ and $80-1$ is about four times $20-1$.$SE_b=\dfrac{8.15}{2.6\sqrt{79}}=\dfrac{8.15}{23.109}=0.353$。$b$ 的抽样分布(sampling distribution)中心仍是 $\beta$,但离散程度约为一半,因为 $SE_b$ 按 $1/\sqrt{n-1}$ 缩小,而 $80-1$ 约为 $20-1$ 的 4 倍。
Frequent errors: using $s_y/s_x=4.54$ and forgetting to multiply by $r$; using $\sqrt{20}$ in $SE_b$; describing $SE_b$ as the spread of individual test scores (that is $s$); and saying a larger sample moves the centre of the sampling distribution instead of narrowing it.常见错误:用 $s_y/s_x=4.54$ 而忘记乘以 $r$;在 $SE_b$ 中用 $\sqrt{20}$;把 $SE_b$ 说成个别测验分数的离散程度(那是 $s$);以及说更大的样本改变了抽样分布的中心而不是使它变窄。
Residual (points)
+2.0 |
+1.5 | * *
+1.0 | * * *
+0.5 | * *
0.0 |---------------------------*----
-0.5 | * *
-1.0 | * * * *
-1.5 | *
-2.0 |
+-------------------------------->
x: reading hours (low to high)residual plot)如下。15 个残差的点图大致对称,残差的正态概率图(Normal probability plot)接近一条直线。残差(分)
+2.0 |
+1.5 | * *
+1.0 | * * *
+0.5 | * *
0.0 |---------------------------*----
-0.5 | * *
-1.0 | * * * *
-1.5 | *
-2.0 |
+-------------------------------->
x: 阅读小时数(低到高)- Define the parameter and state the hypotheses for a test of her question.定义参数并写出检验她所提问题的假设。 [2]
- Use the residual plot to check the Linear and Equal variance conditions.用残差图检验线性与等方差条件。 [2]
- Check the Independent condition, using numbers.检验独立条件,并使用数字说明。 [1]
- Check the Normal condition.检验正态条件。 [1]
- A classmate says: 'The residuals add to 0, so the Equal variance condition is met.' Is this reasoning valid? Explain.一位同学说:“残差之和为 0,所以等方差条件成立。”这一推理是否有效?请说明。 [1]
population regression line)的真实斜率;$H_0:\beta=0$,$H_a:\beta\gt0$。(b) 线性:残差在 0 的上下散布,没有弯曲。等方差:竖直散布从左到右大致相同(约 $\pm1.5$),没有扇形。(c) 随机样本,且 $15\lt0.10(900)=90$。(d) 点图大致对称,正态概率图接近直线,所以残差近似正态。(e) 无效:任何最小二乘直线的残差之和都是 0,这说明不了离散程度;等方差要看残差图中各 $x$ 处竖直散布是否相近。(a) 2 points2 分
Define $\beta$ in words with the population: the true slope of the population regression line relating comprehension score to weekly reading hours for all students at the school. She asks whether more reading goes with higher scores, so $H_0:\beta=0$ against $H_a:\beta\gt0$.用文字并带上总体定义 $\beta$:该校全体学生中,阅读理解分数与每周阅读小时数的总体回归直线的真实斜率。她问阅读越多分数是否越高,所以 $H_0:\beta=0$ 对 $H_a:\beta\gt0$。
(b) 2 points2 分
Linear: the points are scattered with no bend, a random pattern around 0. Equal variance: the residuals stay within about $\pm1.5$ at both small and large reading times, so the band has constant width and there is no fan shape.线性:点的散布没有弯曲,围绕 0 呈随机模式。等方差:无论阅读时间小或大,残差都在约 $\pm1.5$ 之内,带宽恒定,没有扇形。
(c) 1 point1 分
Independence comes from the random sample; sampling without replacement needs 15 to be less than 10% of the population: $0.10\times900=90$, and $15\lt90$.独立性来自随机抽样;不放回抽样要求 15 小于总体的 10%:$0.10\times900=90$,且 $15\lt90$。
(d) 1 point1 分
Normality is about the residuals: a roughly symmetric dotplot and a nearly straight Normal probability plot show no strong skew or outliers.正态性针对残差:大致对称的点图与接近直线的正态概率图,说明没有强偏斜或离群点。
(e) 1 point1 分
The residuals of any least-squares line sum to 0, whether or not the spread is constant, so a zero sum cannot verify Equal variance.无论离散程度是否恒定,任何最小二乘直线的残差之和都是 0,所以零和无法验证等方差。
Frequent errors: judging Linear from $r$ alone; reading Equal variance as 'the residuals add to 0'; checking Normality on the $x$-values or $y$-values instead of the residuals; and omitting the 10% check when sampling without replacement.常见错误:仅凭 $r$ 判断线性;把等方差当成“残差之和为 0”;对 $x$ 值或 $y$ 值而不是残差检验正态性;以及在不放回抽样时漏掉 10% 检查。
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 20.83 | 0.808 | 25.77 | 0.000 |
| Age | -1.5651 | 0.1568 | -9.98 | 0.000 |
S = 1.5035 R-Sq = 87.7% R-Sq(adj) = 86.8%
residual plot)没有模式,各处竖直散布大致相同,残差的正态概率图(Normal probability plot)接近直线。回归输出如下。| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 20.83 | 0.808 | 25.77 | 0.000 |
| Age | -1.5651 | 0.1568 | -9.98 | 0.000 |
S = 1.5035 R-Sq = 87.7% R-Sq(adj) = 86.8%
- Name the inference procedure that gives a 95% confidence interval for the population slope and verify its conditions.写出给出总体斜率 95% 置信区间的推断方法,并验证其条件。 [2]
- Construct the 95% confidence interval for the population slope, showing the critical value.构造总体斜率的 95% 置信区间,并写出临界值。 [3]
- Interpret the interval in context.结合情境解释该区间。 [1]
- A dealer claims that each additional year of age lowers the mean asking price by 2.0 thousand dollars. Does the interval support this claim? Justify your answer.一位经销商声称车龄每增加一年,平均标价下降 2.0 千美元。该区间是否支持这一说法?请说明理由。 [1]
(a) 2 points2 分
Procedure: a one-sample $t$-interval for the slope $\beta$ of the population regression line. Conditions: Independent (random sample and $16\lt0.10\times400=40$); Linear and Equal variance from the residual plot; Normal from the Normal probability plot of the residuals.方法:总体回归直线(population regression line)斜率 $\beta$ 的 $t$ 区间。条件:独立(随机样本且 $16\lt0.10\times400=40$);由残差图检验线性与等方差;由残差的正态概率图检验正态。
(b) 3 points3 分
$df=n-2=14$ and $t^*=2.145$ (invT(0.975, 14)). Margin of error $=2.145\times0.1568=0.336$. Interval $=-1.5651\pm0.336=(-1.901,\ -1.229)$. Reading the Age row, not the Constant row, gives the slope and its standard error.$df=n-2=14$,$t^*=2.145$(invT(0.975, 14))。边际误差 $=2.145\times0.1568=0.336$。区间 $=-1.5651\pm0.336=(-1.901,\ -1.229)$。要读 Age 一行而不是 Constant 一行,才是斜率及其标准误(standard error)。
(c) 1 point1 分
Name the confidence level, the interval with units, the parameter (the true change in mean asking price per year of age) and the population (cars of this model advertised in the region).写出置信水平、带单位的区间、参数(车龄每增加一年平均标价的真实变化量)以及总体(该地区待售的这一车型)。
(d) 1 point1 分
Compare $-2.0$ with the whole interval $(-1.901,\ -1.229)$. It is outside, so the data are not consistent with a decrease of 2.0 thousand dollars per year.把 $-2.0$ 与整个区间 $(-1.901,\ -1.229)$ 比较。它在区间之外,所以数据与每年下降 2.0 千美元不一致。
Frequent errors: using $df=15$ or $z^*=1.96$; taking the Constant row's standard error 0.808; writing the interpretation about individual cars instead of the mean price; and judging the claim by whether $-1.57$ is 'close to' $-2.0$ instead of whether $-2.0$ is inside the interval.常见错误:用 $df=15$ 或 $z^*=1.96$;取 Constant 行的标准误 0.808;解释时谈个别汽车而不是平均标价;以及用 $-1.57$ 是否“接近”$-2.0$ 来判断,而不是看 $-2.0$ 是否在区间内。
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 465.06 | 10.68 | 43.56 | 0.000 |
| Hours | -2.7437 | 0.9606 | -2.86 | 0.013 |
S = 22.065 R-Sq = 38.6% R-Sq(adj) = 33.8%The counselor will test, at the 5% significance level, whether there is a linear relationship between weekly work hours and nightly sleep for students at the school.
residual plot)没有模式,各处竖直散布大致相同,残差的正态概率图(Normal probability plot)大致呈直线。回归输出如下。| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 465.06 | 10.68 | 43.56 | 0.000 |
| Hours | -2.7437 | 0.9606 | -2.86 | 0.013 |
S = 22.065 R-Sq = 38.6% R-Sq(adj) = 33.8%辅导员将在 5% 显著性水平下检验该校学生的每周兼职小时数与夜间睡眠之间是否存在线性关系。
- Define the parameter and state the null and alternative hypotheses.定义参数并写出零假设与备择假设。 [2]
- Verify the conditions for the test, using the information given.利用所给信息验证检验的条件。 [2]
- Give the test statistic and degrees of freedom, and the $P$-value from the output. Check that the $T$ in the output equals Coef divided by SE Coef.给出检验统计量与自由度,以及输出中的 $P$ 值。核对输出中的 $T$ 等于 Coef 除以 SE Coef。 [2]
- State the conclusion in context.结合情境写出结论。 [1]
- The counselor writes: 'Reducing students' work hours would increase their sleep.' Is this conclusion supported by the study? Explain.辅导员写道:“减少学生的兼职时间会增加他们的睡眠。”本研究是否支持这一结论?请说明。 [1]
population regression line)的真实斜率;$H_0:\beta=0$,$H_a:\beta\neq0$。(b) 独立:随机样本且 $15\lt0.10(1200)=120$;线性与等方差:残差图无模式且散布恒定;正态:残差的正态概率图大致呈直线。(c) $t=-2.7437/0.9606=-2.86$,$df=15-2=13$;$P=0.013$(双侧)。(d) 因 $0.013\lt0.05$,拒绝 $H_0$:有令人信服的证据表明该校学生的每周兼职小时数与夜间睡眠之间存在线性关系(负关系)。(e) 不支持:这是观察性研究,关联并不能表明减少兼职会使睡眠增加;其他变量可能同时影响两者。(a) 2 points2 分
The parameter must be defined in words with the population. The question asks about any linear relationship, so the alternative is two-sided.参数必须用文字并带上总体来定义。问题问的是是否存在任何线性关系,所以备择假设(alternative hypothesis)为双侧。
(b) 2 points2 分
Independence: a random sample, with $15\lt0.10\times1200=120$. Linear and Equal variance come from the residual plot description; Normal from the Normal probability plot of the residuals. The information is given, so each condition must be stated and tied to it.独立性:随机样本,且 $15\lt0.10\times1200=120$。线性与等方差来自对残差图的描述;正态来自残差的正态概率图。信息已给出,所以每个条件都要写出并与之对应。
(c) 2 points2 分
$t=\dfrac{b}{SE_b}=\dfrac{-2.7437}{0.9606}=-2.856\approx-2.86$, matching the T column. $df=n-2=13$. The two-sided $P$-value is 0.013 (TI-84 LinRegTTest: $p=0.0135$).$t=\dfrac{b}{SE_b}=\dfrac{-2.7437}{0.9606}=-2.856\approx-2.86$,与输出中的 T 列一致。$df=n-2=13$。双侧 $P$ 值为 0.013(TI-84 LinRegTTest:$p=0.0135$)。
(d) 1 point1 分
$P=0.013\lt\alpha=0.05$, so reject $H_0$. Conclude in context with the population: convincing evidence of a linear relationship between weekly work hours and nightly sleep for students at this school.$P=0.013\lt\alpha=0.05$,故拒绝 $H_0$。结合情境与总体作结论:有令人信服的证据表明该校学生的每周兼职小时数与夜间睡眠之间存在线性关系。
(e) 1 point1 分
The counselor sampled students and did not assign work hours. Only random assignment of the explanatory variable supports cause and effect.辅导员抽取了学生,但没有分配兼职时间。只有对解释变量的随机分配才支持因果结论。
Where this goes wrong: stating hypotheses about $b$; treating the output $P$ as a one-sided value; writing 'we accept $H_0$' or 'we proved' instead of 'convincing evidence'; and moving from a significant slope to a causal claim in an observational study.容易出错的地方:对 $b$ 设假设;把输出的 $P$ 当作单侧值;写“接受 $H_0$”或“证明了”而不是“令人信服的证据”;以及在观察性研究中由显著的斜率直接得出因果结论。
- Name the inference procedure for Question 1 and define its parameter.写出问题 1 的推断方法并定义其参数。 [2]
- Name the inference procedure for Question 2 and define its parameter.写出问题 2 的推断方法并定义其参数。 [2]
- An analyst says: 'Both questions use the same two columns of scores, so one two-sample $t$-test will answer both.' Explain the flaw.一位分析员说:“两个问题用的是同样的两列分数,所以一个两样本 $t$ 检验就能回答两者。”请指出其缺陷。 [1]
population regression line)斜率的 $t$ 检验;参数是 $\beta$,即这些学生后测分数对前测分数回归的真实斜率,$H_0:\beta=0$。(c) 两个分数来自同一批学生,不是两个独立样本;而且两样本检验两个问题都回答不了:问题 1 需要差值,问题 2 需要斜率。(a) 2 points2 分
Question 1 asks about an average change on the same individuals, so the data are paired: analyse the 24 differences with a one-sample $t$ procedure. The parameter $\mu_d$ is the true mean of posttest minus pretest for the population.问题 1 询问同一批个体的平均变化,数据是配对的:用单样本 $t$ 程序分析 24 个差值。参数 $\mu_d$ 是总体中后测减前测的真实均值。
(b) 2 points2 分
Question 2 asks how one quantitative variable changes with another and whether a linear relationship exists, so it calls for a $t$-test for the slope with $df=n-2=22$. Define $\beta$ in words with the population.问题 2 询问一个定量变量如何随另一个变化以及是否存在线性关系,所以用斜率的 $t$ 检验,$df=n-2=22$。要用文字并带上总体定义 $\beta$。
(c) 1 point1 分
A two-sample procedure needs two independent groups; here each student contributes both scores, and neither a mean difference nor a slope is what a two-sample test estimates.两样本程序需要两个独立组;这里每名学生同时提供两个分数,而两样本检验估计的既不是平均差也不是斜率。
Where this goes wrong: letting 'two columns of numbers' pick the procedure; using a paired $t$ for the predictive question, or a slope for the average-change question; and defining a parameter with no population attached.容易出错的地方:让“两列数字”来选择方法;把配对 $t$ 用于预测问题,或把斜率用于平均变化问题;以及定义参数时不带总体。
| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 53.39 | 2.920 | 18.29 | 0.000 |
| Time | 0.2287 | 0.0578 | 3.96 | 0.003 |
S = 3.4541 R-Sq = 61.0% R-Sq(adj) = 57.1%The baker wants to know whether longer proofing time increases the mean rise.
residual plot)没有模式且散布恒定,残差大致服从正态分布。回归输出如下。| Predictor | Coef | SE Coef | T | P |
|---|---|---|---|---|
| Constant | 53.39 | 2.920 | 18.29 | 0.000 |
| Time | 0.2287 | 0.0578 | 3.96 | 0.003 |
S = 3.4541 R-Sq = 61.0% R-Sq(adj) = 57.1%面包师想知道发酵时间更长是否会使平均升高量增大。
- Define the parameter and state the hypotheses.定义参数并写出假设。 [1]
- Explain why the Independent condition is met and why no 10% condition is needed.说明为什么独立条件成立,以及为什么不需要 10% 条件。 [1]
- Give the test statistic, the degrees of freedom and the $P$-value for the baker's question.给出针对面包师问题的检验统计量、自由度与 $P$ 值。 [3]
- State the conclusion at the 5% significance level, in context, and decide whether a cause-and-effect conclusion is justified.在 5% 显著性水平下结合情境写出结论,并判断能否得出因果结论。 [2]
- Without computing an interval, decide whether a 99% confidence interval for $\beta$ would contain 0. Justify your answer using the output.不计算区间,判断 $\beta$ 的 99% 置信区间是否包含 0。请用输出说明理由。 [1]
(a) 1 point1 分
$\beta$ defined in words with the process: the true slope of the line relating mean rise to proofing time. The baker suspects an increase, so the alternative is one-sided.用文字结合过程定义 $\beta$:平均升高量与发酵时间之间直线的真实斜率。面包师怀疑是增加,所以备择假设(alternative hypothesis)为单侧。
(b) 1 point1 分
In a randomized experiment, random assignment supplies independence. The 10% condition is for sampling without replacement from a population, which did not happen here.在随机化实验中,随机分配提供独立性。10% 条件适用于从总体中不放回抽样,而这里并没有发生。
(c) 3 points3 分
$t=\dfrac{b}{SE_b}=\dfrac{0.2287}{0.0578}=3.96$ (1 point); $df=n-2=10$ (1 point). The output reports a two-sided $P=0.003$. For $H_a:\beta\gt0$ with a positive $b$, halve it, or use tcdf(3.96, 1E99, 10): $P\approx0.0014$ (the output's 0.003 halved is 0.0013 to rounding) (1 point).$t=\dfrac{b}{SE_b}=\dfrac{0.2287}{0.0578}=3.96$(1 分);$df=n-2=10$(1 分)。输出给出双侧 $P=0.003$。对 $H_a:\beta\gt0$ 且 $b$ 为正,减半或用 tcdf(3.96, 1E99, 10):$P\approx0.0014$(输出的 0.003 减半为 0.0013,差异来自舍入)(1 分)。
(d) 2 points2 分
Compare $P$ with $\alpha$: $0.0014\lt0.05$, reject $H_0$, and state the conclusion in context (1 point). Random assignment of the explanatory variable is what justifies a causal conclusion (1 point).把 $P$ 与 $\alpha$ 比较:$0.0014\lt0.05$,拒绝 $H_0$,并结合情境写出结论(1 分)。对解释变量的随机分配是得出因果结论的依据(1 分)。
(e) 1 point1 分
A two-sided test at level $\alpha$ rejects exactly when the $(1-\alpha)$ interval excludes 0. The two-sided $P=0.003$ is below 0.01, so the 99% interval excludes 0; for 10 degrees of freedom $t^*=3.169$ gives $0.2287\pm0.183$, about $(0.046,\ 0.412)$.水平 $\alpha$ 的双侧检验拒绝 $H_0$ 当且仅当 $(1-\alpha)$ 区间不含 0。双侧 $P=0.003$ 小于 0.01,所以 99% 区间不含 0;自由度(degrees of freedom) 10 时 $t^*=3.169$ 给出 $0.2287\pm0.183$,约 $(0.046,\ 0.412)$。
Where this goes wrong: asking for a 10% check in an experiment; using the two-sided output $P$ for a one-sided alternative; stopping at 'significant' without a conclusion in context; and refusing a causal conclusion even though the proofing times were randomly assigned.容易出错的地方:在实验中要求 10% 检查;对单侧备择使用输出的双侧 $P$;只说“显著”而不结合情境下结论;以及明明发酵时间是随机分配的却拒绝给出因果结论。
Source:来源: Dingrui Study Guide, Unit 12. Slope inference has no topic in the College Board AP Statistics CED effective fall 2026.Dingrui 学习指南第 12 单元。斜率推断在 College Board AP 统计学 2026 年秋季生效的 CED 中没有对应主题。