Unit 2, topic 2.10 (links to topics 2.12 and 3.1)第 2 单元,主题 2.10(联系主题 2.12 与 3.1)
Binomial counts and the sampling distribution of p-hat二项计数与 p-hat 的抽样分布
Let X be the number of successes in n independent trials with success probability p. Repeat the experiment 1,000 times, then switch between the count X and the proportion p-hat = X/n. The bars do not change, only the axis labels do. The dots mark the exact binomial expected counts.设 X 为 n 次独立试验中的成功次数,成功概率为 p。重复实验 1,000 次,然后在计数 X 与比例 p-hat = X/n 之间切换。柱子不变,只有坐标轴标签改变。圆点表示精确的二项期望频数。
Controls控制
The same seed and settings always reproduce the same picture. Keyboard: Tab to a button, then press Enter or Space.相同的种子与设置总会得到相同的图形。键盘操作:用 Tab 移到按钮,再按 Enter 或空格。
Results结果
- Simulated frequency of each value每个取值的模拟频数
- Exact binomial expected frequency精确的二项期望频数
| Quantity量 | Simulated模拟值 | Theory理论值 |
|---|
Large-counts condition大计数条件
Condition: np ≥ 10 and n(1 - p) ≥ 10. Here np = and n(1 - p) = : .条件:np ≥ 10 且 n(1 - p) ≥ 10。此处 np = ,n(1 - p) = :。
When the condition fails the sampling distribution is visibly skewed and a normal model is unreliable. The simulation still shows the exact binomial model.条件不成立时,抽样分布明显偏斜,正态模型不可靠。模拟仍然展示精确的二项模型。
TI-84 commandTI-84 命令
randBin(n,p,1000) draws 1,000 binomial counts into a list; dividing by n gives p-hat. Then run 1-Var Stats on the list.randBin(n,p,1000) 把 1,000 个二项计数存入列表;除以 n 得到 p-hat。然后对该列表运行 1-Var Stats。
Exact lattice: one bar per attainable value, so p-hat bars sit at multiples of 1/n. Synthetic teaching data; no network needed.精确格点:每个可取值一根柱子,因此 p-hat 的柱子位于 1/n 的整数倍处。 合成教学数据,无需联网。