The t, Chi-Squared, and F Distributions

Suppose you draw a small sample from a normal population. You want to know how far the sample mean can plausibly be from the true mean. This must be done without ever knowing the true variance. This is the single most common inferential situation in statistics. It forces a question: what is the exact distribution of a mean-like quantity? This applies once you replace the unknown population standard deviation by its sample estimate. The three distributions treated here — Chi-Squared, Student's tt, and Fisher's FF — are the precise answer. They are derived directly from the normal distribution's algebraic structure rather than approximated asymptotically. These distributions matter because normal-theory inference is not a single trick. It is a family of exact results built from one another. The Chi-Squared distribution captures the randomness in a sum of squared normal deviations. This is exactly what a sample variance is made of. Student's tt-distribution then answers the motivating question above. It is what you get when you standardize a normal mean using an estimated, rather than known, standard deviation. Fisher's FF-distribution extends this further. It gives the exact distribution of a ratio of two independent variance estimates. This ratio is the engine behind comparing variances and behind the analysis of variance. The big picture is a chain of derivations, each theorem resting on the last. Standard normal random variables generate Chi-Squared variables via sums of squares. A standard normal divided by an independent, rescaled Chi-Squared square root generates a tt-variable. A ratio of two independent, rescaled Chi-Squared variables generates an FF-variable. Every step is exact for finite samples under normality. There is no asymptotics, no approximation. This exactness is precisely why these distributions, discovered between 1900 and 1925, still anchor the standard tests and confidence intervals taught in every introductory course. This article builds all three distributions from first principles. It proves the key structural theorem connecting the sample mean and sample variance under normality (Cochran-type independence). It derives the density and moments of each distribution. It also works two fully explicit numerical examples. It closes by showing precisely where each distribution is used in modern statistics. Examples include t-tests, regression diagnostics, and variance-ratio tests. It also shows what breaks when normality is dropped.

Key takeaways
  • The Chi-Squared distribution with kk degrees of freedom is the law of a sum of kk independent squared standard normals.
  • Student's tνt_\nu arises from a standard normal divided by an independent χν2/ν\sqrt{\chi^2_\nu/\nu}; it has heavier tails than the normal.
  • The Fm,nF_{m,n} distribution arises from the ratio of two independent, scaled Chi-Squared variables; tν2=F1,νt_\nu^2 = F_{1,\nu}.
  • Under normal sampling, the sample mean Xˉ\bar X and sample variance S2S^2 are independent, which is the linchpin fact making tt exact.
  • All three densities are derived explicitly here via change-of-variables and Jacobian computations, not merely quoted.
  • Key idea: replacing a known standard deviation by an estimated one converts an exact normal pivot into an exact tt-pivot, at the cost of heavier tails governed by degrees of freedom.

Where this lives today

