Student's t, Chi-Square (χ²) & Fisher's F Generator Lab
Adjust degrees of freedom (ν, k, d₁, d₂) and generate live Normal draws to build empirical t, χ², and F sampling distributions.
See how Student's t, χ², and F emerge naturally by combining standard Normal draws when estimating means and variances.
Small-sample calibration tests (t), goodness-of-fit & variance intervals (χ²), and ANOVA/regression F-ratios.
How do simple sums and ratios of squared standard normals generate the exact , Student's , and Fisher's curves used in inference?
Summing independent squared standard normals yields , which governs sample variance ; dividing one by widens the tails into Student's to reflect estimating .
Taking the ratio of two normalized chi-square variances produces Fisher's , the exact yardstick behind ANOVA signal-to-noise tests and regression model comparisons.
Why did William Gosset ('Student') discover wider tails when dividing (x̄ − μ) by s/√n instead of σ/√n—and how do χ² and F arise from squaring Normal errors?
Switch among χ²_k, Student's t_ν vs. N(0,1), and F_{d₁,d₂}, scrub degrees of freedom, and sample live Zᵢ draws to confirm empirical histograms match the exact PDFs.
As ν → ∞, sample s locks onto σ and Student's t merges seamlessly into N(0,1). With all sampling distributions in place, Module S.4 enters Statistical Inference.
In 1908, Guinness brewery chemist William Gosset (pen name “Student”) tested small batches of barley (). He noticed something crucial: when you standardize a sample mean using the sample standard deviation instead of the unknown true , occasionally a small batch happens to look suspiciously tight ( lands way too tiny!), making blow up far outside normal Z bounds! That accidental denominator wobble stretches the Normal bell into heavier tails—creating Student's t, while squaring and dividing those Normal deviations creates and !
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Top is standard Normal ; bottom is noisy sample SD . As , and merges smoothly into !
Since every squared error , lives strictly on , leans right, and powers variance intervals and Chi-square goodness-of-fit tests!
Compares two scaled variance estimates (Signal-to-Noise!). Notice a neat identity: squaring a statistic gives !
Suppose (). You happen to draw 10.1, 10.1, 10.2 when true : sample makes ! Even though Gaussian outliers never hit , noisy tiny easily produces huge values.
With Normal, , , and sampling distributions unlocked, Module S.4 flips probability backwards: estimating unknown parameters, building Confidence Intervals, and testing hypotheses!
Projecting onto the line leaves an -dimensional orthogonal residual vector that is statistically independent of !
Random draws where happens to underestimate inflate , creating polynomial tails () that collapse back to as .
Comparing two independent variance estimates follows Fisher's . Notice squaring a two-group statistic matches a ANOVA test identically!
Adjust degrees of freedom (ν, k, d₁, d₂) and generate live Normal draws to build empirical t, χ², and F sampling distributions.
Notice how at ν = 1–4, Student's t has visibly fatter tails than the dashed N(0, 1) bell because dividing by a noisy small-sample standard deviation s occasionally creates huge ratios! Slide ν → 30 to watch the curves fuse together.