Carrying Out a Test for the Slope (Extension)
Introducido
7:59
Inferencia para Datos Cuantitativos: Pendientes
Aquí hay una clase en un diagrama de dispersión: horas de repaso abajo, puntuación del examen arriba. La línea de mejor ajuste sube. Pero esta es solo una clase. Toma un…
Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar
En esta lección
| English | Significado |
|---|---|
| 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/ |
La estadística de prueba
- La estadística de prueba para la pendiente compara $b$ con $0$ en términos de errores estándar:
-
$$t = \frac{b}{SE_b}$$
- Tanto $b$ como $SE_b$ provienen directamente de la salida del ordenador.
- La salida suele imprimir esto $t$ (y su valor p) para ti ya.
Encuentra el valor-p
- Usa la distribución $t$ con $df = n - 2$.
- Prueba de dos colas $H_a$: el valor p de salida estándar (ya de dos colas).
- Prueba de una cola $H_a$: divide por dos el valor p bidireccional reportado (si $b$ está en la dirección afirmada).
- El valor p es la probabilidad de obtener una pendiente tan alejada de $0$ si $\beta$ fuera realmente $0$.

La estadística t para la pendiente y su valor p de dos colas

Toma una decisión
- Compara el valor-p con $\alpha$:
- p $\le \alpha$ → rechazar $H_0$: evidencia convincente de una relación lineal.
- p $> \alpha$ → no rechazar: no hay evidencia convincente.
- Regla de decisión estándar.
Concluir en contexto
- Exprésalo respecto a la relación lineal entre las variables reales.
- "Evidencia convincente de una relación lineal positiva entre horas y puntuación" (si se rechaza).
- O "evidencia no convincente de una relación lineal" (si no se rechaza).
- No rechazar nunca demuestra $\beta = 0$.
El valor p de la salida del software es bilateral: divídalo por dos para un ensayo unilateral $H_a$ (y solo si la pendiente de la muestra apunta en la dirección que $H_a$ indica). Utilice $df = n - 2$ y lea $t = b/SE_b$ directamente de la salida en lugar de recalcularlo. Como siempre, "no rechazar" significa evidencia insuficiente, no prueba de que no exista relación.
valor-p bilateral $b = 4.2$; $SE_b = 1.0$; valor-p de dos colas $= 0.001$; $H_a: \beta > 0$, $\alpha = 0.05$.
- $t = \dfrac{4.2}{1.0} = 4.2$ ($df = n-2$).
- Valor p unilateral: $0.001 / 2 = 0.0005$ ($b > 0$ coincide con $H_a$).
- Decisión: $0.0005 \le 0.05$ → rechazar $H_0$; evidencia convincente de una relación lineal positiva.
Esta tarjeta se corrigió, por eso aparece en inglés hasta que se actualice su traducción.
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?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
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.
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
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?
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
Halve the two-sided value: 0.001 / 2 = 0.0005.
With a p-value of 0.0005 and α = 0.05, the decision is...
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
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.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
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...
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Reject the flat-line null → a real linear relationship.
¿Qué salió mal? Solo el equipo del sitio ve esta información.