Interval for a Difference of Means
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| paired differences | 配对差值 | pèi duì chā zhí |
| mean difference | 平均差值 | píng jūn chà zhí |
| observational units | 观测单位 | guān cè dān wèi |
| paired/peəd/ | 配对 | pèi duì |
| means | 均值 | jūn zhí |
| design/dɪˈzaɪn/ | 研究设计 | yán jiū shè jì |
| Independent samples/ˌɪndɪˈpendənt ˈsæmplz/ | 独立样本 | dú lì yàng běn |
| treatment/ˈtriːtmənt/ | 处理 | chǔ lǐ |
| control/kənˈtrəʊl/ | 对照 | duì zhào |
| Paired (matched-pairs) | 配对 | pèi duì |
| two-sample interval | 双样本区间 | shuāng yàng běn qū jiān |
| two-sample $t$-interval | 双样本$t$区间 | shuāng yàng běn $t$ qū jiān |
| Welch degrees of freedom | 韦尔奇自由度 | wéi ěr qí zì yóu dù |
| variance estimates | 方差估计值 | fāng chà gū jì zhí |
| random design | 随机设计 | suí jī shè jì |
| independence between groups | 组间独立性 | zǔ jiān dú lì xìng |
| 10% condition/ten pəˈsent kənˈdɪʃn/ | 百分之十条件 | bǎi fēn zhī shí tiáo jiàn |
| sampling without replacement | 不放回抽样 | bù fàng huí chōu yàng |
| data shape | 数据分布形态 | shù jù fēn bù xíng tài |
| one-sample $t$-interval | 单样本$t$区间 | dān yàng běn $t$ qū jiān |
| independence across pairs | 配对间独立性 | pèi duì jiān dú lì xìng |
| skew/skjuː/ | 偏态 | piān tài |
| outliers/ˈaʊtlaɪəz/ | 异常值 | yì cháng zhí |
| standard error/ˈstændəd ˈerə/ | 标准误 | biāo zhǔn wù |
| paired test | 配对检验 | pèi duì jiǎn yàn |
| within-pair dependence | 配对内相关性 | pèi duì nèi xiāng guān xìng |
| variability/ˌveərɪəˈbɪlɪti/ | 变异性 | biàn yì xìng |
| two-sample | 双样本 | shuāngyàngběn |
| interval/ˈɪntəvl/ | 区间 | qūjiān |
| one-sample | 单样本 | dānyàngběn |
| interval/ˈɪntəvl/ | 区间 | qūjiān |
| two-sample | 双样本 | shuāngyàngběn |
| interval/ˈɪntəvl/ | 区间 | qūjiān |
计算不确定性前先配对
- 同样的三名跑步者在前后的时间分别为(12,10)、(15,12)和(11,10)分钟。用之前的时间减去之后的时间。
- 配对差值为 2、3 和 1 分钟,平均差值为 2 分钟。本分析中的观测单位是三对数据,而不是六个独立测量值。

独立还是配对?
- 比较两个均值时,首先要考虑关于设计的一个关键问题。独立样本:两个分开的组(例如处理组与对照组)。
- 配对(匹配对):对同一受试者或相互匹配的受试者进行两次测量(前后对比)。设计决定了使用哪种方法——首先要判断正确。

两样本区间
- 对于独立样本,使用两样本 $t$ 区间$t$估计 $\mu_1 - \mu_2$:$$(\bar{x}_1 - \bar{x}_2) \pm t^{*}\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}$$
- 使用韦尔奇自由度(用计算器求出)或较保守的较小 $n_i-1$ 来选择 $t^*$。根号下的方差估计值相加(每组的 $\frac{s^2}{n}$)。检查随机设计、组间独立性、不放回抽样时的 10% 条件,以及每组的数据分布形态。
配对区间
- 对于配对数据,首先计算每对的差值 $d = x_1 - x_2$。然后对差值使用单样本 $t$ 区间:
- $$\bar{d} \pm t^{*}\frac{s_d}{\sqrt{n}}$$$n$ 是配对的数量;$df = n - 1$。检查随机设计和配对间独立性,并检查差值是否存在偏态或异常值。
Measuring the same runners before and after training is which design?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Same subjects measured twice → paired.
For paired data, the correct interval is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Collapse pairs to differences, then one-sample t.
For a two-sample t-interval, the two variances are added under the square root.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
SE = √(s1²/n1 + s2²/n2).
Analyzing paired data as two independent samples gives the correct standard error.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
It ignores dependence within pairs. The resulting standard error need not always be larger; analyse the paired differences.
The key question that decides the procedure is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Linked → paired; unlinked → two-sample.
Match the design to the shape check for its t analysis.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Paired analysis works with differences as the observations. Marginal normal-looking groups do not automatically establish a suitable differences distribution.
Which are needed for a paired t analysis?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The within-pair relationship is the reason to use differences. Independence is required across the observational pairs.
让方法匹配设计
- 将配对数据作为两个独立样本分析 → 标准误错误,结果也错误。将独立数据强行用于配对检验 → 也会出错。
- 判断依据:组 $1$ 中的每个值是否都与组 $2$ 中的一个值自然关联?如果是 → 配对;如果不是 → 两样本。
x-bar-1 − x-bar-2 的分布
以 μ1 − μ2 为中心;两个方差在根号下相加。
设计决定方法。如果受试者相互匹配或接受了两次测量(前后对比),则属于配对数据——将数据归结为差值,并使用单样本 $t$ 区间,即单样本 $t$ 区间。如果两组是分开的且没有关联,则使用两样本 $t$ 区间。对配对数据使用两样本公式会忽略配对内相关性,通常会得到错误的标准误。误差的方向取决于配对内的关系。
测量每名跑步者训练前和后的时间。
- 同样的跑步者,两次测量 → 配对。
- 计算每名跑步者的差值 $d = \text{before} - \text{after}$。
- 对这些 $d$ 构建单样本 $t$ 区间(不是双样本区间)。
将推理应用于新情况
- 配对标准误使用差值的变异性。
- 忽略配对并不总是增大标准误;其影响取决于配对内的关系。
For before/after pairs (12,10), (15,12), (11,10) minutes, compute the mean before-minus-after difference.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The differences 2, 3 and 1 sum to 6, so the mean across three pairs is 2.
比较两个均值:独立样本使用两样本 $t$ 区间$t$ $(\bar{x}_1 - \bar{x}_2) \pm t^{*}\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}$;配对数据归结为差值,使用单样本 $t$ 区间 $\bar{d} \pm t^{*}\frac{s_d}{\sqrt{n}}$。让方法匹配设计,并检查两组是否满足条件。
根据配对研究写出结论
- 同一批 20 人在训练周前后接受测量。
- 将这 20 人视为 20 对数据,计算每个人的一次差值。
The same 20 people are measured before and after training. Should the two sets of measurements be analysed as independent samples? Explain the t procedure.
Two measurements on one person are paired.
What kind of study is before and after on the same people?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The pair is the person.
出了什么问题?只有网站团队能看到这些信息。