Watching *t* and *F* Change Shape

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:

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:

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)

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.