Chapter 1: Gaussian Geometry and Classical Sampling Distributions
This chapter starts from the projection geometry of Gaussian vectors and derives in a unified way classical sampling distributions such as the normal, chi-square, \(t\), and \(F\) distributions. The core idea is: linear contrasts produce normal distributions, squared lengths of projected vectors produce chi-square distributions, studentization by an independently estimated scale produces \(t\) distributions, and the ratio of two independent mean squares produces \(F\) distributions.
When the projected mean is nonzero, the corresponding chi-square, \(t\), or \(F\) distribution becomes a noncentral distribution. Hence, noncentral distributions naturally describe fixed alternative hypotheses and are used in power analysis and sample size calculation.
1. A One-Page Overview of the Statistical Problem
The statistical model is a family of distributions
that describes the distributions the observed data \(X\) may follow. The parameter \(\theta\) is fixed but unknown, while the sample \(X\) is random before it is observed. A statistic is a measurable function \(T(X)\) of \(X\), which must not contain unknown parameters.
The same statistic can serve different statistical inference tasks:
- estimator \(\widehat{g}(X)\) used to approximate the target \(g(\theta)\);
- test \(\phi(X)\in[0,1]\) measures evidence against the null hypothesis, where \(E_\theta\phi(X)\) equals the rejection probability;
- confidence set \(C(X)\) has repeated-sampling coverage
In each case, statistical inference requires us to know the distribution of the statistic under \(P_\theta\), which is the sampling distribution of the statistic.
Example 1 (Running model for this chapter)
If \(X_1,\ldots,X_n\overset{\mathrm{iid}}{\sim}N(\mu,\sigma^2)\), then \(\theta=(\mu,\sigma^2)\). The statistics \(\overline{X}\) and
estimate \(\mu\) and \(\sigma^2\), respectively.
Exact inference about \(\mu\) is feasible because the standardized \(\overline{X}\) is normally distributed, the residual sum of squares is chi-square distributed, and the two are independent. The \(t\) distribution is exactly the distribution of their studentized ratio.
2. Why These Distributions Keep Appearing
The normal, chi-square, \(t\), and \(F\) distributions are not a collection of distributions to be memorized in isolation. In the Gaussian model, they correspond respectively to four statistical operations:
| Distribution | Structural Form | Typical Exact Statistic | Main Use |
|---|---|---|---|
| Normal distribution | Gaussian linear contrast | Sample mean or regression coefficient under normal errors | Estimation and testing with known variance |
| Chi-square distribution | Squared norm of a central Gaussian projection | Residual sum of squares divided by \(\sigma^2\) | Variance inference |
| Noncentral chi-square distribution | Squared norm retaining a nonzero mean component | Regression sum of squares under an alternative hypothesis | Signal strength and power |
| \(t\) distribution | Central normal variable divided by an independent chi-square scale | Studentized mean or coefficient under the null hypothesis | Inference with unknown variance |
| Noncentral \(t\) distribution | Shifted normal variable divided by an independent chi-square scale | Studentized mean or coefficient under an alternative hypothesis | Power and sample size |
| \(F\) distribution | Ratio of two independent central mean squares | ANOVA or nested-model statistic under the null hypothesis | Testing multiple constraints |
| Noncentral \(F\) distribution | Noncentral numerator divided by central residual mean square | ANOVA or nested-model statistic under an alternative hypothesis | Power and experimental design |
Exact versus Approximate Distributions
The results in this chapter are exact in finite samples under a normal model with covariance \(\sigma^2I\). For nonnormal samples, the central limit theorem may make linear statistics approximately normal, but the exact independence between the estimated mean and the estimated variance usually no longer holds; in that case robust or asymptotic methods may be more appropriate.
Therefore, we should always also ask: What is the statistic? Which assumptions guarantee its reference distribution?
3. Gaussian Vectors and Projection Geometry
Let \(X\sim N_n(\mu,\Sigma)\). For a fixed matrix \(A\) and a fixed vector \(b\),
The closure of the Gaussian distribution under linear transformations is the source of all exact results in this chapter.
Theorem 1 (Zero Covariance Implies Independence in a Gaussian Vector)
Suppose \((U^T,V^T)^T\) is jointly Gaussian. Then
Proof of Theorem 1 (click to expand)
When second moments exist, independence always implies zero cross-covariance. We now prove the converse.
Write the joint mean as \((\mu_U,\mu_V)\), and assume the cross-covariance is zero. For vectors \(s\) and \(t\), the joint characteristic function is
The last expression is the product of the two marginal characteristic functions. By uniqueness of characteristic functions, \(U\) and \(V\) are independent. \(\square\)
Theorem 2 (Equivalent Characterization of Orthogonal Projections)
For an \(n\times n\) real matrix \(P\), the following three conditions are equivalent:
- \(P=P^T=P^2\);
- there exists a subspace \(\mathcal{S}\subseteq\mathbb{R}^n\) such that for every \(x\), \(Px\) is the orthogonal projection of \(x\) onto \(\mathcal{S}\);
- there exists an \(n\times r\) matrix \(U\) satisfying \(U^TU=I_r\) such that \(P=UU^T\).
Under these conditions,
and \(I-P\) is the orthogonal projection onto \(\mathcal{S}^{\perp}\).
Proof of Theorem 2 (click to expand)
First assume condition 1 holds. If \(y=Px\in\operatorname{col}(P)\), then
For any \(z=Pw\in\operatorname{col}(P)\),
Hence \(Px\in\operatorname{col}(P)\), and \(x-Px\perp\operatorname{col}(P)\), so condition 2 holds.
Now assume condition 2 holds. Choose an orthonormal basis \(u_1,\ldots,u_r\) of \(\mathcal{S}\), and let \(U=(u_1,\ldots,u_r)\). By the orthogonal projection formula,
so condition 3 holds.
Finally, if condition 3 holds, then
so condition 1 holds.
Every eigenvalue of an idempotent matrix satisfies \(\lambda^2=\lambda\), so eigenvalues can only be \(0\) or \(1\). Since \(P\) is symmetric, \(P\) can be orthogonally diagonalized, and both its rank and trace equal the number of eigenvalues equal to \(1\). The conclusion about \(I-P\) follows directly. \(\square\)
Lemma 3 (Nested Projections)
Let \(P_0\) and \(P_1\) be orthogonal projections. If \(\operatorname{col}(P_0)\subseteq\operatorname{col}(P_1)\), then
Hence \(P_1-P_0\) is the orthogonal projection onto \(\operatorname{col}(P_1)\cap\operatorname{col}(P_0)^\perp\), and it is orthogonal to both \(P_0\) and \(I-P_1\).
Proof of Lemma 3 (click to expand)
For any \(x\), \(P_0x\in\operatorname{col}(P_0)\subseteq\operatorname{col}(P_1)\), so \(P_1P_0x=P_0x\). Taking transposes on both sides gives \(P_0P_1=P_0\). Thus
Also, since \(P_1-P_0\) is symmetric, it is a projection. Its image space is contained in \(\operatorname{col}(P_1)\), and it annihilates \(\operatorname{col}(P_0)\). At the same time,
so its image space is exactly \(\operatorname{col}(P_1)\cap\operatorname{col}(P_0)^\perp\). Finally,
which gives the required orthogonality. \(\square\)
4. Central and Noncentral Chi-Square Distributions
Definition 4.1 (Noncentral Chi-Square Distribution)
Let \(Z_1,\ldots,Z_r\) be mutually independent, with \(Z_j\sim N(a_j,1)\). Define
The number \(\lambda\geq0\) is called the noncentrality parameter. When \(\lambda=0\), it reduces to the central chi-square distribution \(\chi_r^2\).
Notation Convention
Some lecture notes write the noncentrality parameter as \(\delta^2\) and denote the same distribution by \(\chi_r^2(\delta^2)\). This chapter uses the common convention \(\lambda=\delta^2\), with the standard terminology βnoncentral.β
Theorem 4 (Gaussian Quadratic Forms)
Let \(X\sim N_n(\mu,\sigma^2I_n)\), where \(\sigma^2>0\), and let \(P\) be an orthogonal projection of rank \(r\). Then
In particular, this distribution is central chi-square if and only if \(P\mu=0\).
Proof of Theorem 4 (click to expand)
By the spectral theorem, there exists an orthogonal matrix \(O=(O_1,O_0)\) such that
where the columns of \(O_1\) form an orthonormal basis of \(\operatorname{col}(P)\). Let \(Z=O^TX/\sigma\). Then
and the coordinates of \(Z\) are mutually independent. Therefore
By definition, it follows a noncentral chi-square distribution with noncentrality parameter
Since \(P=P^T=P^2\), we have \(\mu^TP\mu=\lVert P\mu\rVert^2\). This value is zero if and only if \(P\mu=0\). \(\square\)
Corollary 5 (Mean and Variance)
If \(Q\sim\chi_r^2(\lambda)\), then
Proof of Corollary 5 (click to expand)
Write \(Q=\sum_{j=1}^rZ_j^2\), where the mutually independent \(Z_j\sim N(a_j,1)\) and \(\sum_ja_j^2=\lambda\). Because
so
Summing using independence gives the result. \(\square\)
5. Orthogonal Gaussian Components and Cochran's Theorem
Theorem 6 (Independence of Orthogonal Projections)
Let \(X\sim N_n(\mu,\sigma^2I_n)\). If \(P\) and \(Q\) are orthogonal projections satisfying \(PQ=0\), then \(PX\) and \(QX\) are independent. Consequently, \(X^TPX\) and \(X^TQX\) are also independent.
Proof of Theorem 6 (click to expand)
Because \(P\) and \(Q\) are both symmetric,
The vector pair \((PX,QX)\) is jointly Gaussian, and
By Theorem 1, \(PX\perp QX\). Also, because
the two quadratic forms are functions of two independent vectors, respectively, so they are also independent. \(\square\)
Theorem 7 (Cochran's Theorem: Projection Form)
Let \(P_1,\ldots,P_k\) be pairwise orthogonal projections, that is, \(P_iP_j=0\) when \(i\neq j\). If \(X\sim N_n(\mu,\sigma^2I_n)\), then
are mutually independent, and
If, moreover, \(\sum_jP_j=I_n\), then
Proof of Theorem 7 (click to expand)
Theorem 4 gives the marginal distribution of each \(Q_j\). Stack the projected vectors as
It is a jointly Gaussian vector, and when \(i\neq j\), its \((i,j)\)th cross-covariance block is
Hence the covariance matrix of \(W\) is block diagonal. Its characteristic function factors into the product of the marginal characteristic functions, so the projected vectors are mutually independent, and their squared norms are also mutually independent.
If \(\sum_jP_j=I_n\), then
Taking traces gives \(\sum_jr_j=n\), and
This completes the proof. \(\square\)
Theorem 8 (Cochran's Theorem: Rank Form)
Let \(A_1,\ldots,A_k\) be symmetric positive semidefinite matrices satisfying
Write \(r_j=\operatorname{rank}(A_j)\). If \(\sum_jr_j=n\), then each \(A_j\) is an orthogonal projection, and these projections are pairwise orthogonal. Therefore, for \(X\sim N_n(\mu,\sigma^2I_n)\),
and these quadratic forms are mutually independent.
Proof of Theorem 8 (click to expand)
Because \(A_j\succeq0\) and
every eigenvalue of \(A_j\) lies in \([0,1]\). Thus
But
Therefore all inequalities must be equalities. For each \(j\), the \(r_j\) nonzero eigenvalues of \(A_j\) lie in \((0,1]\) and sum to \(r_j\), so they all equal \(1\), and hence \(A_j^2=A_j\).
Fix \(i\neq j\), and take \(x\in\operatorname{col}(A_j)\). Since \(A_j\) is already a projection, \(A_jx=x\), so
Each term is nonnegative, so \(x^TA_ix=0\). Also, because \(A_i\) is a projection, \(x^TA_ix=\lVert A_ix\rVert^2\), so \(A_ix=0\). This holds for all \(x\in\operatorname{col}(A_j)\), so \(A_iA_j=0\). Finally, Theorem 7 yields the distribution and independence conclusions. \(\square\)
Why the Rank Condition Matters
The rank condition forces these quadratic forms to use exactly \(n\) mutually perpendicular Gaussian coordinates: they neither reuse any direction nor omit any direction.
6. Normal Samples: Chi-Square and Student Distributions
Let \(X=(X_1,\ldots,X_n)^T\), where \(X_i\overset{\mathrm{iid}}{\sim}N(\mu,\sigma^2)\), and define
\(P_1\) and \(M\) project onto \(\operatorname{span}(\mathbf{1})\) and its orthogonal complement, respectively, with ranks \(1\) and \(n-1\).
Theorem 9 (MeanβVariance Decomposition for Normal Samples)
For a normal sample,
Proof of Theorem 9 (click to expand)
Because \(\overline{X}=n^{-1}\mathbf{1}^TX\) is a linear Gaussian statistic,
In addition,
Because \(P_1M=0\), Theorem 6 shows that \(P_1X\) and \(MX\) are independent, so \(\overline{X}\) and \(S^2\) are independent. Finally, \(M\) has rank \(n-1\), and \(M(\mu\mathbf{1})=0\), so by Theorem 4,
This completes the proof. \(\square\)
Definition 6.1 (Central and Noncentral Student Distributions)
Let \(Z\sim N(\delta,1)\) and \(V\sim\chi_\nu^2\), and let the two be independent. Then
When \(\delta=0\), it is the central Student distribution \(t_\nu\).
Corollary 10 (One-Sample Statistic under the Null and Alternative Hypotheses)
For any reference value \(\mu_0\),
Under \(H_0:\mu=\mu_0\), \(T\sim t_{n-1}\); under a fixed alternative hypothesis, \(T\) follows a noncentral \(t\) distribution.
Proof of Corollary 10 (click to expand)
Let
Theorem 9 gives
Because
the conclusion follows directly from the definition. \(\square\)
7. Central and Noncentral \(F\) Distributions
Definition 7.1 (Central and Singly Noncentral \(F\) Distributions)
Let \(U\sim\chi_r^2(\lambda)\) and \(V\sim\chi_s^2\), and let the two be independent. Then
When \(\lambda=0\), it is the central \(F\) distribution \(F_{r,s}\). In the standard singly noncentral definition, the denominator is a central chi-square variable; if both numerator and denominator are noncentral chi-square variables, the ratio follows a doubly noncentral \(F\) distribution, which this chapter does not need to use.
7.1 Variances of Two Independent Samples
Let
and let the two samples be independent.
Proposition 11 (Variance Ratio)
We have
Under \(H_0:\sigma_X^2=\sigma_Y^2\), the unstandardized variance ratio follows a central \(F_{m-1,n-1}\) distribution.
Proof of Proposition 11 (click to expand)
By Theorem 9, the following two variables are independent:
Therefore
This completes the proof. \(\square\)
An Important Distinction
When \(\sigma_X^2\neq\sigma_Y^2\), the unstandardized variance ratio follows a scaled central \(F\) distribution, not a noncentral \(F\) distribution. Noncentrality comes from a nonzero Gaussian mean in a squared projection; different variances only change the scale.
7.2 Nested Normal Linear Models
This is the main reason for introducing the noncentral \(F\) distribution. Let \(Y\sim N_n(\mu,\sigma^2I_n)\), and consider nested design spaces
with projection matrices \(H_R,H_F\), respectively, and let \(q=p_F-p_R\).
Theorem 12 (\(F\) Statistic for Nested Models)
Assume \(\mu\in\mathcal{S}_F\) and \(n>p_F\). Then
where
For testing \(H_0:\mu\in\mathcal{S}_R\) against \(H_1:\mu\in\mathcal{S}_F\setminus\mathcal{S}_R\), under the null hypothesis the statistic follows a central \(F_{q,n-p_F}\) distribution; under a fixed alternative hypothesis, \(\lambda>0\).
Proof of Theorem 12 (click to expand)
By Lemma 3,
are orthogonal projections of ranks \(q\) and \(n-p_F\), respectively, and \(P_NP_D=0\). By Theorem 4 and Theorem 6, the following two variables are independent:
Because \(\mu\in\mathcal{S}_F\), we have \(P_D\mu=0\), so \(\lambda_D=0\). Therefore
If \(\mu\in\mathcal{S}_R\), then \(H_R\mu=H_F\mu=\mu\), so \(\lambda=0\). Conversely, within \(\mathcal{S}_F\) there is the orthogonal decomposition
If \(\mu\notin\mathcal{S}_R\), then the second component is nonzero, so \(\lambda>0\). \(\square\)
Example 2 (Testing a Set of Regression Coefficients)
In the full model
test \(H_0:\beta_2=0\). Suppose \(X_2\) adds \(q\) linearly independent directions outside \(\operatorname{col}(X_1)\), and take
The numerator of Theorem 12 is the increase in fitted sum of squares after adding \(X_2\), and the denominator is the residual mean square of the full model. Under the alternative hypothesis, the component of \(X_2\beta_2\) that cannot be explained by \(X_1\) makes \(\lambda>0\). Therefore
is the exact power; conversely, solving the equation for this probability with respect to \(n\) allows sample size calculation.
Geometric summary: The data admit the orthogonal decomposition
where the three terms correspond in order to the reduced-model fit, extra fit, and full-model residual. Cochran's theorem converts the squared lengths of these mutually perpendicular Gaussian components into independent chi-square variables, and the \(F\) statistic compares the extra fitted mean square with the residual mean square.
Appendix A: Moment Generating Function and Poisson Mixture Representation
Lemma 13
If \(Z\sim N(a,1)\), then for \(t<1/2\),
Proof of Lemma 13 (click to expand)
By completing the square,
This completes the proof. \(\square\)
Proposition 14 (Moment Generating Function, Additivity, and Poisson Mixture)
If \(Q\sim\chi_r^2(\lambda)\), then
Therefore, when mutually independent noncentral chi-square variables are added, their degrees of freedom and noncentrality parameters add separately.
In addition, if
then the marginal distribution of \(Q\) is \(\chi_r^2(\lambda)\).
Proof of Proposition 14 (click to expand)
Applying Lemma 13 to each independent coordinate and multiplying the moment generating functions gives the moment generating function formula above. The product form of the moment generating function also directly proves additivity.
For the Poisson mixture representation,
By uniqueness of the moment generating function, \(Q\sim\chi_r^2(\lambda)\). \(\square\)
Appendix B: Converse for Gaussian Quadratic Forms
Theorem 15 (Necessity of Being a Projection)
Let \(Z\sim N_n(0,I_n)\), and let \(A\) be a real symmetric matrix. If
then \(A\) must be an orthogonal projection of rank \(r\).
Proof of Theorem 15 (click to expand)
Diagonalize \(A\) as
Let \(W=O^TZ\). Then \(W\sim N_n(0,I_n)\), and
There cannot be any negative \(a_j\). For example, if \(a_1<0\), then the event β\(W_1^2\) is sufficiently large while the other squared terms remain boundedβ has positive probability and makes the quadratic form negative, which contradicts the nonnegativity of a chi-square variable.
For \(t\) near zero, equality of moment generating functions gives
Taking reciprocals and then squaring both sides gives the polynomial identity
Every positive \(a_j\) produces a root \((2a_j)^{-1}\) on the left; the right side has only the root \(1/2\), with multiplicity \(r\). Therefore exactly \(r\) eigenvalues equal \(1\), and the remaining eigenvalues equal \(0\). Hence \(A^2=A\), and together with symmetry this implies that \(A\) is an orthogonal projection of rank \(r\). \(\square\)
Why Symmetry Is Natural
Every quadratic form depends only on the symmetric part of the matrix, because
Appendix C: Density Derivations for Central Distributions
C.1 Chi-Square Distribution
If \(Z\sim N(0,1)\) and \(W=Z^2\), using the two inverse-function branches \(z=\pm\sqrt{w}\), we obtain
Therefore \(Z^2\) follows a Gamma distribution with shape parameter \(1/2\) and scale parameter \(2\). Adding independent Gamma variables with the same scale parameter gives
C.2 Student Distribution
Let \(Z\sim N(0,1)\) and \(V\sim\chi_\nu^2\), and let them be independent. For
make the change of variables \(z=t\sqrt{v/\nu}\), whose Jacobian is \(\sqrt{v/\nu}\). Then
The last step follows from the Gamma integral.
C.3 \(F\) Distribution
Let \(U\sim\chi_r^2\) and \(V\sim\chi_s^2\), and let them be independent. For
make the change of variables \(u=(r/s)fv\) while retaining \(v\), whose Jacobian is \((r/s)v\). Using the Gamma integral gives
Appendix D: Proof Checklist and Distribution Selection Checklist
- Is the vector exactly Gaussian, or only asymptotically normal?
- Is the covariance matrix \(\sigma^2I\)? If not, can the vector be whitened?
- Is the quadratic-form matrix symmetric and idempotent? Its degrees of freedom equal the rank of the matrix.
- Compute
do not incorrectly set it to zero when away from the null hypothesis. 5. For Gaussian projections, check \(P_iP_j=0\) before asserting independence. 6. Write the \(F\) statistic as \((U/r)/(V/s)\), and confirm that in the usual noncentral \(F\) distribution the denominator is a central chi-square variable. 7. Clarify whether the distribution is used for null calibration, confidence coverage, power, or sample size calculation.