Do Those Points Align? (Extension)
引入
7:59
定量数据的推断:斜率
这是散点图上的一个班级:底部为复习小时数,侧面为考试分数。最佳拟合线呈上升趋势。但这只是一个班级。取一个…
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| slope/sləʊp/ | 斜率 | xié lǜ |
| sample/ˈsæmpl/ | 样本 | yàng běn |
| inference/ˈɪnfərəns/ | 统计推断 | tǒng jì tuī duàn |
| sampling distribution/ˈsæmplɪŋ ˌdɪstrɪˈbjuːʃn/ | 抽样分布 | chōu yàng fēn bù |
| linear model/ˈlɪnɪə ˈmɒdl/ | 线性模型 | xiàn xìng mó xíng |
| independent errors | 独立误差 | dú lì wù chā |
| mean/miːn/ | 均值 | jūn zhí |
| unbiased/ʌnˈbaɪəst/ | 无偏 | wú piān |
| standard error of the slope | 斜率的标准误 | xié lǜ de biāo zhǔn wù |
| estimate/ˈestɪmət/ | 估计值 | gū jì zhí |
| sampling SD | 抽样标准差 | chōu yàng biāo zhǔn chà |
| normal errors | 正态误差 | zhèng tài wù chā |
| degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | 自由度 | zì yóu dù |
| line of best fit/laɪn ɒv best fɪt/ | 最佳拟合直线 | zuì jiā nǐ hé zhí xiàn |
| linear relationship/ˈlɪnɪə rɪˈleɪʃənʃɪp/ | 线性关系 | xiàn xìng guān xì |
| confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ | 置信区间 | zhì xìn qū jiān |
| test/test/ | 假设检验 | jiǎ shè jiǎn yàn |
| least-squares regression/liːst skweəz rɪˈɡreʃn/ | 最小二乘回归 | zuì xiǎo èr chéng huí guī |
| error bars/ˈerə bɑːz/ | 误差线 | wù chā xiàn |
| random sample/ˈrændəm ˈsæmpl/ | 随机样本 | suí jī yàng běn |
| sample statistic | 样本统计量 | yàng běn tǒng jì liàng |
| regression slope | 回归斜率 | huí guī xié lǜ |
| target population | 目标总体 | mù biāo zǒng tǐ |
| sampling variability/ˈsæmplɪŋ ˌveərɪəˈbɪlɪti/ | 抽样变异 | chōu yàng biàn yì |
| sampled population | 抽样总体 | chōu yàng zǒng tǐ |
| linear-model assumptions | 线性模型假设 | xiàn xìng mó xíng jiǎ shè |
| standardized statistic | 标准化统计量 | biāo zhǔn huà tǒng jì liàng |
斜率也会变动
- 在第 2 单元,我们拟合了一条最小二乘直线,并读出它的斜率 $b$。
- 但 $b$ 来自一个样本——不同的样本可能给出不同的斜率。
- 所以斜率在样本之间变动,就像 $\bar{x}$ 或 $\hat{p}$ 一样。
- 第 9 单元对数据背后的真实斜率 $\beta$ 做统计推断;斜率推断是修订后的 AP 考试范围之外的拓展内容。
b 的抽样分布
- 收集每一个可能的样本的斜率 $b$ → 得到它的抽样分布。
- 在线性模型中,如果每个 $x$ 处的误差相互独立且均值为零,那么 $b$ 以真实总体斜率 $\beta$ 为中心(给定 $x$ 的值时是无偏的)。
- 斜率的标准误 $SE_b$ 用来估计 $b$ 的分散程度;它不是未知的精确抽样标准差。
- 如果正态误差相互独立且标准差恒定,那么 $(b-\beta)/SE_b$ 服从自由度为 $n-2$ 的 $t$ 分布;未经标准化的 $b$ 则不服从该分布。

一条最佳拟合直线穿过散点的中间部分
关于关系的推断
- 斜率推断问的是:到底有没有线性关系,以及关系有多强?
- 真实斜率 $\beta$ 未知;$b$ 对它的估计存在不确定性。
- 置信区间给出 $\beta$ 的一个范围;假设检验判断 $\beta = 0$ 是否成立。
- 两者都量化我们对散点背后那条线有多确信。
建立在第 2 单元之上
- 一切都建立在最小二乘回归模型 $\hat{y} = a + bx$ 的基础上。
- $b$ 仍表示 $x$ 每增加一个单位时,$y$ 的预测变化量——现在还带有误差线。
- 我们为该斜率增加一个基于 $t$ 的区间和检验。
- 回归推断就是“第 2 单元的斜率,加上第 7 单元的 $t$ 推断方法”。
**一个样本得到的斜率 $b$ 是一个估计,而非真值 $\beta$。**另一个随机样本可能给出不同的 $b$。斜率推断与均值推断的逻辑完全相同——围绕一个样本统计量构造基于 $t$ 的区间和检验——只是应用到回归斜率上,并使用它自己的标准误 $SE_b$。
用一个班的学习时长和分数拟合直线,得到斜率 $b = 4.2$。
- 从同一目标总体中抽取的另一个随机样本可能得到 $b=3.8$ 或 $4.6$——这就是抽样变异性。
- 抽样总体的真实斜率 $\beta$ 未知;$b = 4.2$ 对它进行估计。
- 第 9 单元为那个未知的 $\beta$ 建立区间和检验。
拟合直线的斜率 $b$ 在样本之间变动;在线性模型假设下,它是 $\beta$ 的无偏估计,$SE_b$ 用来估计它的分散程度。如果正态误差相互独立且标准差恒定,标准化统计量 $(b-\beta)/SE_b$ 服从 $t$ 分布,而未经标准化的 $b$ 则不服从该分布。斜率推断量化关于真实线性关系的不确定性,直接建立在最小二乘回归模型之上。
根据这个例子写一写
- 从同一个线性关系中抽取多个随机样本。
- 每个样本都有自己的最小二乘斜率。
Repeated random samples from one fixed linear population relationship give different least-squares slopes. Why can they differ?
A new random sample can produce a different fitted slope through sampling variability, while the population slope remains fixed.
What varies across samples?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Sample slopes differ. The population slope is fixed.
A fitted slope varies by sample
Each sample's least-squares line has a slightly different slope b.
The slope b from a sample is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
b estimates the unknown population slope β, with uncertainty.
Under the linear regression model with independent mean-zero errors conditional on x, the sample slope b is unbiased for β.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
b is unbiased for β.
With independent normal errors of constant SD, which reference distribution applies to (b − β)/SE_b?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The standardized slope statistic follows t with n − 2 degrees of freedom; this does not mean the raw slope b has a t distribution.
Regression inference builds on the least-squares model ŷ = a + bx from Unit 2.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
It adds a t-interval and test around the Unit 2 slope.
The estimated sampling spread of b is the standard error of the ___ (one word).
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
SE_b is the standard error of the slope.
出了什么问题?只有网站团队能看到这些信息。