Suppose , , are independent and identically distributed with normal distribution , where the mean and standard deviation are unknown. Define the sample mean and sample variance by
Under these assumptions,
Substitution gives the exact ratio
The unknown cancels. The denominator estimates the standard error of the sample mean; its sampling variability is precisely why the Student's t-distribution has wider tails than the standard normal distribution.
The crucial independence has a geometric explanation. Apply an orthogonal transformation to the standardized observations , choosing its first coordinate along . That coordinate is ; the remaining coordinates are independent standard normal random variables whose squared sum is . Their joint probability density factorizes because the transformation preserves the squared length. This also explains the loss of one statistical degree of freedom when estimating the mean. Uncorrelatedness alone would not establish the required independence for arbitrary data.
The result is exact for every under the stated normal distribution model. A small sample size by itself does not justify it: a sample from an arbitrary probability distribution need not have the displayed chi-squared distribution or the necessary independence.
Student's t-test Created 2026-09-29 Updated 2026-10-14
Student's t-test divides a normally distributed estimated effect by its estimated standard error. Under its null hypothesis the statistic has a Student's t-distribution, with degrees of freedom determined by the variance estimate.
For a symmetric interval of the form , where and the standard error is nonnegative, adding and subtracting the endpoints proves the displayed identities. Thus the endpoints must be ordered and their midpoint must equal the point estimate. Rounding should be assessed using intervals of possible unrounded values before declaring a numerical contradiction.
When this confidence interval is obtained by inverting a matching two-sided test of , exclusion of agrees with rejection at the corresponding significance level, with the usual convention at boundary equality. This is a check for a specified symmetric interval procedure, such as the usual t interval for a mean difference; it does not require asymmetric intervals or intervals on transformed scales to have their midpoint at the estimate on the original scale.
For a full-column-rank design matrix in a normal linear model, a fitted mean at covariate vector is . The covariance matrix of the least-squares estimator immediately gives the displayed variance. Replacing by the independent unbiased residual variance gives its squared standard error and a Student t confidence interval on statistical degrees of freedom. A future response instead contributes an additional error variance when its error is independent of the fitted data.
For pots per treatment and leaves per pot, the group sample mean decomposes into two averages:
The variance of a sum adds the variances of the independent terms. Every pot random effect has weight , whereas each remaining error has weight , giving the short proof
This is also the variance of the arithmetic mean of the pot sample means, each with variance . Equal numbers of leaves per pot make the two averaging procedures identical.
If all leaf measurements were falsely treated as independent, the predicted variance would instead be . The ratio of correct to false variance is
Thus pseudoreplication can underestimate a standard error by the square root of this ratio. Equality holds when or ; sharing a pot creates an error here precisely when the shared influence has positive variance.
Choose , , and as constructed model parameters in squared length units. These are assumptions rather than fitted experimental values. For each group,
The treatment contrast has expected value . Since the group errors are independent conditional on the allocation, its variance is twice the group variance, namely , whereas the false calculation gives . Its correct standard error is length units; the false value is . The variance ratio is .
Figure 1.
Constructed variance predictions: adding pots reduces uncertainty faster than adding leaf measurements within four pots
. Each curve uses and ; the horizontal axis counts measurements per treatment. The solid designs agree at four pots with three leaves each. The dashed curve assumes all measurements are independent and therefore illustrates pseudoreplication; none of the curves are observed experimental data. Details.
With four pots fixed, increasing drives the error contribution towards zero, but the limit of the group variance remains . Measuring twelve leaves on each of four pots gives . Using the same forty-eight measurements on sixteen pots, with three leaves per pot, gives . More independent experimental units reduce both contributions. Extra nested measurements are useful for characterizing each experimental unit, but cannot average away its shared random effect. This is why sample collection effort and the number of independent treatment replicates answer different questions.[ref]
Wald confidence interval Created 2026-09-24 Updated 2026-09-24
A Wald interval centers at an asymptotically normal estimator and uses a consistent estimated standard error times a normal quantile.