Companion to Chapter 4 — drag df yourself instead of describing it.
Panel A — Why *t* isn't *Z*
The black curve is the standard normal (Z). The blue curve is t at whatever df the slider is set to. Drag it down toward 1 and watch the tails lift; drag it up past 30 and watch the blue curve disappear into the black one.
standard normal (Z)
t at the current df
df = 10
Z critical (α = .05, two-tail)
±1.960
t critical at this df
––
Gap vs. Z
––
The ratio, spelled out:
t = (x̄ − μ0) ÷ (s ÷ √n)
More generally: t = Z ÷ √(χ²df ÷ df) — a standard normal divided by an independent estimate of spread built from the data itself. That extra, noisy denominator is the entire difference from Z, and it's exactly why df controls the tails.
Why the shape looks like this:
Heavier tails than Z, not a different center. Both are symmetric and centered at 0 — the difference is entirely in the denominator. Z divides by the known, fixed σ; t divides by s, an estimate that varies from sample to sample. Dividing by a noisy quantity produces more extreme ratios than dividing by a constant, which is what inflates the tails.
Small df → noisiest estimate → heaviest tails. With few observations, s is a rough, unstable estimate of σ, so occasional extreme t-values are common — at df = 1 the tails are so heavy the distribution doesn't even have a finite variance.
Large df → s stabilizes → t converges to Z. As n grows, s becomes a precise estimate of σ, the extra noise in the denominator shrinks toward nothing, and the t curve slides smoothly toward the normal — continuously, never as a switch (see the misconception note below).
CH04-02 misconception, made visible here: nothing about this curve "switches" to normal at n = 30 — it slides continuously. t.test() is still what R runs whether n is 12 or 1200; what changes is that the blue curve keeps getting closer to the black one, so the critical-value gap shrinks toward zero without ever officially becoming Z. The real trigger for using Z instead of t is knowing σ, which practically never happens in behavioral data.
Panel B — Why *F* can't be negative
The curve only exists for F ≥ 0 — it is a ratio of variance-like quantities, and variances can't be negative. Two knobs this time: the numerator df (between-group, in ANOVA terms) and the denominator df (within-group).
df₁ = 3
df₂ = 20
df₁, df₂
3, 20
F critical (α = .05)
––
Mean of this F
––
The ratio, spelled out:
F = variancebetween ÷ variancewithin = MSbetween ÷ MSwithin
More generally: F(df1, df2) = (χ²1 ÷ df1) ÷ (χ²2 ÷ df2) — each half of the ratio is itself a chi-square divided by its own degrees of freedom, which is exactly why both df₁ and df₂ reshape the curve, not just one.
Why the shape looks like this:
Bounded at 0, unbounded above → right-skewed, not symmetric. A variance ratio can't go below 0, but nothing stops the numerator from dwarfing the denominator, so the tail only has somewhere to go on the right.
Clusters near 1. Under H₀ ("nothing going on"), numerator and denominator are estimating the same thing, so most of the mass sits close to F = 1.
Skew shrinks as df₁ and df₂ both grow. Small df means each variance estimate is noisy, so extreme ratios happen more often — short, long-tailed curve. Large df means both estimates settle down, the ratio tightens around 1, and the curve gets taller and narrower. Compare the "Small samples" and "Large samples" presets above to see this directly.
df₁ and df₂ don't play the same role. Denominator df is usually doing most of the stabilizing (it's typically the larger of the two in practice), which is also why F(df₁, df₂) ≠ F(df₂, df₁) — row and column in a critical-value table aren't interchangeable.
CH04-01 misconception, made visible here: the curve never crosses x = 0. If a by-hand F calculation comes out negative, that's an arithmetic error, not an unusual result — there is no probability mass to interpret on the other side.
Talking points (for projecting live, not a handout)
Set df = 1 in Panel A and ask what a t-test with one data point beyond the mean would even mean — the heavy Cauchy-like tail is why small-n results need much bigger t values to count as surprising.
Slide df from 10 to 100 in Panel A while asking: "does t become Z, or does it just get harder to tell apart from Z?" — the quick-reference table in the chapter draws that same line.
In Panel B, hold df₁ fixed and raise df₂ — the right tail pulls in and the peak sharpens, which is the "more within-group data stabilizes the ratio" idea from the chapter text.
Ask students to predict, before you move the sliders, whether F(1, 5) or F(10, 50) looks more skewed — then check it live.
What this doesn't do (yet): no predict-first fields, no printable/submittable worksheet, no localStorage — this is built as an instructor-driven live demo, not a graded module like mean-vs-median.html. If a take-home version is wanted instead (or in addition), that's a separate build.