Carrying Out a Test for the Slope (Extension)
Introduzido
7:59
Inferência para Dados Quantitativos: Pendentes
Aqui está uma turma num gráfico de dispersão: horas de revisão na parte inferior, nota no teste na lateral. A linha de melhor ajuste sobe. Mas esta é apenas uma turma. Pegue um…
Narração em inglês · legendas em inglês e 中文 que você pode alternar
Nesta aula
| 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/ |
A estatística de teste
- A estatística de teste da inclinação compara $b$ a $0$ em erros-padrão:
-
$$t = \frac{b}{SE_b}$$
- Tanto $b$ quanto $SE_b$ vêm diretamente da saída do computador.
- A saída frequentemente imprime essa $t$ (e seu p-valor) para você já.
Encontrar o p-valor
- Use a distribuição $t$ com $df = n - 2$.
- Teste bilateral $H_a$: o p-valor padrão da saída (já bicaudal).
- Teste unilateral $H_a$: divida ao meio o p-valor bilateral relatado (se $b$ estiver na direção afirmada).
- O p-valor é a chance de uma inclinação tão distante de $0$ se $\beta$ fosse realmente $0$.

A estatística t para a inclinação e seu valor-p bilateral
Tomar uma decisão
- Compare o p-valor a $\alpha$:
- p $\le \alpha$ → rejeite $H_0$: evidência convincente de uma relação linear.
- p $> \alpha$ → não rejeite: não há evidência convincente.
- Regra de decisão padrão.
Concluir no contexto
- Afirme sobre a relação linear entre as variáveis reais.
- "Evidência convincente de uma relação linear positiva entre horas e nota" (se rejeitado).
- Ou "nenhuma evidência convincente de uma relação linear" (se não).
- Não rejeitar nunca prova $\beta = 0$.
O p-valor da saída do computador é bilateral — divida ao meio para um $H_a$ unilateral (e apenas se a inclinação amostral apontar na direção da afirmação de $H_a$). Use $df = n - 2$, e leia $t = b/SE_b$ da saída em vez de recomputar. Como sempre, "não rejeitar" significa evidência insuficiente, não prova de ausência de relação.
Saída: $b = 4.2$, $SE_b = 1.0$; p-valor bilateral $= 0.001$; $H_a: \beta > 0$, $\alpha = 0.05$.
- $t = \dfrac{4.2}{1.0} = 4.2$ ($df = n-2$).
- P-valor unilateral: $0.001 / 2 = 0.0005$ ($b > 0$ corresponde a $H_a$).
- Decida: $0.0005 \le 0.05$ → rejeite $H_0$; evidência convincente de uma relação linear positiva.
Calcule a inclinação $t = \frac{b}{SE_b}$ a partir da saída, encontre o valor-p em $df = n - 2$ (divida pela metade o valor de duas caudas para uma cauda $H_a$) e compare com $\alpha$: rejeite $H_0$ se p $\le \alpha$ (existe uma relação linear), caso contrário, não rejeite — enunciado no contexto.
Escreva a partir de uma estatística de teste de 3
- A inclinação ajustada é 1.5.
- Seu erro padrão é 0.5. A estatística de lição 4.2 é outra regressão.
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?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
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.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
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?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Halve the two-sided value: 0.001 / 2 = 0.0005.
With a p-value of 0.0005 and α = 0.05, the decision is...
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
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.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
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...
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Reject the flat-line null → a real linear relationship.
O que deu errado? Somente a equipe do site vê isso.