Carrying Out a Test for the Slope (Extension)
Diperkenalkan
7:59
Inferensi untuk Data Kuantitatif: Kemiringan
Berikut satu kelas pada scatterplot: jam belajar di bagian bawah, skor tes di sisi samping. Garis terbaik menanjak. Tapi ini hanya satu kelas. Ambil…
Narasi bahasa Inggris · takarir bahasa Inggris dan 中文 yang dapat dipilih
Dalam pelajaran ini
| English | Makna |
|---|---|
| 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/ |
Statistik uji
- Statistik uji kemiringan membandingkan $b$ ke $0$ dalam standar error:
-
$$t = \frac{b}{SE_b}$$
- Baik $b$ maupun $SE_b$ berasal langsung dari output komputer.
- Output sering mencetak $t$ ini (dan p-nilainya) untuk Anda secara otomatis.
Temukan nilai p
- Gunakan distribusi $t$ dengan $df = n - 2$.
- $H_a$ Dua-sisi: p-nilai output standar (sudah dua-ekor).
- $H_a$ Satu-sisi: belah p-nilai dua-sisi yang dilaporkan (jika $b$ berada di arah yang diklaim).
- P-nilai adalah peluang mendapatkan kemiringan sejauh ini dari $0$ jika $\beta$ benar-benar $0$.

Statistik t untuk kemiringan dan nilai-p dua arahnya

Buat keputusan
- Bandingkan nilai p dengan $\alpha$:
- p $\le \alpha$ → tolak $H_0$: bukti meyakinkan adanya hubungan linear.
- p $> \alpha$ → gagal tolak: tidak ada bukti meyakinkan.
- Aturan keputusan standar.
Simpulkan dalam konteks
- Nyatakan tentang hubungan linear antar variabel nyata.
- "Bukti meyaknikan adanya hubungan linear positif antara jam dan nilai" (jika ditolak).
- Atau "bukti tidak meyakinkan adanya hubungan linear" (jika tidak).
- Gagal menolak tidak pernah membuktikan $\beta = 0$.
P-nilai output komputer adalah dua-sisi — belah untuk $H_a$ satu-sisi (dan hanya jika kemiringan sampel mengarah ke arah yang $H_a$ klaim). Gunakan $df = n - 2$, dan baca $t = b/SE_b$ dari output daripada menghitung ulang. Seperti biasa, "gagal menolak" berarti bukti tidak cukup, bukan pembuktian tidak adanya hubungan.
Output: $b = 4.2$, $SE_b = 1.0$; nilai-p dua arah $= 0.001$; $H_a: \beta > 0$, $\alpha = 0.05$.
- $t = \dfrac{4.2}{1.0} = 4.2$ ($df = n-2$).
- Nilai-p satu-sided: $0.001 / 2 = 0.0005$ ($b > 0$ sesuai dengan $H_a$).
- Keputusan: $0.0005 \le 0.05$ → tolak $H_0$; bukti meyakinkan adanya hubungan linear positif.
Kartu ini telah diperbaiki, jadi ditampilkan dalam bahasa Inggris sampai terjemahannya diperbarui.
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?
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
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.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
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?
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Halve the two-sided value: 0.001 / 2 = 0.0005.
With a p-value of 0.0005 and α = 0.05, the decision is...
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
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.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
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...
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Reject the flat-line null → a real linear relationship.
Apa yang salah? Hanya tim situs yang dapat melihatnya.