Difference of Two Proportions
導入済み
7:32
標本分布
Two thousand students go to this school, and some of them cycle here. We want to know what share. Nobody can ask all two thousand, so we ask a random hundred.…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| random sample/ˈrændəm ˈsæmpl/ | A sample chosen by a chance process. |
| samples | |
| sampling distribution/ˈsæmplɪŋ ˌdɪstrɪˈbjuːʃn/ | The distribution of a statistic over all possible samples of the same size. |
| difference of two sample proportions/ˈdɪfrəns ɒv tuː ˈsæmpl prəˈpɔːʃnz/ | 2つの標本比率の差 |
| variances | |
| sample proportion/ˈsæmpl prəˈpɔːʃn/ | p̂, the fraction of a sample with a given characteristic. |
| independent/ˌɪndɪˈpendənt/ | Knowing whether one event occurs does not change the other's probability. |
| observations | |
| Sampling without replacement | |
| SD | "The difference in sample proportions typically varies by about 0.054 from the true difference of 0.10." Always name the populations and the variable. |
| population/ˌpɒpjʊˈleɪʃn/ | The entire set of individuals, items or outcomes about which a statistical study seeks information. |
| approximately normal | |
| Large counts | Check all four counts, with the *population* proportions :. |
| population proportions | |
| skewed/skjuːd/ | |
| normal model/ˈnɔːml ˈmɒdl/ | |
| probabilities | |
| Mean/miːn/ | "If we took many pairs of random samples, the difference (A − B) in the sample proportions who support the park would average 0.10.". |
| variable/ˈveərɪəbl/ | A characteristic recorded for each individual, such as height or eye colour. |
| parameters/pəˈræmɪtəz/ | Values that specify a model or function, or named inputs that a subroutine receives. |
| 10% condition/ten pəˈsent kənˈdɪʃn/ |
2つのグループの比較
- しばしば、2つの比率を比較します。例えば、グループ$1$とグループ$2$の支持率の比較です。
- この統計量は2つのサンプル比率の差 $\hat{p}_1 - \hat{p}_2$ です。
- その標本分布は真の差の中央に位置します: $\mu = p_1 - p_2$。
- これにより、2つのグループが実際に異なるかどうかを判断できます。
ばらつきの統合
- 標準偏差は両方のサンプルの変動性を統合します:
-
$$\sqrt{\frac{p_1(1-p_1)}{n_1} + \frac{p_2(1-p_2)}{n_2}}$$
- $+$ に注意してください: 分散は加算されます(「変数の統合」ルールに準拠)し、差であっても同様に適用されます。
- 各グループは独自の $\frac{p(1-p)}{n}$ 項を寄与します。

p̂₁ − p̂₂ の分布:中心は引き算、分散は加算される
p1=0.5, p2=0.4. Find the center (mean) of p-hat-1 − p-hat-2.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Mean = p1 − p2 = 0.5 − 0.4 = 0.1.
両方のサンプルを確認する
- 大数条件を各グループに適用します: $n_1p_1, n_1(1-p_1), n_2p_2, n_2(1-p_2)$ はすべて $\ge 10$ 以上である必要があります。
- 独立性を要件とします: 2つのサンプルは互いに独立している必要があります。
- 無代替抽出を行う場合は、各グループに対して10%条件も確認します。
- これらの条件を満たしたときのみ、$\hat{p}_1 - \hat{p}_2$ に対する正規モデルが有効になります。

