Setting Up a Test for the Slope (Extension)
引入
7:59
定量数据的推断:斜率
这是散点图上的一个班级:底部为复习小时数,侧面为考试分数。最佳拟合线呈上升趋势。但这只是一个班级。取一个…
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| slope/sləʊp/ | 斜率 | xié lǜ |
| slope test | 斜率检验 | xié lǜ jiǎn yàn |
| population/ˌpɒpjʊˈleɪʃn/ | 总体 | zǒng tǐ |
| linear relationship/ˈlɪnɪə rɪˈleɪʃənʃɪp/ | 线性关系 | xiàn xìng guān xì |
| one-sided/wʌn ˈsaɪdɪd/ | 单侧 | dān cè |
| regression line/rɪˈɡreʃn laɪn/ | 回归直线 | huí guī zhí xiàn |
| linear model/ˈlɪnɪə ˈmɒdl/ | 线性模型 | xiàn xìng mó xíng |
| nonlinear dependence | 非线性相关 | fēi xiàn xìng xiāng guān |
| Linear/ˈlɪnɪə/ | 线性 | xiàn xìng |
| two-tailed/tuː teɪld/ | 双侧 | shuāng cè |
| null hypothesis/nʌl haɪˈpɒθəsɪs/ | 原假设 | yuán jiǎ shè |
| interval/ˈɪntəvl/ | 置信区间 | zhì xìn qū jiān |
| Residuals/rɪˈsɪdʒuːəlz/ | 残差 | cán chà |
| fitted values | 拟合值 | nǐ hé zhí |
| linearity/lɪˈnɪərɪti/ | 线性 | xiàn xìng |
| Equal SD | 标准差相等 | biāo zhǔn chà xiāng děng |
| residual histogram | 残差直方图 | cán chà zhí fāng tú |
| normal probability plot | 正态概率图 | zhèng tài gài lǜ tú |
| normality | 正态性 | zhèng tài xìng |
| independence/ˌɪndɪˈpendəns/ | 独立性 | dú lì xìng |
| regression/rɪˈɡreʃn/ | 回归 | huí guī |
| one-mean $t$-test | 单样本均值$t$检验 | dān yàng běn jūn zhí $t$ jiǎn yàn |
| test statistic/test stəˈtɪstɪk/ | 检验统计量 | jiǎn yàn tǒng jì liàng |
| sample estimate | 样本估计值 | yàng běn gū jì zhí |
| hypothesis/haɪˈpɒθəsɪs/ | 假设 | jiǎ shè |
| quantitative variables | 定量变量 | dìng liàng biàn liàng |
| observations | 观测值 | guān cè zhí |
| degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | 自由度 | zì yóu dù |
| one-mean | 单样本均值 | dānyàngběn jūnzhí |
| test/test/ | 检验 | jiǎnyàn |
斜率假设
- 斜率检验用于判断总体中是否存在线性关系;这是修订后的 AP 考试范围之外的拓展内容。
- 原假设 $H_0: \beta = 0$——斜率为零。
- 备择假设 $H_a$:$\beta \ne 0$(存在某种关系),或单侧的 $\beta > 0$ / $\beta < 0$。
- 默认的 $H_0$ 几乎总是“$\beta = 0$”。
为什么 β = 0 意味着“没有关系”
- 如果真实斜率 $\beta = 0$,回归直线就是水平的。
- 在线性模型中,水平的均值线在每个 $x$ 处预测的均值 $y$ 都相同;仅凭斜率为零,不能排除非线性相关。
- 所以 $\beta = 0$ 恰好表示“没有线性关系”。
- 拒绝 $H_0$ 意味着数据支持存在真实的线性关系。

双侧 5% 检验在阴影尾部拒绝原假设
验证条件
- 检查与置信区间相同的 LINER 条件:
- Linear(线性)、Independent(独立)、Normal(正态)、Equal SD(标准差相等)、Random(随机)。
- 用残差与 $x$ 或拟合值的关系图评估线性和标准差相等条件;用残差直方图或正态概率图评估正态性。根据研究设计检查独立性。
- 只有满足这些条件,斜率的 $t$ 模型才有效。
正确的检验
- 该方法是斜率的 $t$ 检验,其中 $df = n - 2$。
- 它是单样本均值 $t$ 检验在回归中的对应方法$t$。
- 检验统计量(下一节课介绍)以 $SE_b$ 为单位比较 $b$ 和 $0$。
- 所需信息都从同一份计算机输出中读取。
Testing the fitted slope against zero
t = b/SE_b measures how far the slope sits from 0.
原假设是 $\beta = 0$(水平线 = 没有线性关系),$df$ 是 $n - 2$。不要检验“$b = 0$”——$b$ 是样本估计值;假设是关于总体斜率 $\beta$ 的。并且要在看到输出之前,根据题目选定单侧或双侧的 $H_a$。
学习时间越长与分数越高有关吗?
- $H_0: \beta = 0$(学习小时数与分数之间没有线性关系)。
- $H_a: \beta > 0$(学习小时数越多 → 分数越高)——这是一个单侧主张。
- 检查条件后,我们将进行斜率的 $t$ 检验,其中 $df = n - 2$。
斜率检验提出**$H_0: \beta = 0$(没有线性关系),并与单侧或双侧的 $H_a$ 对立。在检查 LINER 条件后,使用斜率的 $t$ 检验**,其中 $df = n - 2$。斜率为 $0$ 意味着回归均值线是水平的;这并不排除该模型之外的非线性关系。
根据数据作答:找出原假设中的斜率
- 一项检验用于判断两个定量变量之间是否存在线性关系。
- 共有 22 个观测值;注意区分原假设中的斜率和自由度。
A regression test with 22 observations asks whether the population slope differs from zero. What is the null slope?
No linear relationship is a slope of zero.
A regression test with 22 observations asks whether the population slope differs from zero. What is the null slope?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Zero is the slope of no linear relationship.
The usual null hypothesis for a slope test is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
H0 is about the population slope β being 0.
A true slope β = 0 means...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A zero slope gives a flat regression mean line, with no linear trend; it does not exclude nonlinear dependence outside the linear model.
The slope t-test uses what degrees of freedom for n = 20?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
df = n − 2 = 18.
The hypotheses are about the population slope β, not the sample slope b.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
b is the estimate; β is the parameter tested.
Rejecting H0: β = 0 provides evidence that...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Rejecting the flat-line null supports a real linear link.
出了什么问题?只有网站团队能看到这些信息。