Tutorials › Statistical Theory I - Probability and Distribution Theory › Noncentral Cochran Decompositions

Gaussian Quadratic Forms · Tutorial 763 of 994

Noncentral Cochran Decompositions

Learn when orthogonal Gaussian sum-of-squares components are independent noncentral chi-square variables, and how to calculate and check their noncentrality parameters.

Advanced 10 min read

What You'll Learn

  • State the projection and Gaussian assumptions for a noncentral Cochran decomposition.
  • Calculate a component’s degrees of freedom and noncentrality parameter from its projection.
  • Prove independence of the projected sums of squares using orthogonal Gaussian coordinates.
  • Show why the component noncentrality parameters add to the total noncentrality.
  • Recognize when a component is central and when a zero-rank component is degenerate.
  • Check decompositions with explicit mean vectors and variances.

From Central to Noncentral Decompositions

Cochran’s theorem describes how orthogonal projections of a centered spherical Gaussian vector divide its sum of squares into independent chi-square components. When the Gaussian vector has a nonzero mean, the same geometric division still gives independent components, but a component is generally noncentral. Its noncentrality parameter measures how much of the mean lies in the subspace selected by that projection.

The key is to distinguish the geometry of the projections from the location of the mean. Orthogonality determines independence and degrees of freedom; the projected mean determines noncentrality. When the projections partition the whole space, the component noncentralities add to the noncentrality of the total sum of squares.

Definitions and Setup

Definition: A matrix \(P\) is an orthogonal projection if \(P=P^\top=P^2\). Its image is the subspace onto which it projects, and its rank is the dimension of that subspace. A random variable \(W\) has a noncentral chi-square distribution with \(r\) degrees of freedom and noncentrality parameter \(\lambda\), written \(W\sim\chi^2_r(\lambda)\), if \(W=\sum_{j=1}^r (G_j+a_j)^2\), where \(G_1,\ldots,G_r\) are independent \(N(0,1)\) variables and \(\sum_{j=1}^r a_j^2=\lambda\). For \(r=0\), use the convention that the distribution is degenerate at zero.

Let \(Z\sim N_n(\mu,\sigma^2 I_n)\), where \(\sigma^2>0\), and let \(P_1,\ldots,P_k\) be orthogonal projections satisfying \(P_iP_j=0\) for \(i\ne j\) and \(\sum_{i=1}^k P_i=I_n\). Write \(r_i=\operatorname{rank}(P_i)\). The corresponding scaled sums of squares and noncentrality parameters are

$$ Q_i=\frac{Z^\top P_i Z}{\sigma^2}, \qquad \lambda_i=\frac{\mu^\top P_i\mu}{\sigma^2}. $$

The parameter \(\lambda_i\) is nonnegative: since \(P_i=P_i^\top=P_i^2\), \(\mu^\top P_i\mu=\|P_i\mu\|^2\). Thus \(\lambda_i\) is the squared length of the mean component in the projected subspace, measured in units of the variance.

The Noncentral Cochran Decomposition

Theorem: Under the assumptions above, \(Q_1,\ldots,Q_k\) are independent, and \(Q_i\sim\chi^2_{r_i}(\lambda_i)\) for each \(i\). Moreover, \(\sum_i r_i=n\), \(\sum_i\lambda_i=\mu^\top\mu/\sigma^2\), and \(\sum_i Q_i=Z^\top Z/\sigma^2\sim\chi^2_n(\mu^\top\mu/\sigma^2)\).

To prove the result, choose an orthonormal basis for the image of each \(P_i\). The images are mutually orthogonal because \(P_iP_j=0\), and together they span \(\mathbb R^n\) because the projections sum to \(I_n\). Put the basis vectors for each image into the columns of a matrix \(U_i\). The combined matrix \(U=[U_1\ \cdots\ U_k]\) is orthogonal, and \(P_i=U_iU_i^\top\).