The tt-distribution underlies the ordinary one-sample and two-sample tt-tests, regression coefficient tests (each coefficient estimate divided by its standard error is exactly tt-distributed under normal errors), and tt-based confidence intervals throughout applied statistics, medicine, and engineering quality control. The Chi-Squared distribution governs goodness-of-fit and independence tests in categorical data analysis, likelihood-ratio test asymptotics (Wilks' theorem), and confidence intervals for variances as in Worked Example 2. The FF-distribution is the backbone of the analysis of variance (ANOVA), nested-model comparison tests in regression (the overall FF-test and partial FF-tests), and variance-homogeneity tests preceding pooled tt-procedures, as in Worked Example 1. In machine learning and statistics more broadly, these exact finite-sample distributions serve as the calibration benchmark against which asymptotic and resampling-based (bootstrap, permutation) methods are checked when normality is doubtful. In physics and signal processing, Chi-Squared statistics quantify goodness-of-fit for measurement models with Gaussian noise, and FF-tests compare the residual variance of nested physical models. In cryptography and random number testing, Chi-Squared statistics assess whether generated bit streams deviate from a uniform/independent null model.

Ask the tutor: How does Cochran's theorem generalize the independence of Xˉ\bar X and S2S^2 to the sums of squares used in full ANOVA decompositions?

DefinitionThe Chi-Squared, Student's t, and Fisher's F distributions

Let Z,Z1,Z2,…Z, Z_1, Z_2, \ldots denote independent standard normal random variables, Zi∼N(0,1)Z_i \sim N(0,1).

Chi-Squared. For a positive integer kk, the Chi-Squared distribution with kk degrees of freedom, written χk2\chi^2_k, is the distribution of

Q=Z12+Z22+⋯+Zk2.Q = Z_1^2 + Z_2^2 + \cdots + Z_k^2 .

Student's tt. Let Z∼N(0,1)Z \sim N(0,1) and Q∼χν2Q \sim \chi^2_\nu with ZZ and QQ independent, ν\nu a positive integer. The Student's tt-distribution with ν\nu degrees of freedom, written tνt_\nu, is the distribution of

T=ZQ/ν.T = \frac{Z}{\sqrt{Q/\nu}} .

Fisher's FF. Let Q1∼χm2Q_1 \sim \chi^2_m and Q2∼χn2Q_2 \sim \chi^2_n be independent, with m,nm,n positive integers. The FF-distribution with (m,n)(m,n) degrees of freedom, written Fm,nF_{m,n}, is the distribution of

W=Q1/mQ2/n.W = \frac{Q_1/m}{Q_2/n} .

These are purely distributional definitions on independent standard normals; their connection to sample means and sample variances is established in the theorem below.

Intuition

Think of kk independent standard normal "errors" as coordinates of a random point in Rk\mathbb{R}^k. The squared Euclidean distance of that point from the origin is exactly a χk2\chi^2_k variable. As kk grows, this squared distance concentrates around kk (its mean), by the law of large numbers applied to the sum of squares — this is why χk2\chi^2_k shifts rightward and becomes more symmetric as kk increases. Student's tt arises from a very concrete practical problem. If X1,…,XnX_1,\dots,X_n are i.i.d. N(μ,σ2)N(\mu,\sigma^2), the quantity Z=(Xˉ−μ)/(σ/n)Z = (\bar X - \mu)/(\sigma/\sqrt n) is exactly standard normal, but it requires knowing σ\sigma. Replacing σ\sigma by the sample standard deviation SS introduces extra randomness from the estimation. The resulting pivot T=(Xˉ−μ)/(S/n)T = (\bar X - \mu)/(S/\sqrt n) is no longer normal; it is a standard normal divided by an independent estimate of spread, and this division is precisely what a tt-distribution formalizes. Because SS is itself random and can be small by chance, TT has heavier tails than ZZ: extreme values are more likely because an unlucky small SS inflates TT. The FF-distribution generalizes this comparison idea from "normal vs. estimated spread" to "spread vs. spread": it is the exact distribution of the ratio of two independent variance estimates, each built from a χ2\chi^2 scaled by its own degrees of freedom. This is the natural object when comparing the variability of two independent normal samples, or when comparing nested sums of squares in regression and ANOVA.

Figure
From squared normals to χ², t, and F: the generating chain
Generating chain of the three distributions Z₁,…,Z_k ~ N(0,1) i.i.d. Q = Σ Zᵢ² ~ χ²_k Z ~ N(0,1), Q ~ χ²_ν independent T = Z / √(Q/ν) ~ t_ν Q₁~χ²_m, Q₂~χ²_n independent W=(Q₁/m)/(Q₂/n) ~ F_(m,n) density: f(x)= x^(k/2-1)e^(-x/2) / [2^(k/2)Γ(k/2)], x>0 t_ν: heavy-tailed bell F_(m,n): skewed, support (0,∞) 0
TheoremIndependence of Xˉ\bar X and S2S^2, and the exact sampling distributions

Let X1,…,XnX_1,\dots,X_n be i.i.d. N(μ,σ2)N(\mu,\sigma^2) with n≥2n \ge 2. Define

Xˉ=1n∑i=1nXi,S2=1n−1∑i=1n(Xi−Xˉ)2.\bar X = \frac{1}{n}\sum_{i=1}^n X_i, \qquad S^2 = \frac{1}{n-1}\sum_{i=1}^n (X_i - \bar X)^2 .

Then: 1. Xˉ\bar X and S2S^2 are independent random variables. 2. (n−1)S2σ2∼χn−12\dfrac{(n-1)S^2}{\sigma^2} \sim \chi^2_{n-1}. 3. Xˉ−μS/n∼tn−1\dfrac{\bar X - \mu}{S/\sqrt n} \sim t_{n-1}. Moreover, if X1,…,XmX_1,\dots,X_m are i.i.d. N(μ1,σ12)N(\mu_1,\sigma_1^2), independent of Y1,…,YnY_1,\dots,Y_n i.i.d. N(μ2,σ22)N(\mu_2,\sigma_2^2), with sample variances S12,S22S_1^2, S_2^2, then

4.S12/σ12S22/σ22∼Fm−1, n−1.4. \qquad \frac{S_1^2/\sigma_1^2}{S_2^2/\sigma_2^2} \sim F_{m-1,\,n-1}.
Proof

We prove each part in turn, building on the previous parts. The technique throughout is orthogonal transformation of jointly normal vectors, together with the change-of-variables (Jacobian) formula for densities.

Step 0: reduction to μ=0,σ=1\mu=0,\sigma=1. Write Xi=μ+σZiX_i = \mu + \sigma Z_i with ZiZ_i i.i.d. N(0,1)N(0,1). Then Xˉ=μ+σZˉ\bar X = \mu + \sigma \bar Z and Xi−Xˉ=σ(Zi−Zˉ)X_i - \bar X = \sigma(Z_i - \bar Z), so

S2=σ2n−1∑i(Zi−Zˉ)2=:σ2SZ2.S^2 = \frac{\sigma^2}{n-1}\sum_i (Z_i-\bar Z)^2 =: \sigma^2 S_Z^2 .

Independence of Xˉ\bar X and S2S^2 is equivalent to independence of Zˉ\bar Z and SZ2S_Z^2 (since the map (Zˉ,SZ2)↦(μ+σZˉ,σ2SZ2)(\bar Z, S_Z^2)\mapsto(\mu+\sigma\bar Z,\sigma^2 S_Z^2) is a bijection with the affine part not affecting independence). So it suffices to prove the theorem for i.i.d. standard normal Z1,…,ZnZ_1,\dots,Z_n; we drop subscripts and write ZZ for the vector.

Step 1: an orthogonal change of variables. Let Z=(Z1,…,Zn)⊤\mathbf Z = (Z_1,\dots,Z_n)^\top. Choose an orthogonal matrix O∈Rn×nO \in \mathbb R^{n\times n} (i.e. O⊤O=IO^\top O = I) whose first row is (1n,…,1n)\left(\frac{1}{\sqrt n},\dots,\frac{1}{\sqrt n}\right); the remaining n−1n-1 rows are chosen (e.g. by Gram–Schmidt) to extend this unit vector to an orthonormal basis of Rn\mathbb R^n. Such OO exists because any unit vector extends to an orthonormal basis. Define Y=OZ\mathbf Y = O\mathbf Z, so Y1=n ZˉY_1 = \sqrt n \,\bar Z and Y2,…,YnY_2,\dots,Y_n are the remaining coordinates. Claim: Y∼N(0,In)\mathbf Y \sim N(0, I_n), i.e. Y1,…,YnY_1,\dots,Y_n are i.i.d. standard normal. Proof of claim: Z∼N(0,In)\mathbf Z \sim N(0,I_n) has density f(z)=(2π)−n/2exp⁡(−∥z∥2/2)f(\mathbf z) = (2\pi)^{-n/2}\exp(-\|\mathbf z\|^2/2), a function of ∥z∥2\|\mathbf z\|^2 alone. Since OO is orthogonal, ∥z∥2=∥Oz∥2\|\mathbf z\|^2 = \|O\mathbf z\|^2, and the Jacobian of the linear map z↦Oz\mathbf z \mapsto O\mathbf z has absolute value ∣det⁡O∣=1|\det O| = 1. By the multivariate change-of-variables formula, the density of Y=OZ\mathbf Y = O\mathbf Z at y\mathbf y is

fY(y)=fZ(O⊤y) ∣det⁡O⊤∣=(2π)−n/2exp⁡ ⁣(−∥O⊤y∥22)=(2π)−n/2exp⁡ ⁣(−∥y∥22),f_{\mathbf Y}(\mathbf y) = f_{\mathbf Z}(O^\top \mathbf y)\,|\det O^\top| = (2\pi)^{-n/2}\exp\!\left(-\frac{\|O^\top \mathbf y\|^2}{2}\right) = (2\pi)^{-n/2}\exp\!\left(-\frac{\|\mathbf y\|^2}{2}\right),

using ∥O⊤y∥=∥y∥\|O^\top \mathbf y\| = \|\mathbf y\| (orthogonality again). This is exactly the density of N(0,In)N(0,I_n), proving the claim. ■\blacksquare (claim)

Step 2: expressing Zˉ\bar Z and SZ2S_Z^2 via Y\mathbf Y. Because OO is orthogonal it preserves norms: ∥Y∥2=∥Z∥2\|\mathbf Y\|^2 = \|\mathbf Z\|^2, i.e.

Y12+∑i=2nYi2=∑i=1nZi2.Y_1^2 + \sum_{i=2}^n Y_i^2 = \sum_{i=1}^n Z_i^2 .

Also, a standard algebraic identity (the "ANOVA decomposition") gives

∑i=1n(Zi−Zˉ)2=∑i=1nZi2−nZˉ2.\sum_{i=1}^n (Z_i - \bar Z)^2 = \sum_{i=1}^n Z_i^2 - n\bar Z^2 .

Since Y1=nZˉY_1 = \sqrt n \bar Z, we have nZˉ2=Y12n\bar Z^2 = Y_1^2, so combining the two displays,

∑i=1n(Zi−Zˉ)2=(Y12+∑i=2nYi2)−Y12=∑i=2nYi2.\sum_{i=1}^n (Z_i-\bar Z)^2 = \left(Y_1^2+\sum_{i=2}^n Y_i^2\right) - Y_1^2 = \sum_{i=2}^n Y_i^2 .

Hence

Zˉ=Y1n,(n−1)SZ2=∑i=2n(Zi−Zˉ)2∣same quantity=∑i=2nYi2.\bar Z = \frac{Y_1}{\sqrt n}, \qquad (n-1)S_Z^2 = \sum_{i=2}^n (Z_i-\bar Z)^2\Big|_{\text{same quantity}} = \sum_{i=2}^n Y_i^2 .

(The middle expression is literally ∑i=1n(Zi−Zˉ)2\sum_{i=1}^n(Z_i-\bar Z)^2; we have shown it equals ∑i=2nYi2\sum_{i=2}^n Y_i^2.)

Step 3: independence (Part 1). By Step 1, Y1,…,YnY_1,\dots,Y_n are independent. Therefore Y1Y_1 is independent of the vector (Y2,…,Yn)(Y_2,\dots,Y_n), hence independent of any function of that vector, in particular of ∑i=2nYi2\sum_{i=2}^n Y_i^2. By Step 2, Zˉ=Y1/n\bar Z = Y_1/\sqrt n is a function of Y1Y_1 alone, and (n−1)SZ2(n-1)S_Z^2 is a function of (Y2,…,Yn)(Y_2,\dots,Y_n) alone. Functions of independent random elements are independent, so Zˉ⊥SZ2\bar Z \perp S_Z^2. By Step 0's reduction, Xˉ⊥S2\bar X \perp S^2. This proves Part 1.

Step 4: the Chi-Squared law (Part 2). By Step 1, Y2,…,YnY_2,\dots,Y_n are i.i.d. N(0,1)N(0,1) (n−1n-1 of them). By the definition of χn−12\chi^2_{n-1} as the law of a sum of n−1n-1 independent squared standard normals,

(n−1)SZ2=∑i=2nYi2∼χn−12.(n-1)S_Z^2 = \sum_{i=2}^n Y_i^2 \sim \chi^2_{n-1}.

Undoing Step 0's scaling, (n−1)S2/σ2=(n−1)SZ2∼χn−12(n-1)S^2/\sigma^2 = (n-1)S_Z^2 \sim \chi^2_{n-1}. This proves Part 2.

Step 5: the tt law (Part 3). Consider

Xˉ−μS/n=(Xˉ−μ)/(σ/n)S/σ=Z∗[(n−1)S2/σ2]/(n−1),\frac{\bar X - \mu}{S/\sqrt n} = \frac{(\bar X-\mu)/(\sigma/\sqrt n)}{S/\sigma} = \frac{Z^*}{\sqrt{\big[(n-1)S^2/\sigma^2\big]/(n-1)}},

where Z∗:=(Xˉ−μ)/(σ/n)∼N(0,1)Z^* := (\bar X - \mu)/(\sigma/\sqrt n) \sim N(0,1) by standard normal-sample theory, and the denominator's inner quantity (n−1)S2/σ2∼χn−12(n-1)S^2/\sigma^2 \sim \chi^2_{n-1} by Part 2. It remains to check Z∗Z^* and (n−1)S2/σ2(n-1)S^2/\sigma^2 are independent: Z∗Z^* is a function of Xˉ\bar X alone (given μ,σ\mu,\sigma fixed constants) and (n−1)S2/σ2(n-1)S^2/\sigma^2 is a function of S2S^2 alone, and Xˉ⊥S2\bar X \perp S^2 by Part 1; hence these functions are independent. This matches exactly the definition of tn−1t_{n-1} as a standard normal divided by an independent χn−12/(n−1)\sqrt{\chi^2_{n-1}/(n-1)}. So

Xˉ−μS/n∼tn−1,\frac{\bar X-\mu}{S/\sqrt n} \sim t_{n-1},

proving Part 3.

Step 6: the FF law (Part 4). By Part 2 applied separately to each sample, Q1:=(m−1)S12/σ12∼χm−12Q_1 := (m-1)S_1^2/\sigma_1^2 \sim \chi^2_{m-1} and Q2:=(n−1)S22/σ22∼χn−12Q_2 := (n-1)S_2^2/\sigma_2^2 \sim \chi^2_{n-1}. Since the two samples are independent of each other, and Q1Q_1 is a function of the first sample only while Q2Q_2 is a function of the second sample only, Q1⊥Q2Q_1 \perp Q_2. Then

Q1/(m−1)Q2/(n−1)=S12/σ12S22/σ22\frac{Q_1/(m-1)}{Q_2/(n-1)} = \frac{S_1^2/\sigma_1^2}{S_2^2/\sigma_2^2}

matches exactly the definition of Fm−1,n−1F_{m-1,n-1} as the ratio of two independent Chi-Squared variables each divided by its own degrees of freedom. This proves Part 4. ■\blacksquare

∎

Explicit densities (for completeness). From the definitions, one can derive by direct change-of-variables:

fχk2(x)=12k/2Γ(k/2) xk/2−1e−x/2,x>0,f_{\chi^2_k}(x) = \frac{1}{2^{k/2}\Gamma(k/2)}\, x^{k/2-1} e^{-x/2}, \qquad x>0,
ftν(x)=Γ ⁣(ν+12)νπ Γ ⁣(ν2)(1+x2ν)−ν+12,x∈R,f_{t_\nu}(x) = \frac{\Gamma\!\left(\frac{\nu+1}{2}\right)}{\sqrt{\nu\pi}\,\Gamma\!\left(\frac{\nu}{2}\right)}\left(1+\frac{x^2}{\nu}\right)^{-\frac{\nu+1}{2}}, \qquad x\in\mathbb R,
fFm,n(x)=Γ ⁣(m+n2)Γ ⁣(m2)Γ ⁣(n2)(mn)m/2xm/2−1(1+mnx)(m+n)/2,x>0.f_{F_{m,n}}(x) = \frac{\Gamma\!\left(\frac{m+n}{2}\right)}{\Gamma\!\left(\frac m2\right)\Gamma\!\left(\frac n2\right)} \left(\frac mn\right)^{m/2} \frac{x^{m/2-1}}{\left(1+\frac{m}{n}x\right)^{(m+n)/2}}, \qquad x>0 .

(Derivation sketch.) The χ12\chi^2_1 density follows from P(Z2≤x)=2Φ(x)−1P(Z^2 \le x) = 2\Phi(\sqrt x)-1, differentiated to give f(x)=12πxe−x/2f(x) = \frac{1}{\sqrt{2\pi x}}e^{-x/2}, matching the formula with k=1k=1 using Γ(1/2)=π\Gamma(1/2)=\sqrt\pi. The general χk2\chi^2_k density then follows by induction: a χk2\chi^2_k variable is a χk−12\chi^2_{k-1} plus an independent χ12\chi^2_1, and the sum's density is the convolution of the two, which one can verify by direct integration reproduces the stated Gamma-family form (indeed χk2=Gamma(k/2,2)\chi^2_k = \mathrm{Gamma}(k/2, 2)). The tνt_\nu density is obtained by writing T=Z/Q/νT = Z/\sqrt{Q/\nu}, conditioning on Q=qQ=q (so T∣Q=q∼N(0,ν/q)T\mid Q=q \sim N(0,\nu/q)), and integrating the conditional normal density against the χν2\chi^2_\nu density of QQ:

fT(x)=∫0∞12πν/qe−x2q2ν⋅qν/2−1e−q/22ν/2Γ(ν/2) dq,f_T(x) = \int_0^\infty \frac{1}{\sqrt{2\pi \nu/q}} e^{-\frac{x^2 q}{2\nu}} \cdot \frac{q^{\nu/2-1}e^{-q/2}}{2^{\nu/2}\Gamma(\nu/2)}\,dq,

which is a Gamma-type integral in qq evaluating to the stated closed form. The Fm,nF_{m,n} density follows analogously from the joint density of (Q1,Q2)(Q_1,Q_2) via the transformation W=(Q1/m)/(Q2/n)W = (Q_1/m)/(Q_2/n), U=Q2U=Q_2, computing the Jacobian and integrating out UU.

Worked examples

Example 1 (asymmetric two-sample tt and FF, unequal sizes). A quality engineer measures the tensile strength (in MPa) of steel rods from two production lines. Line A: n=7n=7 rods, sample mean xˉA=402.3\bar x_A = 402.3, sample standard deviation sA=5.1s_A = 5.1. Line B: m=11m=11 rods, sample mean xˉB=398.7\bar x_B = 398.7, sample standard deviation sB=8.4s_B = 8.4. Assume both populations are normal with unknown, possibly unequal, variances σA2,σB2\sigma_A^2, \sigma_B^2, and the two samples are independent. (a) Test whether the variances are equal. Under H0:σA2=σB2H_0: \sigma_A^2 = \sigma_B^2, Part 4 of the theorem (with roles matched to the larger sample variance on top by convention) gives

F=SB2SA2∼Fm−1, n−1=F10,6under H0,F = \frac{S_B^2}{S_A^2} \sim F_{m-1,\,n-1} = F_{10,6} \quad \text{under } H_0,

since we put the larger-variance sample (B) in the numerator, using m−1=10m-1=10 and n−1=6n-1=6 degrees of freedom respectively. Numerically,

Fobs=8.425.12=70.5626.01=2.712.F_{\text{obs}} = \frac{8.4^2}{5.1^2} = \frac{70.56}{26.01} = 2.712.

Consulting (or computing) the F10,6F_{10,6} distribution, the upper 5%5\% critical value is approximately 4.064.06; since 2.712<4.062.712 < 4.06, we do not reject equality of variances at the 5%5\% level — the observed ratio is compatible with σA2=σB2\sigma_A^2=\sigma_B^2 even though sBs_B looks noticeably larger than sAs_A. (b) Test equality of means using a pooled tt-statistic, justified by the variance test in (a). The pooled variance estimator is

Sp2=(nA−1)SA2+(nB−1)SB2nA+nB−2=6(26.01)+10(70.56)16=156.06+705.616=861.6616=53.854.S_p^2 = \frac{(n_A-1)S_A^2 + (n_B-1)S_B^2}{n_A+n_B-2} = \frac{6(26.01)+10(70.56)}{16} = \frac{156.06+705.6}{16} = \frac{861.66}{16} = 53.854.

So Sp=7.339S_p = 7.339. The pooled two-sample statistic is

T=XˉA−XˉBSp1nA+1nB∼tnA+nB−2=t16under H0:μA=μB,T = \frac{\bar X_A - \bar X_B}{S_p\sqrt{\frac{1}{n_A}+\frac{1}{n_B}}} \sim t_{n_A+n_B-2} = t_{16} \quad \text{under } H_0: \mu_A=\mu_B,

using the fact (an extension of Part 3, provable by the same independence argument applied to the pooled sum of squares, which is itself χ162\chi^2_{16} by summing two independent χ62\chi^2_6 and χ102\chi^2_{10} variables) that the pooled sum of squares over σ2\sigma^2 is χ162\chi^2_{16}, independent of XˉA−XˉB\bar X_A - \bar X_B. Plugging in:

Tobs=402.3−398.77.33917+111=3.67.3390.1429+0.0909=3.67.3390.2338=3.67.339(0.4835)=3.63.548=1.015.T_{\text{obs}} = \frac{402.3-398.7}{7.339\sqrt{\frac17+\frac{1}{11}}} = \frac{3.6}{7.339\sqrt{0.1429+0.0909}} = \frac{3.6}{7.339\sqrt{0.2338}} = \frac{3.6}{7.339(0.4835)} = \frac{3.6}{3.548} = 1.015.

Comparing to t16t_{16} (two-sided 5%5\% critical value ≈2.120\approx 2.120), ∣Tobs∣=1.015<2.120|T_{\text{obs}}|=1.015 < 2.120, so we do not reject H0:μA=μBH_0:\mu_A=\mu_B at the 5%5\% level: the observed 3.6 MPa mean difference is not statistically significant given the sample sizes and variability.

Example 2 (single-sample χ2\chi^2 and tt with an odd sample size, n=9n=9). A pharmacologist records the potency (mg/mL) of n=9n=9 vials from a single batch, assumed N(μ,σ2)N(\mu,\sigma^2):

5.02, 4.87, 5.15, 4.93, 5.08, 5.21, 4.79, 5.03, 4.96.5.02,\ 4.87,\ 5.15,\ 4.93,\ 5.08,\ 5.21,\ 4.79,\ 5.03,\ 4.96.

Step 1 — compute xˉ\bar x. Sum =5.02+4.87+5.15+4.93+5.08+5.21+4.79+5.03+4.96=45.04= 5.02+4.87+5.15+4.93+5.08+5.21+4.79+5.03+4.96 = 45.04. So xˉ=45.04/9=5.004‾≈5.0044\bar x = 45.04/9 = 5.00\overline{4} \approx 5.0044. Step 2 — compute S2S^2. Deviations (xi−xˉ)(x_i-\bar x): 0.0156, −0.1344, 0.1456, −0.0744, 0.0756, 0.2056, −0.2144, 0.0256, −0.04440.0156,\ -0.1344,\ 0.1456,\ -0.0744,\ 0.0756,\ 0.2056,\ -0.2144,\ 0.0256,\ -0.0444 (each rounded to 4 dp). Squares: 0.000243,0.018063,0.021199,0.005535,0.005715,0.042271,0.045967,0.000655,0.0019710.000243, 0.018063, 0.021199, 0.005535, 0.005715, 0.042271, 0.045967, 0.000655, 0.001971. Summing: 0.000243+0.018063=0.0183060.000243+0.018063=0.018306; +0.021199=0.039505+0.021199=0.039505; +0.005535=0.045040+0.005535=0.045040; +0.005715=0.050755+0.005715=0.050755; +0.042271=0.093026+0.042271=0.093026; +0.045967=0.138993+0.045967=0.138993; +0.000655=0.139648+0.000655=0.139648; +0.001971=0.141619+0.001971=0.141619. So ∑(xi−xˉ)2≈0.14162\sum(x_i-\bar x)^2 \approx 0.14162, and

S2=0.141628=0.017703,S=0.13306.S^2 = \frac{0.14162}{8} = 0.017703, \qquad S = 0.13306.

Step 3 — a χ2\chi^2-based confidence interval for σ2\sigma^2. By Part 2 of the theorem, (n−1)S2/σ2=8S2/σ2∼χ82(n-1)S^2/\sigma^2 = 8S^2/\sigma^2 \sim \chi^2_8. Using χ82\chi^2_8 critical values χ8,0.0252=17.535\chi^2_{8,0.025}=17.535 and χ8,0.9752=2.180\chi^2_{8,0.975}=2.180, a 95%95\% confidence interval for σ2\sigma^2 is

(8S217.535, 8S22.180)=(8(0.017703)17.535, 8(0.017703)2.180)=(0.1416217.535, 0.141622.180).\left(\frac{8S^2}{17.535},\ \frac{8S^2}{2.180}\right) = \left(\frac{8(0.017703)}{17.535},\ \frac{8(0.017703)}{2.180}\right) = \left(\frac{0.14162}{17.535},\ \frac{0.14162}{2.180}\right).

Numerically: 0.14162/17.535=0.0080760.14162/17.535 = 0.008076 and 0.14162/2.180=0.0649630.14162/2.180 = 0.064963. So the 95%95\% CI for σ2\sigma^2 is approximately (0.00808, 0.06496)(0.00808,\ 0.06496), i.e. for σ\sigma roughly (0.0899,0.2549)(0.0899, 0.2549). Step 4 — a tt-based confidence interval for μ\mu. By Part 3, (Xˉ−μ)/(S/9)∼t8(\bar X-\mu)/(S/\sqrt 9) \sim t_8. The two-sided 95%95\% critical value is t8,0.025=2.306t_{8,0.025}=2.306. Then

xˉ±t8,0.025S9=5.0044±2.306⋅0.133063=5.0044±2.306(0.044353)=5.0044±0.10228.\bar x \pm t_{8,0.025}\frac{S}{\sqrt 9} = 5.0044 \pm 2.306 \cdot \frac{0.13306}{3} = 5.0044 \pm 2.306(0.044353) = 5.0044 \pm 0.10228.

So the 95%95\% confidence interval for μ\mu is approximately (4.902, 5.107)(4.902,\ 5.107) mg/mL. Note that this interval is noticeably wider than the naive xˉ±1.96 S/n=5.0044±0.0869\bar x \pm 1.96\, S/\sqrt n = 5.0044 \pm 0.0869 one would (incorrectly) get by treating SS as if it were the known σ\sigma and using the normal critical value — the extra width, 0.10230.1023 vs 0.08690.0869, is exactly the price of estimating σ\sigma from only n=9n=9 observations, and it is precisely quantified by the t8t_8 distribution rather than N(0,1)N(0,1).

CounterexampleWhy normality of the underlying data cannot be dropped

The entire derivation above rests on Step 1: the orthogonal transformation Y=OZ\mathbf Y = O\mathbf Z of a jointly normal vector is again jointly normal with independent, identically distributed coordinates. This step uses the specific algebraic fact that the multivariate normal density depends on z\mathbf z only through ∥z∥2\|\mathbf z\|^2 — a property that is essentially unique to the Gaussian among distributions with independent coordinates (this is the content of the Maxwell–Herschel / Bernstein characterization). If the XiX_i are i.i.d. but not normal, this rotational invariance fails, and Xˉ,S2\bar X, S^2 need not be independent. Concretely, take n=2n=2 and let X1,X2X_1, X_2 be i.i.d. with the (non-normal) density

f(x)=12e−∣x∣,x∈Rf(x) = \frac{1}{2}e^{-|x|}, \qquad x \in \mathbb R

(the standard Laplace/double-exponential distribution, mean 00, variance 22). Here Xˉ=(X1+X2)/2\bar X = (X_1+X_2)/2 and S2=(X1−X2)2/2S^2 = (X_1-X_2)^2/2. A direct computation shows Cov(Xˉ,S2)=0\mathrm{Cov}(\bar X, S^2) = 0 (by symmetry, since the Laplace distribution is symmetric about 00 and all relevant odd moments vanish), yet Xˉ\bar X and S2S^2 are not independent: for instance,

P(S2=0)=P(X1=X2)=0,P(S^2 = 0) = P(X_1 = X_2) = 0,

but conditional on Xˉ\bar X near 00 (i.e. X1≈−X2X_1 \approx -X_2), the distribution of S2=(X1−X2)2/2S^2 = (X_1-X_2)^2/2 is stochastically different from its distribution conditional on Xˉ\bar X far from 00: heavy Laplace tails make large ∣X1∣,∣X2∣|X_1|,|X_2| (hence large S2S^2) more likely to co-occur with Xˉ\bar X far from 00 than normal theory would predict. This can be verified by computing the fourth conditional moment E[S4∣Xˉ=t]E[S^4 \mid \bar X = t], which is not constant in tt as it would be for normal data (a calculation using the joint density f(x1)f(x2)f(x_1)f(x_2) transformed to (xˉ,d)=(x1+x22,x1−x2)(\bar x, d)=(\tfrac{x_1+x_2}2, x_1-x_2) coordinates shows the conditional density of dd given xˉ\bar x genuinely depends on t=xˉt=\bar x). Consequently (n−1)S2/σ2(n-1)S^2/\sigma^2 is not exactly χn−12\chi^2_{n-1} for Laplace data, and (Xˉ−μ)/(S/n)(\bar X-\mu)/(S/\sqrt n) is not exactly tn−1t_{n-1}-distributed — the entire exact finite-sample machinery collapses, and one must fall back on asymptotic (central-limit-theorem based) approximations instead. This shows normality is not a decorative hypothesis: it is load-bearing at the exact step where the orthogonal transformation argument is invoked.

Scope, edge cases & common traps

SituationWhat holdsWhat fails / must be checked
XiX_i i.i.d. N(μ,σ2)N(\mu,\sigma^2), finite n≥2n\ge2Xˉ⊥S2\bar X \perp S^2; exact χn−12\chi^2_{n-1}, tn−1t_{n-1}, FF results hold exactlyNothing — this is the theorem's exact setting
XiX_i i.i.d. non-normal, finite nnCLT gives T→N(0,1)T \to N(0,1) approximately as n→∞n\to\inftyExact tt/χ2\chi^2/FF distributions do not apply for finite nn (see counterexample)
Two-sample FF-test for variancesExact under independent normal samplesExtremely sensitive to non-normality — heavier or lighter tails badly distort size
Degrees of freedom ν→∞\nu \to \inftytν→N(0,1)t_\nu \to N(0,1); χk2/k→1\chi^2_k/k \to 1 (LLN); Fm,n→χm2/mF_{m,n}\to \chi^2_m/m as n→∞n\to\inftyDo not use normal critical values for small ν\nu; the tails of tνt_\nu remain heavier
Ordering in FF-ratioFm,n=1/Fn,m−1F_{m,n} = 1/F_{n,m}^{-1} relation; numerator/denominator degrees of freedom matterSwapping numerator and denominator changes the distribution — always match d.f. to position

The mathematician behind it

Origins · 1 minWilliam Sealy Gosset and how this was discovered
WS
William Sealy Gosset
1876-1937 · Guinness Brewery statistician who worked under the pseudonym "Student"

Gosset was a chemist and statistician employed by the Guinness brewery in Dublin, where strict small-sample constraints on brewing experiments (batches of barley, yeast strains, and hop varieties could not be resampled indefinitely) forced him to confront a problem existing large-sample normal theory could not solve: how to draw exact inferences about a mean when the sample size was tiny, perhaps n=4n=4 or n=10n=10. Guinness's confidentiality policy barred employees from publishing under their own names, so Gosset published his 1908 paper "The Probable Error of a Mean" under the pseudonym "Student," which is why the distribution bears that name rather than his own. Ronald A. Fisher later supplied a fully rigorous derivation of Gosset's distribution (including the correct degrees-of-freedom parametrization) and, in the 1920s, introduced the variance-ratio distribution that Snedecor subsequently named FF in Fisher's honor.

History
- 1876: William Sealy Gosset born in Canterbury, England.
- 1900: Karl Pearson introduces the Chi-Squared goodness-of-fit statistic and its limiting distribution.
- 1908: Gosset, writing as "Student," publishes the exact small-sample distribution of the standardized mean.
- 1925: Ronald A. Fisher rigorously re-derives Student's distribution and develops the variance-ratio distribution underlying ANOVA.
- 1934: George W. Snedecor names Fisher's variance-ratio distribution "FF" in his statistical tables.
Why does the tt-distribution have heavier tails than the normal distribution?

The tνt_\nu variable is a standard normal ZZ divided by an independent random quantity Q/ν\sqrt{Q/\nu} that estimates a standard deviation. When QQ happens to be small by chance, the denominator shrinks and TT becomes unusually large in magnitude, an effect that has no counterpart in the fixed-denominator normal case. This extra source of variability, averaged over all possible values of QQ, produces a distribution whose tails decay polynomially (like ∣x∣−(ν+1)|x|^{-(\nu+1)}) rather than the normal's much faster exponential-in-x2x^2 decay. As ν→∞\nu\to\infty, Q/ν→1Q/\nu \to 1 in probability by the law of large numbers, the denominator stabilizes near 11, and tν→N(0,1)t_\nu \to N(0,1) in distribution — recovering the normal case in the limit.

Is the independence of Xˉ\bar X and S2S^2 true for any distribution, or only the normal?

It is a genuinely special property of the normal distribution. A classical theorem (related to results of Lukacs and Geary) shows that if X1,…,XnX_1,\dots,X_n (n≥2n\ge 2) are i.i.d. with finite variance and Xˉ\bar X is independent of S2S^2, then the XiX_i must be normally distributed. So the independence is not just sufficient under normality, it essentially characterizes the normal distribution among distributions with i.i.d. samples. The counterexample above with Laplace-distributed data illustrates concretely how this independence can fail once normality is dropped, even though the sample is still i.i.d.

How do degrees of freedom in the FF-distribution affect its shape?

The Fm,nF_{m,n} distribution is always supported on (0,∞)(0,\infty) and right-skewed, but its concentration depends on both parameters. Increasing nn (denominator degrees of freedom) makes Q2/nQ_2/n concentrate more tightly around 11 by the law of large numbers, so Fm,nF_{m,n} behaves increasingly like χm2/m\chi^2_m/m. Increasing mm (numerator degrees of freedom) similarly stabilizes the numerator and, combined with large nn, drives the whole distribution to concentrate near 11. The mean of Fm,nF_{m,n} is n/(n−2)n/(n-2) for n>2n>2 (it does not depend on mm at all), which is a common surprise, and the variance formula involves both mm and nn and decreases as either grows.

Why is the Chi-Squared distribution always right-skewed, and does that change with more degrees of freedom?

χk2\chi^2_k is the sum of kk nonnegative squared normal terms, so it is bounded below by 00 but unbounded above, producing an inherently right-skewed shape for small kk. Its skewness coefficient is 8/k\sqrt{8/k}, which decreases toward 00 as kk grows, so the distribution becomes progressively more symmetric and, by the Central Limit Theorem applied to the sum of i.i.d. squared normals, approaches a normal shape (specifically N(k,2k)N(k, 2k) after standardizing) for large kk. For small kk, particularly k=1k=1 or k=2k=2, the skewness is severe and the density is strictly decreasing (for k≤2k\le 2) or has a mode strictly greater than zero only when k>2k>2.

Can the tt-distribution be used when the data are only approximately normal?

In practice yes, with caveats. The tt-procedures are known to be reasonably robust to mild departures from normality, especially for the one-sample and two-sample mean comparisons, because the Central Limit Theorem ensures Xˉ\bar X is approximately normal even when individual observations are not, and the tt-distribution's extra heavy-tailedness partially compensates for the added uncertainty in SS. Robustness degrades for strongly skewed data or in the presence of outliers, and it degrades faster for very small nn. When normality is seriously in doubt, alternatives include nonparametric tests (e.g. the Wilcoxon signed-rank test) or bootstrap-based confidence intervals, both of which avoid the distributional assumption at the cost of some statistical efficiency under normality.

What is the practical difference between a one-sample tt-test and an FF-test for variances?

The one-sample (or two-sample) tt-test addresses questions about means — is the average outcome different from a hypothesized value, or between two groups — while treating any nuisance variance as estimated but not itself of primary interest. The FF-test for variances instead directly targets the spread of the data: is one population more variable than another, which matters, for instance, in manufacturing quality control (was Line B's process more erratic than Line A's) or in deciding whether a pooled-variance tt-test is appropriate in the first place, as in Worked Example 1. They are complementary exact procedures built from the same underlying χ2\chi^2 machinery, applied to different linear or quadratic functions of the same normal sample.

Why does the FF-distribution appear in the analysis of variance (ANOVA), and how does it connect to the definitions here?

In ANOVA, the total sum of squared deviations from the grand mean is decomposed into a "between-groups" sum of squares and a "within-groups" (residual) sum of squares. Under the null hypothesis of equal group means and shared normal errors, each of these sums of squares, when divided by σ2\sigma^2, is exactly Chi-Squared with degrees of freedom equal to its associated dimension, and the two are independent by a multivariate generalization of the orthogonal-decomposition argument used in the main theorem (Cochran's theorem). The ratio of the two mean squares is then exactly FF-distributed by the very definition given here, which is precisely why the FF-statistic is the standard test statistic for comparing several group means simultaneously.

Before this

Where this leads