Skip to content

Statistical hypothesis testing

AQA A-Level Mathematics Topic 15 6:53 English narration · English and 中文 subtitles you can switch

space play · ←/→ 5s · j/l 10s · f fullscreen · c subtitles · ,/. speed

Chapters

Transcript
Every hypothesis test follows the same five steps. 每次假设检验都遵循相同的五个步骤。
State the null and alternative hypotheses about a population parameter, before seeing the data. 在看到数据之前,先陈述关于总体参数的原假设和备择假设。
Write the model that holds if the null is true. 写出原假设成立时所遵循的模型。
Find the probability of a result at least as extreme as the one observed. 求出结果至少与观察结果一样极端的概率。
Compare it with the significance level. 把它与显著性水平比较。
Then conclude in context, never claiming that anything is proven. 然后结合情境作出结论,绝不声称已经证明了什么。
A factory claims that 10 percent of its items are defective. 一家工厂声称其产品的次品率为 百分之10。
A sample of 10 contains 3 faulty items. 一个包含 10 件产品的样本中有 3 件次品。
Does that prove the rate is higher? 这能证明次品率更高吗?
Not by itself. 单凭这一点不能。
If the claim is true, the number of defects is binomial with n 10 and p 0.1. 如果这一说法成立,次品数量服从 n 为 10、p 为 0.1 的二项分布。
The question is how likely a result at least as large as 3 would be under that model: the red tail, about 0.07. 问题是在该模型下,得到至少 3 件次品的结果有多大可能:也就是红色尾部的概率,约为 0.07。
The hypotheses are statements about a population parameter, here p, the true defect rate of everything the factory makes. 假设是关于总体参数的陈述,这里是 p,即这家工厂生产的所有产品的真实次品率。
The null is p equals 0.1; the alternative is p greater than 0.1, because the worry is a higher rate. 原假设是 p 等于 0.1;备择假设是 p 大于 0.1,因为我们担心的是次品率升高。
Statements about the sample, or an alternative chosen after seeing the data, are wrong: the test would be rigged. 针对样本作出陈述,或在看到数据后才选择备择假设,都是错误的:这样会操纵检验结果。
The hypotheses name a population parameter, such as p equals 0.1 against p greater than 0.1. 假设要明确总体参数,例如以 p 等于 0.1 为原假设,以 p 大于 0.1 为备择假设。
The test statistic comes from the sample, such as the number faulty. 检验统计量来自样本,例如次品数量。
The significance level, 5 percent, sets the critical region. 显著性水平 百分之5 用来确定临界域。
If the statistic lands in it, reject H0. 如果统计量落入临界域,就拒绝 H0。
Otherwise there is not enough evidence, which is not the same as proving H0. 否则就是证据不足,这并不等于证明了 H0。
Under the null, X is binomial 10, 0.1. 在原假设下,X 服从参数为 10 和 0.1 的二项分布。
The upper tail from 3 is 1 minus P of X up to 2, which is 1 minus 0.9298, about 0.0702. 从 3 开始的上尾概率是 1 减去 P(X≤2),即 1 减 0.9298,约为 0.0702。
That is bigger than 0.05, so we do not reject the null. 它大于 0.05,所以我们不拒绝原假设。
The conclusion in context: there is insufficient evidence, at the 5 percent level, that the defect rate is above 10 percent. 结合情境得出的结论是:在 百分之5 的显著性水平下,证据不足以说明次品率高于 百分之10。
That does not prove the rate is 10 percent. 这并不能证明次品率是 百分之10。
The words of the claim set the alternative. 题目中说法的措辞决定备择假设。
Increased means p greater than the old value: an upper tail. 升高意味着 p 大于原来的值:使用上尾。
Fallen means less than: a lower tail. 下降意味着小于原来的值:使用下尾。
Changed, with no direction, means not equal: a two-tailed test, where a 5 percent level is split into 2.5 percent in each tail. 改变而没有指明方向意味着不等于:使用双尾检验,此时 百分之5 的显著性水平分为两部分,每个尾部各 百分之2.5。
A critical region is the set of results that would lead us to reject the null. 临界域是会使我们拒绝原假设的结果的集合。
For a lower-tailed test with B of 20 and 0.3 at 5 percent, add probabilities from the bottom. 对于服从 B(20, 0.3)、显著性水平为 百分之5 的下尾检验,从最小值开始累加概率。
P of X up to 2 is 0.0355, inside 5 percent. P(X≤2) 是 0.0355,在 百分之5 以内。
P of X up to 3 is 0.1071, too big. P(X≤3) 是 0.1071,太大了。
So the critical region is X up to 2: observe 0, 1 or 2 and you reject the null. 所以临界域是 X≤2:观察到 0、1 或 2 时就拒绝原假设。
For a two-tailed test at 5 percent, each tail may hold at most 2.5 percent. 对于显著性水平为 百分之5 的双尾检验,每个尾部的概率至多为 百分之2.5。
At the bottom, P of X up to 1 is 0.0076, but up to 2 is 0.0355, too much: the lower region is X up to 1. 在下尾,P(X≤1) 是 0.0076,但 P(X≤2) 是 0.0355,太大了:下侧临界域是 X≤1。
At the top, X at least 11 has 0.0171, but at least 10 has 0.048: the upper region is X at least 11. 在上尾,X≥11 的概率为 0.0171,但 X≥10 的概率为 0.048:上侧临界域是 X≥11。
The actual significance level is the total, 0.0247. 实际显著性水平是两者之和,即 0.0247。
For B of 20 and 0.3 at 10 percent, two-tailed, each tail may hold at most 5 percent. 对于服从 B(20, 0.3)、显著性水平为 百分之10 的双尾检验,每个尾部的概率至多为 百分之5。
X at most 2 holds 0.0355 and X at least 10 holds 0.0480, so the actual significance level is 8.35 percent. X≤2 的概率为 0.0355,X≥10 的概率为 0.0480,所以实际显著性水平为 百分之8.35。
On the right, the sample mean of 25 bags follows N of 50 and 1 squared. 右边,25 袋的样本均值服从 N(50, 1²)。
The upper 5 percent starts at 51.64, and the observed 51.8 lies beyond it, so H0 is rejected. 上方 百分之5 从 51.64 开始,观察值 51.8 落在该区域内,所以拒绝 H0。
Because a binomial count jumps in steps, the critical region rarely uses exactly 5 percent. 由于二项分布的计数值是跳跃变化的,临界域的概率很少恰好为 百分之5。
The actual significance level is the probability of landing in the critical region when the null is true: the chance of wrongly rejecting a true null hypothesis. 实际显著性水平是原假设成立时结果落入临界域的概率:也就是错误地拒绝一个真实原假设的概率。
For X up to 2 under B of 20 and 0.3, it is 3.55 percent. 对于服从 B(20, 0.3) 时的 X≤2,这个概率是 百分之3.55。
For the mean of a normal population with known variance, the sample mean is normal with the same mean and variance sigma squared over n. 对于方差已知的正态总体,其样本均值服从正态分布,均值与总体相同,方差为 σ 的平方除以 n。
With sigma 4 and n 16, the sample mean has standard deviation 1. 当 σ 为 4、n 为 16 时,样本均值的标准差为 1。
A sample mean of 51.8 standardises to z equals 1.8. 样本均值 51.8 标准化后得到 z 等于 1.8。
The tail beyond is 0.0359, below 5 percent, or equivalently 1.8 beats the critical value 1.6449. 其右侧尾部概率为 0.0359,小于 百分之5;等价地,1.8 超过临界值 1.6449。
Reject the null: there is evidence the mean mass exceeds 50 grams. 拒绝原假设:有证据表明平均质量超过 50 克。
A correlation test uses the population correlation coefficient, rho. 相关性检验使用总体相关系数 ρ。
The null says rho is zero, no correlation; here the alternative is positive correlation. 原假设为 ρ 等于零,即无相关性;这里的备择假设是存在正相关。
For 10 pairs the one-tailed 5 percent critical value is 0.5494. 对于 10 对数据,单尾 百分之5 的临界值为 0.5494。
The sample r of 0.62 is larger, so reject the null: there is evidence of positive correlation in the population. 样本相关系数 r 为 0.62,大于临界值,所以拒绝原假设:有证据表明总体中存在正相关。
It still says nothing about cause. 这仍然不能说明因果关系。
A conclusion has two parts: the decision about the null, then a sentence in the language of the problem. 结论包含两部分:先说明对原假设的决定,再用题目情境中的语言写一句话。
Say there is evidence, or insufficient evidence, at the stated level. 要说明在给定的显著性水平下,有证据或证据不足。
Never say the null is true, never say anything is proven, and never stop at reject H nought without the context. 绝不要说原假设为真,也不要说任何结论已被证明,更不要只说拒绝 H0 而不结合情境。
The evidence is a tail probability, not the probability of the single observed value. 作为证据的是尾部概率,而不是单个观察值的概率。
The alternative hypothesis decides the tail. 备择假设决定使用哪个尾部。
In a two-tailed test, compare each tail with half the level. 在双尾检验中,要把每个尾部的概率与显著性水平的一半比较。
Not rejecting never proves the null. 不拒绝原假设绝不能证明原假设成立。
And a significant result can still be a tiny, unimportant effect. 而且显著的结果仍可能对应很小、并不重要的效应。
Check yourself. 自我检查。
A one-tailed p-value of 0.03 is below 5 percent, so reject the null. 单尾 p 值 0.03 小于 百分之5,所以拒绝原假设。
A biased coin means p not equal to a half. 硬币有偏意味着 p 不等于二分之一。
With p greater than 0.4 and 9 observed, use P of X at least 9. 若备择假设为 p 大于 0.4,观察值为 9,则使用 P(X≥9)。
A two-tailed 10 percent test has 5 percent in each tail. 显著性水平为 百分之10 的双尾检验,每个尾部各占 百分之5。
And the mean of 4 values from N of 20 and 9 is normal with mean 20 and variance 9 over 4. 从 N(20, 9) 中取出的 4 个值的均值服从正态分布,均值为 20,方差为 4 分之 9。

Comments

    Log in or create account

    IGCSE, A-Level & AP