The transformed vector \(U^\top Z\) is Gaussian with mean \(U^\top\mu\) and covariance \(\sigma^2 I_n\). Its coordinates are independent, since a jointly Gaussian vector with diagonal covariance has independent coordinates. In particular, its coordinate blocks \(U_i^\top Z\) are mutually independent. Also,

$$ Q_i=\frac{\|U_i^\top Z\|^2}{\sigma^2} =\sum_{j=1}^{r_i}\left(G_{ij}+\frac{(U_i^\top\mu)_j}{\sigma}\right)^2, $$

where the \(G_{ij}\) are independent \(N(0,1)\) variables. The squared shifts in block \(i\) sum to \(\|U_i^\top\mu\|^2/\sigma^2=\mu^\top U_iU_i^\top\mu/\sigma^2=\lambda_i\). The definition of the noncentral chi-square distribution therefore gives \(Q_i\sim\chi^2_{r_i}(\lambda_i)\). Each \(Q_i\) is a function only of its own independent coordinate block, so the \(Q_i\) are independent.

Finally, \(P_iP_j=0\) and \(\sum_iP_i=I_n\) imply \(\sum_iP_i^\top P_i=\sum_iP_i=I_n\). Hence \(\sum_i r_i=n\), and

$$ \sum_{i=1}^k\lambda_i =\frac{\mu^\top(\sum_iP_i)\mu}{\sigma^2} =\frac{\mu^\top\mu}{\sigma^2}, \qquad \sum_{i=1}^kQ_i =\frac{Z^\top(\sum_iP_i)Z}{\sigma^2} =\frac{Z^\top Z}{\sigma^2}. $$

Applying the same orthogonal-coordinate argument to the full space gives the stated distribution of the total. This proves the theorem. \(\square\)

The additivity also explains why grouping components preserves the form of the result. For any group \(A\) of indices, \(P_A=\sum_{i\in A}P_i\) is itself a projection: symmetry is preserved, and \(P_A^2=\sum_{i\in A}P_i=P_A\) because the cross-products vanish. Its rank is \(\sum_{i\in A}r_i\), its noncentrality is \(\sum_{i\in A}\lambda_i\), and its quadratic form is \(\sum_{i\in A}Q_i\). Thus the grouped sum has a noncentral chi-square distribution with those summed parameters.

Worked Decompositions

Worked Example: Coordinate Blocks With Unequal Noncentralities

Suppose \(Z\sim N_4(\mu,4I_4)\), with \(\mu=(2,-2,1,0)^\top\). Project onto the first two coordinates, the third coordinate, and the fourth coordinate. Find the component distributions and the total.

The projection ranks are \(2,1,1\), respectively. Because \(\sigma^2=4\), the three noncentrality parameters are \(\lambda_1=(2^2+(-2)^2)/4=2\), \(\lambda_2=1^2/4=1/4\), and \(\lambda_3=0^2/4=0\).

The theorem gives independent components \(Q_1\sim\chi^2_2(2)\), \(Q_2\sim\chi^2_1(1/4)\), and \(Q_3\sim\chi^2_1(0)\). The last component is central because the mean has no fourth-coordinate component. The total noncentrality is \(2+1/4+0=9/4\), which agrees with \(\mu^\top\mu/\sigma^2=(4+4+1+0)/4=9/4\). Consequently, \(Q_1+Q_2+Q_3\sim\chi^2_4(9/4)\).

Worked Example: A Mean Split Across Two Orthogonal Subspaces

Let \(Z\sim N_4(\mu,4I_4)\), where \(\mu=(2,0,0,0)^\top\). Let \(P\) project onto the span of \((1,1,1,1)^\top\), and let \(R=I_4-P\). Find the distributions of the two projected sums of squares.

The unit vector in the direction of \((1,1,1,1)^\top\) is \(u=(1,1,1,1)^\top/2\), so \(P=uu^\top\) has rank 1 and \(R\) has rank 3. The projection of the mean is \(P\mu=(1/2,1/2,1/2,1/2)^\top\), whose squared norm is \(1\). Thus \(\lambda_P=1/4\).

