Interval for a Difference of Means
הוצג
7:37
אינפראנס לערכים כמותיים: ממוצעים
אתה כבר מכיר את ליבת ההסקה. לקחת דגימה, למצוא את ממוצע שלה, ואז לעשות זאת שוב ושוב. גם כאשר האוכלוסייה אינה מאוזנת, ממוצעי הדגימות הללו…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| paired differences | |
| mean difference | |
| observational units | |
| paired/peəd/ | זוגיות |
| means | |
| design/dɪˈzaɪn/ | |
| Independent samples/ˌɪndɪˈpendənt ˈsæmplz/ | |
| treatment/ˈtriːtmənt/ | The condition applied to an experimental group. |
| control/kənˈtrəʊl/ | |
| Paired (matched-pairs) | Two measurements on the *same* or *matched* subjects (before/after). The design decides which procedure you use — get it right first. |
| two-sample interval | |
| two-sample $t$-interval | |
| Welch degrees of freedom | |
| variance estimates | |
| random design | |
| independence between groups | |
| 10% condition/ten pəˈsent kənˈdɪʃn/ | |
| sampling without replacement | |
| data shape | |
| one-sample $t$-interval | |
| independence across pairs | |
| skew/skjuː/ | Lack of symmetry, with a longer tail on one side. |
| outliers/ˈaʊtlaɪəz/ | |
| standard error/ˈstændəd ˈerə/ | The standard deviation of a statistic's sampling distribution, often estimated from a sample. |
| paired test | |
| within-pair dependence | |
| variability/ˌveərɪəˈbɪlɪti/ | How spread out values are. |
הכרטיס הזה חדש, לכן הוא מוצג באנגלית עד שהתרגום שלו יהיה מוכן.
Pair before calculating the uncertainty
- The same three runners have before/after times (12,10), (15,12) and (11,10) minutes. Take before minus after.
- The paired differences 配对差值 are 2, 3 and 1 minutes, giving a mean difference 平均差值 of 2. The observational units 观测单位 for this analysis are three pairs, not six independent measurements.

עצמאיים או זוגיים?
- השוואת שני ממוצעים מתחילה בשאלה קריטית אחת לגבי העיצוב. דגימות עצמאיות: שתי קבוצות נפרדות (למשל: טיפול מול קונטרול).
- זוגיות (matched-pairs): שתי מדידות על אותם נושאים או נושאים מתאימים (לפני/אחרי). העיצוב קובע את ההליך שיש להשתמש בו — ודאו זאת תחילה.
מרווח לשני דגימות
- עבור דגימות עצמאיות, השתמשו ב-מרווח $t$ דו-דגימתי עבור $\mu_1 - \mu_2$: $$(\bar{x}_1 - \bar{x}_2) \pm t^{*}\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}$$
- השונות נכתבות תחת השורש (השונות של כל קבוצה, $\frac{s^2}{n}$). בדקו עיצוב אקראי, עצמאות בין הקבוצות, תנאי ה-10% בעת דגימה ללא החזרה, וצורת הנתונים בכל קבוצה.
המרווח הצמוד
- עבור נתונים זוגיים, חשבו תחילה את ה-הבדל $d = x_1 - x_2$ של כל זוג. לאחר מכן, ביצעו מרווח $t$ חד-דגימתי על ההבדלים:
- $$\bar{d} \pm t^{*}\frac{s_d}{\sqrt{n}}$$$n$ הוא מספר הזוגות; $df = n - 1$. בדקו עיצוב אקראי ותלות בין זוגות, ובחנו את ההפרשים לגבי נטייה/ערכים קיצוניים.
Measuring the same runners before and after training is which design?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Same subjects measured twice → paired.
For paired data, the correct interval is...
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Collapse pairs to differences, then one-sample t.
For a two-sample t-interval, the two variances are added under the square root.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
SE = √(s1²/n1 + s2²/n2).
Analyzing paired data as two independent samples gives the correct standard error.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
It ignores dependence within pairs. The resulting standard error need not always be larger; analyse the paired differences.
The key question that decides the procedure is...
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Linked → paired; unlinked → two-sample.
Match the design to the shape check for its t analysis.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
Paired analysis works with differences as the observations. Marginal normal-looking groups do not automatically establish a suitable differences distribution.
Which are needed for a paired t analysis?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
The within-pair relationship is the reason to use differences. Independence is required across the observational pairs.
התאימו את השיטה לעיצוב
- ניתוח נתונים זוגיים כדגימות עצמאיות → סטיית תקן שגויה, תשובה שגויה. הכנסת נתונים עצמאיים למבחן זוגי → גם כן שגוי.
- האות: האם כל ערך בקבוצה $1$ קשור באופן טבעי לערך בקבוצה $2$? אם כן → זוגות; אם לא → דוגמה דו-נפחית.
התפלגות של x-bar-1 − x-bar-2
Centered at μ1 − μ2; the two variances add under the root.
העיצוב מכתיב את ההליך. אם הנושאים מותאמים או נמדדים פעמיים (לפני/אחרי), מדובר ב-זוגיות — צמצמו להבדלים והשתמשו ב-מרווח $t$ חד-דגימתי. אם שתי הקבוצות נפרדות ולא קשורות, מדובר ב-מרווח דו-דגימתי $t$. שימוש בנוסחת הדו-דגימה בנתונים זוגיים מתעלם מהתלות בתוך הזוג ומוביל לרוב לסטיית תקן שגויה. כיוון השגיאה תלוי בקשר בתוך הזוגות.
מדדו את זמן ריצתו של כל רץ לפני ואחרי האימון.
- אותו רצים, שתי מדידות → צמוד.
- חשבו הפרשים $d = \text{before} - \text{after}$ לכל רץ.
- בנה מרווח $t$ לנמס אחד על ה-$d$ (ולא מרווח לשני נמסים).
להעביר את הניתוח למקרה חדש
- סטיית התקן הזוגית משתמשת במשתנה של ההבדלים.
- התעלמות מזוגיות אינה תמיד מגבירה את סטיית התקן; ההשפעה תלויה בקשר בתוך הזוגות.
For before/after pairs (12,10), (15,12), (11,10) minutes, compute the mean before-minus-after difference.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
The differences 2, 3 and 1 sum to 6, so the mean across three pairs is 2.
השוואת שני נמסים: דגימות בלתי תלויות משתמשות ב-מרווח שני נמסים $t$ $(\bar{x}_1 - \bar{x}_2) \pm t^{*}\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}$; נתונים זוגיים מתמצקים להפרשים ומשתמשים ב-מרווח נמס אחד $t$ $\bar{d} \pm t^{*}\frac{s_d}{\sqrt{n}}$. התאם את השיטה ל-עיצוב, ובדוק תנאים עבור שני הקבוצות.
כתוב מתוך מחקר זוגי
- The same 20 people are measured before and after a training week.
- ההבדל בשיעור 2 הוא חקר נוסף.
The same 20 people are measured before and after training. Should the two sets of measurements be analysed as independent samples? Explain the t procedure.
Two measurements on one person are paired.
What kind of study is before and after on the same people?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
The pair is the person.
מה השתבש? רק צוות האתר רואה זאת.