A Confidence Interval for p
引入
7:52
分类数据的推断:比例
某市想了解有多少人支持新政策。我们无法询问所有人,于是随机询问二百人。一百二十人说赞成——即百分之六十…
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| random sample/ˈrændəm ˈsæmpl/ | 随机样本 | suí jī yàng běn |
| confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ | 置信区间 | zhì xìn qū jiān |
| sampled population | 抽样总体 | chōu yàng zǒng tǐ |
| random sampling/ˈrændəm ˈsæmplɪŋ/ | 随机抽样 | suí jī chōu yàng |
| sampling without replacement | 不放回抽样 | bù fàng huí chōu yàng |
| observed counts/ɒbˈzɜːvd kaʊnts/ | 观测频数 | guān cè pín shuò |
| standard error/ˈstændəd ˈerə/ | 标准误 | biāo zhǔn wù |
| sampling variability/ˈsæmplɪŋ ˌveərɪəˈbɪlɪti/ | 抽样变异性 | chōu yàng biàn yì xìng |
| population proportion/ˌpɒpjʊˈleɪʃn prəˈpɔːʃn/ | 总体比例 | zǒng tǐ bǐ lì |
| normal interval | 正态近似区间 | zhèng tài jìn sì qū jiān |
| endpoints/endˈpɔɪnts/ | 端点 | duān diǎn |
| margin of error/ˈmɑːdʒɪn ɒv ˈerə/ | 误差幅度 | wù chā fú dù |
| confidence level/ˈkɒnfɪdəns ˈlevl/ | 置信水平 | zhì xìn shuǐ píng |
| interval width | 区间宽度 | qū jiān kuān dù |
| sampling uncertainty | 抽样不确定性 | chōu yàng bù què dìng xìng |
| Nonresponse/ˌnɒnrɪˈspɒns/ | 无应答 | wú yìng dá |
| selection bias/sɪˈlekʃn ˈbaɪəs/ | 选择偏差 | xuǎn zé piān chā |
| sample proportion/ˈsæmpl prəˈpɔːʃn/ | 样本比例 | yàng běn bǐ lì |
一百人中有六十人支持,这个估计有多精确?
- 在一个由 100 名顾客组成的虚构随机样本中,60 人支持一项新的订单提货服务。我们想求总体支持比例的置信区间。
- 观测估计值为 $\hat p=0.60$。该区间应描述抽样总体中的顾客情况,而不是每一个未来样本中的比例。
估算不确定性前检查条件
- 检查是否进行了随机抽样、$100\le0.10N$(针对不放回抽样),以及观测频数 60 和 40。每个频数都至少为 10。
- 由于总体比例未知,标准误使用 $\hat p$ 来估算抽样变异性。
Match each sample with the large-counts decision.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Both observed counts must be at least ten for the normal interval used here.
构建估计值加减不确定性的区间
- 使用公式 $\hat p\pm z^*SE$,其中 $SE=\sqrt{\hat p(1-\hat p)/n}$。95% 的正态近似区间使用 $z^*=1.96$。
- 这里 $SE=\sqrt{0.60(0.40)/100}\approx0.04899$。保留这些额外位数,直到计算出端点。
n = 100, p̂ = 0.60. Compute the standard error √(p̂(1−p̂)/n). Two decimals.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
√(0.6·0.4/100) = √0.0024 ≈ 0.049 ≈ 0.05.
A confidence interval has the form...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
You must multiply SE by the critical value z*.
For a 95% confidence interval, what critical value z* do you use? (two decimals)
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
z* = 1.96 for 95% confidence.
计算端点
- 误差幅度为 $ME=z^*SE=1.96(0.04899)\approx0.09602$。区间为 $(0.50398,0.69602)$。
- 置信水平描述的是重复抽样方法。$\pm1.96$ 处的正态曲线阴影面积约为 0.95;它不是单个顾客回答的分布图。
区间宽度约为 0.1920,而误差幅度约为 0.0960。不要将整个宽度报告为误差幅度。
Normal reference area for 95% intervals
The band from -1.96 to 1.96 contains approximately 95% of a standard normal distribution. This reference area is not the probability assigned to an already observed population interval.
With SE ≈ 0.049 and z* = 1.96, find the margin of error z*·SE. Two decimals.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
1.96 × 0.049 ≈ 0.096 ≈ 0.10.
每次改变一个因素
- 保持观测比例和置信水平不变,将 $n$ 扩大到原来的四倍,会使 $SE$ 和误差幅度减半。提高置信水平会增大 $z^*$,并使区间变宽。
- 这些宽度比较都保持其他输入量不变。新样本也可能改变 $\hat p$,因此观测到的区间宽度不一定完全遵循关于样本量的口诀。
95% 的置信水平并不意味着 95% 的单个顾客落在参数 p 的区间内。
Raising the confidence level (say 95% → 99%) makes the interval...
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Higher confidence → larger z* → wider interval.
After calculating this interval, there is a 95% probability that the fixed population proportion lies inside it.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Frequentist confidence describes the long-run coverage of the procedure, not a probability assigned to a fixed parameter after observing this interval.
在情境中解释估计值
- 使用这一经过检查的方法,我们有 95% 的信心认为,抽样总体中约有 50.4% 至 69.6% 的顾客支持该服务。
- 该区间涵盖抽样不确定性,而非所有误差来源。无应答、误导性问题和选择偏差需要单独关注。
使用这一经过检查的方法,我们有 95% 的信心认为,抽样总体中约有 50.4% 至 69.6% 的顾客支持该服务。
根据数据作答:求样本比例
- 100 名图书馆使用者中有 40 人支持延长周日开放时间。
- 求样本比例,并解释区间如何使用这个比例。
Holding the observed proportion fixed, which changes narrow a normal proportion interval?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
More observations reduce standard error; lower confidence reduces the critical value. Quadrupling n halves the standard error.
40 of 100 sampled library users support longer Sunday opening. What is the sample proportion?
The sample proportion is successes divided by n.
40 of 100 sampled library users support longer Sunday opening. What is the sample proportion?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
40 divided by 100 is 0.4.
出了什么问题?只有网站团队能看到这些信息。