ArticleslgStudy

mathematics

Cochran's theorem

Cochran's theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cochran's theorem rather than just read about it. In short: In statistics, Cochran's theorem, devised by William G. Cochran, is a theorem used to justify results relating to the probability distributions of statistics that are used in the analysis of variance.

Key takeaways

  • Cochran's theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cochran's theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cochran's theorem from memory before moving on to harder problems.

Reference excerpt

In statistics, Cochran's theorem, devised by William G. Cochran, is a theorem used to justify results relating to the probability distributions of statistics that are used in the analysis of variance.

Statement Let U1,⋯,UN be i.i.d. standard normally distributed random variables, and U=[U1,...,UN]T. Let B(1),B(2),…,B(k) be symmetric matrices. Define ri to be the rank of B(i). Define Qi=UTB(i)U, so that the Qi are quadratic forms. Further assume ∑iQi=UTU. Cochran's theorem states that the following are equivalent:

r1+⋯+rk=N, the Qi are independent each Qi has a chi-squared distribution with ri degrees of freedom. Often it's stated as ∑iAi=A, where A is idempotent, and ∑iri=N is replaced by ∑iri=rank⁡(A). But after an orthogonal transform, A=diag⁡(IM,0), and so we reduce to the above theorem. Here, diag denotes the diagonal transform.

Alternative formulation The following version is often seen when considering linear regression. Suppose that Y∼Nn(0,σ2In) is a standard multivariate normal random vector (here In denotes the n-by-n identity matrix), and if A1,…,Ak are all n-by-n symmetric matrices with ∑i=1kAi=In. Then, on defining ri=rank⁡(Ai), any one of the following conditions implies the other two:

∑i=1kri=n, YTAiY∼σ2χri2 (thus the Ai are positive semidefinite) YTAiY is independent of YTAjY for i≠j.

Examples

Sample mean and sample variance If X1, ..., Xn are independent normally distributed random variables with mean μ and standard deviation σ then

Ui=Xi−μσ is standard normal for each i. Note that the total Q is equal to sum of squared Us as shown here:

∑iQi=∑jikUjBjk(i)Uk=∑jkUjUk∑iBjk(i)=∑jkUjUkδjk=∑jUj2 which stems from the original assumption that B1+B2…=I. So instead we will calculate this quantity and later separate it into Qi's. It is possible to write

∑i=1nUi2=∑i=1n(Xi−X‾σ)2+n(X‾−μσ)2 (here X‾ is the sample mean). To see this identity, multiply throughout by σ2 and note that

∑(Xi−μ)2=∑(Xi−X‾+X‾−μ)2 and expand to give

∑(Xi−μ)2=∑(Xi−X‾)2+∑(X‾−μ)2+2∑(Xi−X‾)(X‾−μ). The third term is zero because it is equal to a constant times

∑(X‾−Xi)=0, and the second term has just n identical terms added together. Thus

∑(Xi−μ)2=∑(Xi−X‾)2+n(X‾−μ)2, and hence

∑(Xi−μσ)2=∑(Xi−X‾σ)2+n(X‾−μσ)2=∑i(Ui−1n∑jUj)2⏞Q1+1n(∑jUj)2⏞Q2=Q1+Q2. Now B(2)=Jnn with Jn the matrix of ones which has rank 1. In turn B(1)=In−Jnn given that In=B(1)+B(2). This expression can be also obtained by expanding Q1 in matrix notation. It can be shown that the rank of B(1) is n−1 as the addition of all its rows is equal to zero. Thus the conditions for Cochran's theorem are met. Cochran's theorem then states that Q1 and Q2 are independent, with chi-squared distributions with n − 1 and 1 degree of freedom respectively. This shows that the sample mean and sample variance are independent. This can also be shown by Basu's theorem, and in fact this property characterizes the normal distribution – for no other distribution are the sample mean and sample variance independent.

Distributions The result for the distributions is written symbolically as

∑(Xi−X‾)2∼σ2χn−12. n(X‾−μ)2∼σ2χ12, Both these random variables are proportional to the true but unknown variance σ2. Thus their ratio does not depend on σ2 and, because they are statistically independent. The distribution of their ratio is given by

n(X‾−μ)21n−1∑(Xi−X‾)2∼χ121n−1χn−12∼F1,n−1 where F1,n − 1 is the F-distribution with 1 and n − 1 degrees of freedom (see also Student's t-distribution). The final step here is effectively the definition of a random variable having the F-distribution.

Estimation of variance To estimate the variance σ2, one estimator that is sometimes used is the maximum likelihood estimator of the variance of a normal distribution

σ^2=1n∑(Xi−X‾)2. Cochran's theorem shows that

nσ^2σ2∼χn−12 and the properties of the chi-squared distribution show that

E(nσ^2σ2)=E(χn−12)nσ2E(σ^2)=(n−1)E(σ^2)=σ2(n−1)n

Proof Claim: Let X be a standard Gaussian in ℝn, then for any symmetric matrices Q,Q′, if XTQX and XTQ′X have the same distribution, then Q,Q′ have the same eigenvalues (up to multiplicity).

Claim: I=∑iBi.

Lemma: If ∑iMi=I, all Mi symmetric, and have eigenvalues 0, 1, then they are simultaneously diagonalizable.

Now we prove the original theorem. We prove that the three cases are equivalent by proving that each case implies the next one in a cycle (1→2→3→1).

See also Cramér's theorem, on decomposing normal distribution Infinite divisibility (probability)

References

Worked examples

Example 1 — a first encounter with Cochran's theorem

Start with the simplest possible case. Write down what Cochran's theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cochran's theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cochran's theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cochran's theorem

In research
Cochran's theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cochran's theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cochran's theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Characterization of probability distributions, Theorems in statistics, so understanding it makes those chapters shorter.
In everyday life
Look for Cochran's theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cochran's theorem” →

How to study Cochran's theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cochran's theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cochran's theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cochran's theorem in simple terms?

In statistics, Cochran's theorem, devised by William G. Cochran, is a theorem used to justify results relating to the probability distributions of statistics that are used in the analysis of variance.

Why does Cochran's theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cochran's theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cochran's theorem.

Tags

  • Characterization of probability distributions
  • Theorems in statistics

Keep exploring