Carrying Out a Two-Proportion Test
引入
7:52
分类数据的推断:比例
某市想了解有多少人支持新政策。我们无法询问所有人,于是随机询问二百人。一百二十人说赞成——即百分之六十…
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| pooled null standard error | 零假设下的合并标准误 | líng jiǎ shè xià de hé bìng biāo zhǔn wù |
| two-sided equality test | 双侧相等性检验 | shuāng cè xiāng děng xìng jiǎn yàn |
| null model | 零假设模型 | líng jiǎ shè mó xíng |
| statistic/stəˈtɪstɪk/ | 统计量 | tǒng jì liàng |
| two-sided alternative | 双侧备择假设 | shuāng cè bèi zé jiǎ shè |
| p-value/piː ˈvæljuː/ | P值 | P zhí |
| fail to reject/feɪl tə rɪˈdʒekt/ | 不拒绝 | bù jù jué |
| percentage points/pəˈsentɪdʒ pɔɪnts/ | 百分点 | bǎi fēn diǎn |
| estimated difference | 差值估计 | chā zhí gū jì |
| interval/ˈɪntəvl/ | 区间 | qū jiān |
| effect sizes | 效应量 | xiào yìng liàng |
| non-significant result | 不显著结果 | bù xiǎn zhù jié guǒ |
| study design | 研究设计 | yán jiū shè jì |
| populations | 总体 | zǒng tǐ |
| hypotheses | 假设 | jiǎ shè |
| one-sided/wʌn ˈsaɪdɪd/ | 单侧 | dān cè |
| two-sided two-proportion test | 双侧双总体比例检验 | shuāng cè shuāng zǒng tǐ bǐ lì jiǎn yàn |
| critical values/ˈkrɪtɪkl ˈvæljuːz/ | 临界值 | lín jiè zhí |
| normal reference | 正态参照分布 | zhèng tài cān zhào fēn bù |
样本差异为十个百分点尚不构成结论
- 对于30/100与20/100的比较,观测到的差异为0.10,零假设下的合并标准误约为0.06124。
- 双侧相等性检验旨在判断:在已核查的零假设模型下,这一差异或向任一方向更极端的差异是否少见。
先计算再舍入
- 使用$z=(\hat p_1-\hat p_2-0)/SE_0$。代入未舍入的零假设标准误可得到$z\approx1.633$。
- 过早将$SE_0$舍入为0.061会使显示的统计量变为约1.64。请保留额外位数,直到得出最终结果。
使用零分布的两尾
- 对于双侧备择假设,P值为$P(Z\le-1.633)+P(Z\ge1.633)\approx0.1025$。
- 等价的做法是将较小的尾部概率乘以二。不要只取正统计量左侧的面积;那约为0.9488。

The test statistic here divides by the pooled standard error, not the un-pooled one.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The two-proportion test uses the pooled SE from H0.
应用所选显著性水平
- 在$\alpha=0.05$水平下,P值大于阈值,因此不拒绝$H_0:p_1=p_2$。
- 在这一水平下,数据未能提供充分证据证明总体准时率存在差异。这也不能证明准时率相等。
使用未舍入的标准误得到 z ≈ 1.633,双侧P值 ≈ 0.1025。先对标准误进行舍入会改变显示的结果。
Two-sided normal tail areas
At |z| = 1.63, the two tails together approximate the two-sided p-value. The central area is its complement.
Using the given rounded SE = 0.061, find (0.30 - 0.20)/0.061 to two decimals.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Using exactly the supplied rounded SE gives 0.10/0.061 ≈ 1.6393, or 1.64. Using the unrounded formula gives 1.633 instead; retain precision in an actual analysis.
Using SE = sqrt(0.25 × 0.75 × (1/100 + 1/100)), calculate z for a difference of 0.10 to three decimal places.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
SE ≈ 0.06123724, so z ≈ 1.632993 = 1.633. Retaining precision avoids the 1.64 result from first rounding SE to 0.061.
区分样本量与实际意义
- 观测到的差距为十个百分点,但检验具有较大的不确定性。即使没有拒绝原假设,差值估计仍可能具有重要意义。
- 区间可使用其自身的非合并公式,帮助描述合理的效应量。不要断言该区间与本次检验在数值上总是一致。
不显著的结果仍可能无法排除具有实际重要性的差异。应报告不确定性及研究设计。
With a two-sided p-value of 0.10 and α = 0.05, the decision is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
0.10 > 0.05, so fail to reject.
For a symmetric standard-normal z-test with a two-sided alternative, the p-value is...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Use 2P(Z ≥ |z|). Doubling the larger tail gives the wrong answer and may exceed one.
For the worked z ≈ 1.633, match the alternative to its approximate p-value.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Use the prechosen direction. Two-sided normal evidence combines the two equally extreme tails.
检查报告中的每一个环节
- 报告需包含定义明确的总体、独立随机设计、计数核查、假设、统计量、P值、决策及结合情境的结论。
- 对于单侧问题,应使用该备择假设所选定的尾部。在观察到数据后更改问题可能会产生误导性的证据。
报告需包含定义明确的总体、独立随机设计、计数核查、假设、统计量、P值、决策及结合情境的结论。
根据这个案例写结论
- 一项双侧双总体比例检验的 z 值为2.1。
- 5%水平下的临界值约为负1.96和1.96。使用双侧正态参照分布和预先选定的5%水平。
A conclusion should be stated in context about the two population proportions.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Always tie the conclusion back to the real groups.
At α = 0.05 the two-sided p-value is approximately 0.1025. Which statements are justified?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The test lacks sufficient evidence at this threshold; it does not establish equality or rule out a meaningful difference.
A two-sided two-proportion z-test gives z = 2.10. At significance level 0.05, the critical values are ±1.96. State the decision.
A two-sided 5 percent test rejects beyond about 1.96.
A two-sided two-proportion z-test gives z = 2.10. What is the decision at significance level 0.05?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
2.1 is outside the central 95 percent.
出了什么问题?只有网站团队能看到这些信息。