Inferência usando distribuições normal e t
Introduzido| English | Significado |
|---|---|
| sample/ˈsæmpl/ | amostra |
| distribution/ˌdɪstrɪˈbjuːʃn/ | distribuição |
| variance/ˈveərɪəns/ | variância |
| tail/teɪl/ | cauda |
| confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ | intervalo de confiança |
| degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | graus de liberdade |
| standard error/ˈstændəd ˈerə/ | erro padrão |
| paired/peəd/ | pareado |
| pooled estimate/puːld ˈestɪmət/ | estimativa agrupada |
Small samples 样本, honest uncertainty
- With a huge sample you can use the normal distribution 分布. But with only, say, 8 measurements and an unknown spread, the normal is too confident.
- William Gosset, brewing at Guinness, invented the $t$-distribution to handle exactly this — small samples with unknown variance 方差.
When to use the t-distribution
- Use the $t$-distribution when the sample is small and the population variance is unknown (you estimate it with the sample's $s$).
- It is bell-shaped like the normal but with heavier tails 尾部 — wider, to admit the extra uncertainty.

The t-distribution is bell-shaped like the normal but with heavier tails; as the sample grows it approaches the normal.

The t-distribution has a lower peak and heavier tails than the normal
Inferência & a curva normal
P(Z < z)
Testes e intervalos leem áreas sob a curva normal — deslize z para encontrá-las.
Você usa a distribuição t (em vez da normal) quando:
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Pequeno n com σ desconhecido → estimar com s e usar t.
A distribuição t tem caudas mais leves que a distribuição normal.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Falso. A distribuição t tem caudas mais pesadas, refletindo a incerteza adicional ao estimar a variância; ela se aproxima da normal conforme os graus de liberdade aumentam.
Confidence interval 置信区间 for the mean
- A confidence interval for the population mean:
- $t$ comes from the $t$-tables with $n - 1$ degrees of freedom 自由度; $\dfrac{s}{\sqrt n}$ is the standard error 标准误.
Para uma única amostra de tamanho n = 10, quantos graus de liberdade usa o valor de t?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Graus de liberdade = n − 1 = 9.
A quantidade s/√n é chamada erro padrão ______.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
O erro padrão da média é s/√n.
Worked example
- A sample of $n = 10$ has $s = 4$; for 95% with 9 degrees of freedom, $t = 2.262$.
- Margin $= t\dfrac{s}{\sqrt n} = 2.262 \times \dfrac{4}{\sqrt{10}} = 2.86$ (2 dp).
Uma amostra n = 10 tem s = 4. Com t = 2.262, qual é a margem t × s/√n? (2 casas decimais)
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
2.262 × 4/√10 = 2.262 × 1.265 = 2.86.
Comparing two populations
- A 2-sample or paired 配对 $t$-test compares two populations.
- When the two are assumed to share a variance, combine them into a pooled estimate 合并估计 of $s^2$.
Degrees of freedom, not $n$. The $t$-value uses $n - 1$ degrees of freedom, not $n$. Reading the wrong row of the table is the most common error.
- For a small sample, base a hypothesis test on the $t$-distribution: a 2-sample t-test or a paired sample t-test.
You've got it
- small sample + unknown variance → use the $t$-distribution ($n-1$ degrees of freedom)
- CI for the mean: $\bar{x} \pm t\dfrac{s}{\sqrt{n}}$, with standard error $\dfrac{s}{\sqrt n}$
- compare two populations with a 2-sample or paired $t$-test (pool the variance when shared)
Write from the data given
- A single sample has size 16.
- Find the degrees of freedom for the t-value. The table uses n minus 1, not n.
Uma única amostra tem tamanho 16. Quantos graus de liberdade usa o valor t e por que isso não é 16?
Um grau de liberdade é usado na estimativa do desvio padrão amostral, restando n menos 1.
Quantos graus de liberdade são usados?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
16 menos 1 é 15. Outras opções — 16 (o tamanho da amostra); 9 (o valor lição para uma amostra de tamanho 10).