Distribution of p-hat-1 − p-hat-2
Centered at p1 − p2; the two variances add under the square root.
With p1=0.5,n1=100 and p2=0.4,n2=100: SD = √(0.0025+0.0024). Round to two decimals.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
√0.0049 = 0.07.
To get the SD of a difference of two proportions, you subtract the two variances.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Variances ADD, even for a difference, then square-root.
The two samples must be independent of each other for this model.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Independence between samples is required.
正規モデルの使用
- 条件が満たされれば、$\hat{p}_1 - \hat{p}_2$ は概ね正規分布に従います。
- $z$ スコアで標準化します: (観測された差 $-$ 真の差) $\div$ 統合標準偏差。
- その後、標準正規分布から確率を読み取ります(前と同じ方法)。
- これは、2比率検定と区間推定(ユニット6)の基礎となります。
For a normal model of p-hat-1 − p-hat-2, the large counts condition must hold...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
All four counts (both groups) must be ≥ 10.
Random samples: $n_1=80$ with $p_1=0.9$, and $n_2=120$ with $p_2=0.5$. Can the distribution of $\hat p_1-\hat p_2$ be modelled as approximately normal?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
All four counts must be at least 10. $80(0.1)=8$ fails, so the shape may be skewed. Unequal sample sizes are fine.
分散は加算される — 差であっても同様。 $\hat{p}_1-\hat{p}_2$ の標準偏差は、2つの $\frac{p(1-p)}{n}$ 項を**$+$** で結合し、その後平方根をとります。引くことはありません。また、大数条件を両方のグループで個別に確認します(4つの値、すべて $\ge 10$ 以上)— 一方のグループが健全だからといって、もう一方が薄いことを許容してはいけません。

$p_1=0.30$, $n_1=100$ かつ $p_2=0.20$, $n_2=100$ (independent random samples from large populations). Find $P(\hat p_1-\hat p_2>0.15)$. Give 3 decimal places.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
平均値 $=0.10$. SD $=\sqrt{0.0021+0.0016}=\sqrt{0.0037}\approx0.0608$. $z=(0.15-0.10)/0.0608\approx0.82$, so $P(z>0.82)\approx0.206$ (counts 30, 70, 20, 80 are all at least 10).
$p_1 = 0.5$ ($n_1 = 100$), $p_2 = 0.4$ ($n_2 = 100$).
- 中心: $p_1 - p_2 = 0.5 - 0.4 = 0.1$。
- 標準偏差: $\sqrt{\dfrac{0.5(0.5)}{100} + \dfrac{0.4(0.6)}{100}} = \sqrt{0.0025 + 0.0024} = \sqrt{0.0049} = 0.07$。
- 数: 全部で4つ($50, 50, 40, 60$)が $10$ を超える → 正規モデルは妥当。
In the park example the SD of $\hat p_A-\hat p_B$ is 0.054. Write one sentence interpreting it in context.
An SD interpretation needs the typical distance, the centre it is measured from, and the context.
2つのサンプル比率の差 $\hat{p}_1 - \hat{p}_2$ は平均 $p_1 - p_2$ と標準偏差 $\sqrt{\frac{p_1(1-p_1)}{n_1} + \frac{p_2(1-p_2)}{n_2}}$ (分散は加算)を持ちます。大数条件と独立性の条件が両方のサンプルについて満たされている場合、これを正規分布としてモデル化します。
0.25 の差から書き出す
- 一方の標本比率は 0.40 である。
- もう一方は 0.15 であるImplemented 差には 0.1 と 0.07 が用いられる。
このカードは新しいため、翻訳ができるまで英語で表示されます。
- Never subtract the variances. The SD of a difference uses a + under the square root.
- Use $p$, not $\hat p$, in the large-counts check when the population proportions are given.
- Keep the order of subtraction fixed. If you define the difference as A − B, then "B ahead" means the difference is below 0.
- The 10% condition 10%条件 is about the SD formula; the large counts condition is about the normal shape. They check different things.
If the difference is defined as $\hat p_A-\hat p_B$, then the event "the samples show B ahead" is $\hat p_A-\hat p_B<0$.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
B ahead means $\hat p_B>\hat p_A$, so A − B is negative.
このカードは新しいため、翻訳ができるまで英語で表示されます。
For independent random samples, $\hat p_1-\hat p_2$ has mean $p_1-p_2$ and SD $\sqrt{\frac{p_1(1-p_1)}{n_1}+\frac{p_2(1-p_2)}{n_2}}$ (variances 方差 add; accurate when each sample is under 10% of its population). It is approximately normal when all four counts $n_1p_1,\ n_1(1-p_1),\ n_2p_2,\ n_2(1-p_2)$ are at least 10. Interpret the mean and SD in context.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。