The residual mean is \(R\mu=\mu-P\mu=(3/2,-1/2,-1/2,-1/2)^\top\), whose squared norm is \(9/4+1/4+1/4+1/4=3\). Hence \(\lambda_R=3/4\). The orthogonal projections sum to the identity, so the scaled quadratic forms are independent with \(Z^\top PZ/4\sim\chi^2_1(1/4)\) and \(Z^\top RZ/4\sim\chi^2_3(3/4)\). Their noncentralities add to \(1\), matching \(\mu^\top\mu/4=4/4=1\); their sum is distributed as \(\chi^2_4(1)\).

Worked Example: Combining Orthogonal Components

Let \(Z\sim N_5(\mu,I_5)\), with \(\mu=(1,2,-1,0,2)^\top\). Use coordinate projections onto coordinates 1–2, coordinates 3–4, and coordinate 5. Find the component laws and the law obtained by combining the first two projections.

The ranks are \(2,2,1\). The noncentrality parameters are \(\lambda_1=1^2+2^2=5\), \(\lambda_2=(-1)^2+0^2=1\), and \(\lambda_3=2^2=4\). Therefore the independent component quadratic forms have distributions \(\chi^2_2(5)\), \(\chi^2_2(1)\), and \(\chi^2_1(4)\).

The sum of the first two projections has rank \(2+2=4\) and noncentrality \(5+1=6\); its quadratic form is therefore \(\chi^2_4(6)\). It remains independent of the third component. As a check, the total noncentrality is \(5+1+4=10\), and \(\mu^\top\mu=1+4+1+0+4=10\), so the total is \(\chi^2_5(10)\).

Interpretation and a Common Pitfall

A component is central precisely when \(P_i\mu=0\), because \(\lambda_i=\|P_i\mu\|^2/\sigma^2\). This does not require the full mean vector to be zero; it requires only that the mean have no component in that projection’s subspace. Conversely, a nonzero mean does not automatically make every component noncentral. The projection directions matter.

The independent components also provide a useful consistency check. For \(Q_i\sim\chi^2_{r_i}(\lambda_i)\), \(E[Q_i]=r_i+\lambda_i\). Thus the component means add to \(n+\mu^\top\mu/\sigma^2\), the mean of the total scaled squared norm. For the second worked example, the component means are \(1+1/4=5/4\) and \(3+3/4=15/4\), summing to \(5\), as does \(4+\mu^\top\mu/4=4+1\).

  • Common mistake: treating every projected sum of squares as central because the projections are orthogonal. Orthogonality establishes independence; it does not make the projected means zero.
  • Correction: compute \(\lambda_i=\mu^\top P_i\mu/\sigma^2\) for each projection. Use a central chi-square law only when this quantity is zero.
  • Another check: if the projections partition the space, verify both \(\sum_i r_i=n\) and \(\sum_i\lambda_i=\mu^\top\mu/\sigma^2\). A failure usually signals a missing subspace or an incorrect projection calculation.
Key takeaway: In a complete orthogonal projection decomposition of \(N_n(\mu,\sigma^2I_n)\), each scaled projected squared norm is an independent noncentral chi-square variable. Its degrees of freedom are the projection rank, and its noncentrality is the squared projected mean divided by \(\sigma^2\).

Check Your Understanding

Use the projection ranks and projected means to answer these questions.

  1. For a projection \(P_i\), what determines the degrees of freedom and what determines the noncentrality parameter of \(Z^\top P_iZ/\sigma^2\)?
  2. Can a nonzero mean vector produce a central component? State the necessary and sufficient condition for that component to be central.
  3. If mutually orthogonal projections sum to \(I_n\), what are the degrees of freedom and noncentrality parameter of the sum of their scaled quadratic forms?
  4. Suppose two orthogonal components have ranks 2 and 3 and noncentralities 1.5 and 4. What is the distribution of their sum?
  5. Why does orthogonality of the projections imply independence in the stated Gaussian model, rather than merely zero covariance of the quadratic forms?