Carrying Out a Test for the Slope (Extension)
引入
7:59
定量数据的推断:斜率
这是散点图上的一个班级:底部为复习小时数,侧面为考试分数。最佳拟合线呈上升趋势。但这只是一个班级。取一个…
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| test statistic/test stəˈtɪstɪk/ | 检验统计量 | jiǎn yàn tǒng jì liàng |
| Slope inference | 斜率推断 | xié lǜ tuī duàn |
| standard errors/ˈstændəd ˈerəz/ | 标准误 | biāo zhǔn wù |
| p-value/piː ˈvæljuː/ | p值 | p zhí |
| Two-sided/tuː ˈsaɪdɪd/ | 双侧 | shuāng cè |
| two-tailed/tuː teɪld/ | 双尾 | shuāng wěi |
| One-sided/wʌn ˈsaɪdɪd/ | 单侧 | dān cè |
| alternative/ɔːlˈtɜːnətɪv/ | 备择假设 | bèi zé jiǎ shè |
| tail probability | 尾部概率 | wěi bù gài lǜ |
| regression model | 回归模型 | huí guī mó xíng |
| reject/rɪˈdʒekt/ | 拒绝 | jù jué |
| linear relationship/ˈlɪnɪə rɪˈleɪʃənʃɪp/ | 线性关系 | xiàn xìng guān xì |
| fail to reject/feɪl tə rɪˈdʒekt/ | 不拒绝 | bù jù jué |
| variables/ˈveərɪəblz/ | 变量 | biàn liàng |
| sample slope/ˈsæmpl sləʊp/ | 样本斜率 | yàng běn xié lǜ |
| fitted slope | 拟合斜率 | nǐ hé xié lǜ |
| null/nʌl/ | 原假设 | yuán jiǎ shè |
检验统计量
- 斜率推断是修订后的 AP 考试范围之外的拓展内容。斜率检验统计量以标准误为单位,把 $b$ 与 $0$ 比较:
-
$$t = \frac{b}{SE_b}$$
- $b$ 和 $SE_b$ 都直接来自计算机输出。
- 输出中通常已经列出了这个 $t$(及其 p 值)。
求 p 值
- 使用 $t$ 分布,其中 $df = n - 2$。
- **双侧 $H_a$:**使用标准输出的 p 值(已经是双尾 p 值)。
- **单侧 $H_a$:**如果 $b$ 在所声称的方向上,就将标准双侧 p 值减半;否则使用 $1-p_{two}/2$。确认软件报告的是哪个备择假设。
- 假设 $\beta=0$ 和回归模型成立,p 值就是在 $H_a$ 指定的一个或多个方向上,出现至少同样极端结果的尾部概率。

斜率的 t 统计量及其双侧 p 值
做出决策
- 把 p 值与 $\alpha$ 比较:
- p $\le \alpha$ → 拒绝 $H_0$:有令人信服的证据表明存在线性关系。
- p $> \alpha$ → 不拒绝:没有令人信服的证据。
- 这是标准决策规则。
结合语境得出结论
- 针对实际变量之间的线性关系陈述结论。
- “有令人信服的证据表明小时数与分数之间存在正线性关系”(如果拒绝原假设)。
- 或者说“没有令人信服的证据表明存在线性关系”(如果不拒绝原假设)。
- 不拒绝原假设永远不能证明 $\beta = 0$。
计算机输出的 p 值是双侧的——对于单侧 $H_a$,要将它减半(且仅当样本斜率指向 $H_a$ 所声称的方向时)。使用 $df = n - 2$,并从输出中读取 $t = b/SE_b$,不必重新计算。和往常一样,“不拒绝”意味着证据不足,不能证明不存在关系。
输出:$b = 4.2$,$SE_b = 1.0$,$n=20$;双侧 p 值 $\approx 0.000538$;$H_a: \beta > 0$,$\alpha = 0.05$。
- $t = \dfrac{4.2}{1.0} = 4.2$($df = 20-2=18$)。
- 单侧 p 值:$0.000538 / 2 \approx 0.000269$($b > 0$ 与 $H_a$ 一致)。
- 决策:$0.000269 \le 0.05$ → 拒绝 $H_0$;有令人信服的证据表明存在正线性关系。
根据输出计算斜率的 $t = \frac{b}{SE_b}$,在 $df = n - 2$ 处求出 p 值(对于单侧 $H_a$,如果观测到的斜率与其方向一致,就使用双侧 p 值的一半;否则使用该半值的补数),并与 $\alpha$ 比较:如果 p $\le \alpha$,则拒绝 $H_0$(有令人信服的证据表明存在线性关系),否则不拒绝;结合语境陈述结论。
根据数据作答:求检验统计量
- 拟合斜率为 1.5。
- 其标准误为 0.5;检验原假设 $\beta=0$。
For H0 β = 0, the fitted slope is b = 1.5 and its standard error is SE_b = 0.5. What is the t statistic?
t for a slope is the estimate divided by its standard error.
For H0 β = 0, the fitted slope is b = 1.5 and its standard error is SE_b = 0.5. What is the t statistic?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
1.5 divided by 0.5 is 3. Other options — 4.2 (the other regression); 1.5 (the slope).
Testing the fitted slope against zero
t = b/SE_b measures how far the slope sits from 0.
b = 4.2, SE_b = 1.0. Compute the slope test statistic t = b/SE_b.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
4.2 / 1.0 = 4.2.
A two-sided output p-value is 0.001. For a one-sided Ha (with b in the claimed direction), what is the p-value?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Halve the two-sided value: 0.001 / 2 = 0.0005.
With a p-value of 0.0005 and α = 0.05, the decision is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
0.0005 ≤ 0.05 → reject H0.
Standard regression coefficient output commonly reports a two-sided p-value for testing the slope against zero; confirm the software’s stated alternative.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
For the standard symmetric t test, use p-two/2 only when the observed slope matches a preplanned one-sided alternative; use 1 − p-two/2 in the opposite direction.
Rejecting H0: β = 0 lets you conclude...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Reject the flat-line null → a real linear relationship.
出了什么问题?只有网站团队能看到这些信息。