Carrying Out a Test for the Slope (Extension)
แนะนำใหม่
7:59
การอนุมานสำหรับข้อมูลเชิงปริมาณ: ความชัน
นี่คือชั้นเรียนหนึ่งบนกราฟกระจาย: ชั่วโมงทบทวนอยู่ด้านล่าง คะแนนสอบอยู่ด้านข้าง เส้นแนวโน้มสูงสุดมีแนวโน้มเพิ่มขึ้น แต่这只是其中一个班。Take a...
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| 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$ มาโดยตรงจาก computer output
- Output มักจะพิมพ์ค่านี้ $t$ (และ p-value) ให้คุณอยู่แล้ว
หาค่า p-value
- ใช้ $t$-distribution พร้อม $df = n - 2$
- $H_a$ แบบสองด้าน: ค่า p-value จาก output มาตรฐาน (เป็น two-tailed อยู่แล้ว)
- $H_a$ แบบด้านเดียว: หารครึ่ง ค่า p-value แบบสองด้านที่รายงาน (หาก $b$ อยู่ในทิศทางที่อ้างไว้)
- p-value คือโอกาสที่จะได้ความชันห่างจาก $0$ เท่านี้ หาก $\beta$ เป็นจริงว่า $0$

*สถิติ t และความน่าจะเป็น p แบบสองด้านของความชัน

Make a decision
- เปรียบเทียบ p-value กับ $\alpha$:
- p $\le \alpha$ → ปฏิเสธ $H_0$: มีหลักฐานยืนยันถึงความสัมพันธ์เชิงเส้น
- p $> \alpha$ → ไม่ปฏิเสธ: ไม่มีหลักฐานที่ยืนยันได้
- กฏการตัดสินใจมาตรฐาน
สรุปในบริบท
- ระบุเกี่ยวกับ linear relationship ระหว่างตัวแปรจริง
- "มีหลักฐานยืนยันถึงความสัมพันธ์เชิงบวกเชิงเส้นระหว่างชั่วโมงและคะแนน" (หากปฏิเสธ)
- หรือ "ไม่มีหลักฐานยืนยันถึงความสัมพันธ์เชิงเส้น" (หากไม่ปฏิเสธ)
- การไม่ปฏิเสธไม่ได้พิสูจน์ว่า $\beta = 0$ เป็นจริง
p-value จาก output เป็นแบบสองด้าน — หารครึ่งเพื่อใช้กับ $H_a$ แบบด้านเดียว (และเฉพาะเมื่อความชันจากตัวอย่างชี้ไปในทิศทางที่ $H_a$ อ้างไว้) ใช้ $df = n - 2$ และอ่าน $t = b/SE_b$ จาก output แทนการคำนวณใหม่ เสมอว่า "fail to reject" หมายถึงหลักฐานไม่เพียงพอ ไม่ใช่การพิสูจน์ว่าไม่มีความสัมพันธ์
Output: $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.
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้