Difference of Two Proportions
مُقدَّم
7:32
التوزيعات المعاينة
ألفان طالب يذهبون إلى هذه المدرسة، وبعضهم يركب الدراجات هنا. نريد معرفة النسبة المئوية. لا أحد يستطيع سؤال ألفين طالب، لذا نسأل مئة طالب عشوائياً.…
سرد باللغة الإنجليزية · ترجمة نصية بالإنجليزية و中文 يمكنك التبديل بينهما
في هذا الدرس
| 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/ | فرق نسبي عينتين |
| 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/ |
مقارنة مجموعتين
- غالبًا ما نقارن بين نسبتين — على سبيل المثال، الدعم في المجموعة $1$ مقابل المجموعة $2$.
- الإحصاء هو فرق نسب العينات $\hat{p}_1 - \hat{p}_2$.
- توزيع العينة له مركز عند الفرق الحقيقي: $\mu = p_1 - p_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$.
- اشترط الاستقلالية: تكون العينتان مستقلتين عن بعضهما البعض.
- أيضاً شرط 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$-score: (الفرق الملاحظ $-$ الفرق الحقيقي) $\div$ الانحراف المعياري المجمع.
- ثم اقرأ الاحتمالات من التوزيع الطبيعي القياسي، كما فعلنا سابقًا.
- هذا هو الأساس لاختبارات الفروق المزدوجة والفترات (الوحدة 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$ المعياري يجمع مصطلحي $\frac{p(1-p)}{n}$ مع $+$، ثم جذر تربيعي؛ لا تطرحها أبدًا. وتحقق من شرط الأعداد الكبيرة في كلا المجموعتين بشكل منفصل (أربعة أرقام، جميعها $\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$.
- الأعداد: جميع الأربعة ($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.
فرق نسب العينات $\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. يستخدم الفرق في الدرس 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.
ما المشكلة؟ لا يرى ذلك سوى فريق الموقع.