Carrying Out a Test for the Slope (Extension)
مُقدَّم
7:59
الاستدلال للبيانات الكمية: الميل
إليك صف واحد على مخطط التشتت: ساعات المراجعة على الأسفل، درجة الاختبار على الجانب. خط أفضل تطابق يصعد. لكن هذا مجرد صف واحد. خذ…
سرد باللغة الإنجليزية · ترجمة نصية بالإنجليزية و中文 يمكنك التبديل بينهما
في هذا الدرس
| English | المعنى |
|---|---|
| test statistic/test stəˈtɪstɪk/ | A quantity calculated from sample data and used to decide how strongly the data challenge a null hypothesis. |
| Slope inference | |
| standard errors/ˈstændəd ˈerəz/ | Estimates of a statistic's standard deviation, found from sample data. |
| p-value/piː ˈvæljuː/ | |
| Two-sided/tuː ˈsaɪdɪd/ | |
| two-tailed/tuː teɪld/ | Of a test: looking for a difference in either direction. |
| One-sided/wʌn ˈsaɪdɪd/ | |
| alternative/ɔːlˈtɜːnətɪv/ | |
| tail probability | |
| regression model | |
| reject/rɪˈdʒekt/ | To decide the evidence is strong enough against the null hypothesis. |
| linear relationship/ˈlɪnɪə rɪˈleɪʃənʃɪp/ | |
| fail to reject/feɪl tə rɪˈdʒekt/ | To decide the evidence is not strong enough against the null hypothesis. |
| variables/ˈveərɪəblz/ | A characteristic recorded for each individual, such as height or eye colour. |
| sample slope/ˈsæmpl sləʊp/ | The slope b of the fitted regression line from the sample. |
| fitted slope | |
| null/nʌl/ |
إحصاء الاختبار
- إحصاء اختبار الميلان يقارن $b$ بـ $0$ بأخطاء معيارية:
-
$$t = \frac{b}{SE_b}$$
- كلاهما $b$ و$SE_b$ يأتي مباشرة من مخرجات الكمبيوتر.
- غالبًا ما يطبع المخرج هذا $t$ (ومقداره p-value) مسبقًا.
إيجاد قيمة p
- استخدم توزيع $t$ مع $df = n - 2$.
- اختبار $H_a$ ذات الاتجاهين: هو مقدار p-value القياسي للمخرجات (وهو بالفعل ثنائي الذيل).
- اختبار $H_a$ ذات الاتجاه الواحد: نصف مقدار p-value الثنائي المعلن عنه (إذا كان $b$ في الاتجاه المدعي).
- مقدار p-value هو احتمالية الحصول على ميلان بعيدًا عن $0$ بهذا القدر إذا كانت $\beta$ حقًا $0$.

إحصاء t للميل وقيمته p ثنائية الاتجاه

اتخاذ قرار
- قارن قيمة p بـ $\alpha$:
- p $\le \alpha$ → رفض $H_0$: دليل مقنع على وجود علاقة خطية.
- p $> \alpha$ → لا نرفض: لا يوجد دليل مقنع.
- قاعدة القرار القياسية.
الاستنتاج في السياق
- صغ عن العلاقة الخطية بين المتغيرات الحقيقية.
- "دليل مقنع على وجود علاقة خطية موجبة بين الساعات والدرجة" (إذا تم الرفض).
- أو "ليس هناك دليل مقنع على وجود علاقة خطية" (إذا لم يتم الرفض).
- عدم الرفض لا يثبت قط $\beta = 0$.
مقدار p-value في مخرجات الكمبيوتر هو ذات اتجاهين — نصفه للحصول على اختبار $H_a$ ذات اتجاه واحد (وفقط إذا كان ميلان العينة يشير إلى الاتجاه الذي تدعيه $H_a$). استخدم $df = n - 2$، واقرأ $t = b/SE_b$ من المخرجات بدلاً من إعادة الحساب. كما دائماً، "عدم الرفض" يعني نقص الأدلة، وليس إثبات عدم وجود علاقة.
المخرجات: $b = 4.2$، $SE_b = 1.0$؛ مقدار p-value ثنائي الذيل $= 0.001$؛ $H_a: \beta > 0$، $\alpha = 0.05$.
- $t = \dfrac{4.2}{1.0} = 4.2$ ($df = n-2$).
- مقدار p-value ذات الاتجاه الواحد: $0.001 / 2 = 0.0005$ ($b > 0$ يتطابق مع $H_a$).
- القرار: $0.0005 \le 0.05$ → رفض $H_0$؛ دليل مقنع على وجود علاقة خطية موجبة.
تم تصحيح هذه البطاقة، لذلك تظهر باللغة الإنجليزية حتى يتم تحديث ترجمتها.
Compute the slope $t = \frac{b}{SE_b}$ from the output, find the p-value at $df = n - 2$ (for a one-sided 单侧 $H_a$, use half the two-sided value if the observed slope matches its direction, otherwise its complement), and compare to $\alpha$: reject $H_0$ if p $\le \alpha$ (there is convincing evidence of a linear relationship), else fail to reject — stated in context.
Write from the data: find the test statistic
- The fitted slope 拟合斜率 is 1.5.
- Its standard error is 0.5; test the null 原假设 $\beta=0$.
For H0 β = 0, the fitted slope is b = 1.5 and its standard error is SE_b = 0.5. What is the t statistic?
t for a slope is the estimate divided by its standard error.
For H0 β = 0, the fitted slope is b = 1.5 and its standard error is SE_b = 0.5. What is the t statistic?
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
1.5 divided by 0.5 is 3. Other options — 4.2 (the other regression); 1.5 (the slope).
Testing the fitted slope against zero
t = b/SE_b measures how far the slope sits from 0.
b = 4.2, SE_b = 1.0. Compute the slope test statistic t = b/SE_b.
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
4.2 / 1.0 = 4.2.
A two-sided output p-value is 0.001. For a one-sided Ha (with b in the claimed direction), what is the p-value?
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Halve the two-sided value: 0.001 / 2 = 0.0005.
With a p-value of 0.0005 and α = 0.05, the decision is...
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
0.0005 ≤ 0.05 → reject H0.
Standard regression coefficient output commonly reports a two-sided p-value for testing the slope against zero; confirm the software’s stated alternative.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
For the standard symmetric t test, use p-two/2 only when the observed slope matches a preplanned one-sided alternative; use 1 − p-two/2 in the opposite direction.
Rejecting H0: β = 0 lets you conclude...
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Reject the flat-line null → a real linear relationship.
ما المشكلة؟ لا يرى ذلك سوى فريق الموقع.