A Confidence Interval for the Slope (Extension)
引入
7:59
定量数据的推断:斜率
这是散点图上的一个班级:底部为复习小时数,侧面为考试分数。最佳拟合线呈上升趋势。但这只是一个班级。取一个…
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| Slope inference | 斜率推断 | xié lǜ tuī duàn |
| Linear/ˈlɪnɪə/ | 线性 | xiàn xìng |
| responses | 响应变量 | xiǎng yìng biàn liàng |
| random sample/ˈrændəm ˈsæmpl/ | 随机样本 | suí jī yàng běn |
| experiment/ekˈsperɪmənt/ | 实验 | shí yàn |
| Residuals/rɪˈsɪdʒuːəlz/ | 残差 | cán chà |
| fitted values | 拟合值 | nǐ hé zhí |
| residual histogram | 残差直方图 | cán chà zhí fāng tú |
| normal probability plot | 正态概率图 | zhèng tài gài lǜ tú |
| independence/ˌɪndɪˈpendəns/ | 独立性 | dú lì xìng |
| residual plots | 残差图 | cán chà tú |
| slope/sləʊp/ | 斜率 | xié lǜ |
| explanatory variable/ekˈsplænətəri ˈveərɪəbl/ | 解释变量 | jiě shì biàn liàng |
| estimate/ˈestɪmət/ | 估计值 | gū jì zhí |
| standard error/ˈstændəd ˈerə/ | 标准误 | biāo zhǔn wù |
| p-value/piː ˈvæljuː/ | p值 | p zhí |
| confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ | 置信区间 | zhì xìn qū jiān |
| population slope | 总体斜率 | zǒng tǐ xié lǜ |
| margin of error/ˈmɑːdʒɪn ɒv ˈerə/ | 误差界 | wù chā jiè |
| intercept/ˌɪntəˈsept/ | 截距 | jié jù |
| confidence level/ˈkɒnfɪdəns ˈlevl/ | 置信水平 | zhì xìn shuǐ píng |
| parameters/pəˈræmɪtəz/ | 参数 | cān shù |
| degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | 自由度 | zì yóu dù |
LINER 条件
- 斜率推断是修订后的 AP 考试范围之外的拓展内容。它的五个条件可用 LINER 来记忆:
- Linear(真实关系是线性的)· Independent(观测相互独立)。
- Normal(响应变量在线的周围呈正态分布)· Equal SD(不同 $x$ 处的散布程度恒定)。
- Random(数据来自合适的随机样本或实验)。用残差对拟合值或 $x$ 的图检查 L 和 E;用残差直方图或正态概率图检查 N。通过研究设计检查独立性;残差图不能证明独立性。
读计算机输出
- 斜率推断几乎总是从计算机输出开始。
- 找到解释变量那一行:它的估计值就是斜率 $b$。
- 下一列是标准误 $SE_b$。
- 输出还报告 $t$ 统计量和 p 值,但我们先构建区间。

置信区间给出了总体斜率的合理取值范围
构建 t 区间
- 斜率区间为估计值 $\pm$ 误差幅度:
-
$$b \pm t^{*}\, SE_b$$
- 使用满足 $df = n - 2$ 的 $t$ 分布(估计了两个参数:斜率和截距)。
- $t^{*}$ 从该 $df$ 中根据所选的置信水平得出。
结合语境解读
- “我们有 $95\%$ 的把握认为,真实斜率 $\beta$ 在两个端点之间。”
- 说明斜率的含义:$x$ 每增加一个单位时,$y$ 的预测变化量。
- 点明实际变量和单位。
- 该区间是 $\beta$ 的一个合理取值范围。
**斜率推断使用 $df = n - 2$,而不是 $n - 1$。**估计了两个参数(斜率和截距),因此损失两个自由度。直接从输出中读取 $b$ 和 $SE_b$,不要重新计算。记住该区间为 $b \pm t^{*}SE_b$,与其他所有 $t$ 区间一样,均采用估计值 $\pm$ 误差幅度的形式。
根据学习时间(小时)预测测试成绩(分数)的输出如下:斜率 $b = 4.2$,$SE_b = 1.0$,$n = 20$。构建一个 $95\%$ 区间。($df = 18$,$t^{*} \approx 2.10$。)
- 误差幅度:$2.10 \times 1.0 = 2.10$。
- 区间:$4.2 \pm 2.10 = (2.1,\ 6.3)$。
- **解读:**我们有 $95\%$ 的把握认为,学习时间每增加一小时,预测成绩会增加 $2.1$ 到 $6.3$ 分。

满足 LINER 条件后,从输出中读取 $b$ 和 $SE_b$,使用 $df = n - 2$ 构建斜率的 $t$ 区间 $b \pm t^{*}\,SE_b$。结合语境解读:它是真实斜率 $\beta$ 的一个合理取值范围(斜率表示 $x$ 每增加一个单位时,$y$ 的预测变化量)。
从斜率估计值 0.8 推导
- 计算机输出显示斜率为 0.8,标准误为 0.1。
- 共有 16 个观测值;构建斜率区间时使用 $df=16-2=14$。
Regression output gives slope b = 0.8 and standard error SE_b = 0.1 from 16 observations. What is the point estimate of the population slope?
The fitted slope is the point estimate.
Regression output gives slope b = 0.8 and standard error SE_b = 0.1 from 16 observations. What is the point estimate of the population slope?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The output slope is the estimate. Other options — 0.1 (the standard error); 2.1 (the other output).
The fitted slope and its uncertainty
The interval b ± t*·SE_b gives plausible values for the true slope.
For slope inference with n = 20, what are the degrees of freedom (n − 2)?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
df = n − 2 = 18 (slope and intercept estimated).
b = 4.2, SE_b = 1.0, t* = 2.10. Find the margin of error t*·SE_b.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
2.10 × 1.0 = 2.10.
In computer regression output, the slope b is found in the column labeled...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The explanatory variable's estimate is the slope.
Slope inference uses n − 1 degrees of freedom.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
It's n − 2 — two parameters (slope and intercept) are estimated.
The mnemonic for the five slope-inference conditions is ___ (five letters).
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Linear, Independent, Normal, Equal SD, Random.
出了什么问题?只有网站团队能看到这些信息。