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$: (הפרש נצפה $-$ הפרש אמיתי) $\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.
מה השתבש? רק צוות האתר רואה זאת.