Menu Close

Multivariate normal distribution: UPSC Statistics Optional PYQ Solutions (1995–2026)

All 47 questions UPSC has asked on multivariate normal distribution in the Statistics Optional (Paper I, Linear Inference and Multivariate Analysis) from 1995 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Linear Inference and Multivariate Analysis topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SciPy) and matched.
  • ✓ Proof checked step by step for “prove that” and “examine whether” questions, every step was checked against the definitions and the standard theorems.
  • ✓ Derivation checked step by step for derivations and approximations, every step was checked, and the result was also tested numerically.
  • ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 8a 2025 · 5b 2025 · 6b 2024 · 5b(i) 2024 · 6a(iv) 2023 · 5a 2023 · 5b 2023 · 6a 2022 · 5b 2021 · 6c 2020 · 5b 2019 · 7a 2018 · 6b 2018 · 7a 2017 · 5b 2016 · 7a 2015 · 6b 2015 · 8a 2014 · 5e 2014 · 6a 2013 · 8a 2012 · 5a 2011 · 7a 2010 · 5b 2010 · 5c 2010 · 6a 2010 · 7a 2010 · 8c 2009 · 6a 2007 · 5d 2006 · 5b 2006 · 5d 2006 · 6c 2004 · 5a 2003 · 6a 2002 · 5a 2002 · 6b 2000 · 6c 1999 · 10b 1998 · 11a(i) 1998 · 11a(ii) 1998 · 11b 1997 · 11a 1997 · 11b 1996 · 11a 1995 · 11a 1995 · 11b

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Define multivariate normal distribution and write down its important properties. Let 𝐗1, 𝐗2, 𝐗3 and 𝐗4 are mutually independent random vectors following Np(𝛍,Σ). Then find the marginal distributions of (i) 𝐖1=14𝐗1−14𝐗2+14𝐗3−14𝐗4 (ii) 𝐖2=14𝐗1+14𝐗2−14𝐗3−14𝐗4 Also obtain the joint distribution of random vectors 𝐖1 and 𝐖2.

2026 · Paper I · Q8a · 20 marks

Solution

Multivariate normal distribution. A pp-dimensional random vector XX has the multivariate normal distribution Np(μ,Σ)N_p(\mu,\Sigma), with Σ\Sigma positive definite, if its density is f(x)=(2π)−p/2|Σ|−1/2exp{−12(x−μ)′Σ−1(x−μ)},x∈ℝp.f(x)=(2\pi)^{-p/2}|\Sigma|^{-1/2}\exp\Big\{-\tfrac12(x-\mu)'\Sigma^{-1}(x-\mu)\Big\},\qquad x\in\mathbb R^p . Equivalently (and also for singular Σ\Sigma), XX is Np(μ,Σ)N_p(\mu,\Sigma) if every linear combination l′Xl'X is univariate normal N(l′μ,l′Σl)N(l'\mu,l'\Sigma l).

Important properties.

  1. E(X)=μE(X)=\mu, D(X)=ΣD(X)=\Sigma; the characteristic function is exp(it′μ−12t′Σt)\exp(it'\mu-\frac12t'\Sigma t), so the distribution is fixed by μ\mu and Σ\Sigma.
  2. Linear transformations: CX+d∼Nm(Cμ+d,CΣC′)CX+d\sim N_m(C\mu+d,C\Sigma C') for any m×pm\times p matrix CC.
  3. Marginals: every sub-vector is multivariate normal, with the corresponding parts of μ\mu and Σ\Sigma.
  4. Independence: two sub-vectors are independent if and only if their cross-covariance matrix is zero; uncorrelated components are independent.
  5. Conditionals: X(1)∣X(2)=x(2)∼N(μ(1)+Σ12Σ22−1(x(2)−μ(2)),Σ11−Σ12Σ22−1Σ21)X^{(1)}\mid X^{(2)}=x^{(2)}\sim N(\mu^{(1)}+\Sigma_{12}\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)}),\ \Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}): linear regression and constant conditional dispersion.
  6. (X−μ)′Σ−1(X−μ)∼χp2(X-\mu)'\Sigma^{-1}(X-\mu)\sim\chi^2_p; the contours of constant density are ellipsoids.
  7. Sums: if X1,…,XnX_1,\dots,X_n are independent Np(μi,Σi)N_p(\mu_i,\Sigma_i), then ∑aiXi∼Np(∑aiμi,∑ai2Σi)\sum a_iX_i\sim N_p(\sum a_i\mu_i,\sum a_i^2\Sigma_i).
  8. For a random sample, X‾∼Np(μ,Σ/n)\bar X\sim N_p(\mu,\Sigma/n) is independent of the matrix A=∑(Xα−X‾)(Xα−X‾)′∼Wp(Σ,n−1)A=\sum(X_\alpha-\bar X)(X_\alpha-\bar X)'\sim W_p(\Sigma,n-1).

(i) and (ii) Marginal distributions. By property 7, with coefficients ai=±14a_i=\pm\frac14: E(W1)=14(μ−μ+μ−μ)=0,D(W1)=(116×4)Σ=14Σ,E(W_1)=\tfrac14(\mu-\mu+\mu-\mu)=0,\qquad D(W_1)=\big(\tfrac1{16}\times4\big)\Sigma=\tfrac14\Sigma, E(W2)=14(μ+μ−μ−μ)=0,D(W2)=14Σ.E(W_2)=\tfrac14(\mu+\mu-\mu-\mu)=0,\qquad D(W_2)=\tfrac14\Sigma . So W1∼Np(0,14Σ),W2∼Np(0,14Σ).W_1\sim N_p\Big(0,\ \tfrac14\Sigma\Big),\qquad W_2\sim N_p\Big(0,\ \tfrac14\Sigma\Big).

Joint distribution. (W1′,W2′)′(W_1',W_2')' is a linear function of the 4p4p-dimensional normal vector (X1′,…,X4′)′(X_1',\dots,X_4')', so it is 2p2p-variate normal. The cross-covariance is Cov(W1,W2)=∑iaibiΣ=116(1−1−1+1)Σ=0,\text{Cov}(W_1,W_2)=\sum_ia_ib_i\Sigma=\tfrac1{16}(1-1-1+1)\Sigma=0, with a=14(1,−1,1,−1)a=\frac14(1,-1,1,-1) and b=14(1,1,−1,−1)b=\frac14(1,1,-1,-1). Hence (W1W2)∼N2p((00),(14Σ0014Σ)),\begin{pmatrix}W_1\\W_2\end{pmatrix}\sim N_{2p}\left(\begin{pmatrix}0\\0\end{pmatrix},\ \begin{pmatrix}\frac14\Sigma&0\\0&\frac14\Sigma\end{pmatrix}\right), and, the cross-covariance being zero, W1W_1 and W2W_2 are independent.

✓ Derivation checked step by step Every step was checked: the mean and dispersion of each W from the coefficients (±1/4), and the zero cross-covariance that makes W₁ and W₂ independent.

↑ Back to the question list

Let X=(X1X2X3)′∼N3(μ,Σ), where μ=(121) and Σ=(922230202). Find the joint distribution of Y1=X1+X2+X3 and Y2=X2−X3.

2025 · Paper I · Q5b · 10 marks

Solution

Transformation. Y=AXY=AX with A=(11101−1),A=\begin{pmatrix}1&1&1\\0&1&-1\end{pmatrix}, which has rank 2. A linear transformation of a multivariate normal vector is multivariate normal, Y∼N2(Aμ,AΣA′)Y\sim N_2(A\mu,A\Sigma A').

Mean. Aμ=(1+2+12−1)=(41).A\mu=\begin{pmatrix}1+2+1\\2-1\end{pmatrix}=\begin{pmatrix}4\\1\end{pmatrix}.

Dispersion. V(Y1)=∑i,jσij=9+3+2+2(2+2+0)=22,V(Y_1)=\sum_{i,j}\sigma_{ij}=9+3+2+2(2+2+0)=22, V(Y2)=σ22+σ33−2σ23=3+2−0=5,V(Y_2)=\sigma_{22}+\sigma_{33}-2\sigma_{23}=3+2-0=5, Cov(Y1,Y2)=(σ12+σ22+σ32)−(σ13+σ23+σ33)=(2+3+0)−(2+0+2)=1.\text{Cov}(Y_1,Y_2)=(\sigma_{12}+\sigma_{22}+\sigma_{32})-(\sigma_{13}+\sigma_{23}+\sigma_{33})=(2+3+0)-(2+0+2)=1 .

Result. (Y1Y2)∼N2((41),(22115)).\begin{pmatrix}Y_1\\Y_2\end{pmatrix}\sim N_2\left(\begin{pmatrix}4\\1\end{pmatrix},\ \begin{pmatrix}22&1\\1&5\end{pmatrix}\right). (Corr(Y1,Y2)=1/110=0.095\text{Corr}(Y_1,Y_2)=1/\sqrt{110}=0.095.)

✓ Checked by computer We checked in Python: the mean (4, 1) and the dispersion matrix [[22, 1], [1, 5]] from AΣA′.

↑ Back to the question list

Let X=(X1,X2,X3)′∼N3(μ,Σ), in which μ=(213) and Σ=(92−222−3−2−39) Obtain (i) E{X1∣X2=x2,X3=x3} and (ii) Var{X1∣X2=x2,X3=x3}.

2025 · Paper I · Q6b · 15 marks

Solution

Formulas. Partition X=(X1∣X2,X3)′X=(X_1\mid X_2,X_3)': σ11=9,Σ12=(2,−2),Σ22=(2−3−39).\sigma_{11}=9,\qquad\Sigma_{12}=(2,\ -2),\qquad\Sigma_{22}=\begin{pmatrix}2&-3\\-3&9\end{pmatrix}. Then E(X1∣x2,x3)=μ1+Σ12Σ22−1(x2−μ2x3−μ3),V(X1∣x2,x3)=σ11−Σ12Σ22−1Σ21.E(X_1\mid x_2,x_3)=\mu_1+\Sigma_{12}\Sigma_{22}^{-1}\begin{pmatrix}x_2-\mu_2\\x_3-\mu_3\end{pmatrix},\qquad V(X_1\mid x_2,x_3)=\sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}.

Calculation. |Σ22|=18−9=9|\Sigma_{22}|=18-9=9, so Σ22−1=19(9332),Σ12Σ22−1=19(18−6,6−4)=(43,29).\Sigma_{22}^{-1}=\frac19\begin{pmatrix}9&3\\3&2\end{pmatrix},\qquad\Sigma_{12}\Sigma_{22}^{-1}=\frac19(18-6,\ 6-4)=\Big(\frac43,\ \frac29\Big).

(i) Conditional mean. E(X1∣X2=x2,X3=x3)=2+43(x2−1)+29(x3−3)=43x2+29x3,E(X_1\mid X_2=x_2,X_3=x_3)=2+\frac43(x_2-1)+\frac29(x_3-3)=\frac{4}{3}x_2+\frac29x_3, since 2−43−69=02-\frac43-\frac69=0.

(ii) Conditional variance. V(X1∣x2,x3)=9−(43⋅2+29⋅(−2))=9−209=619=6.78.V(X_1\mid x_2,x_3)=9-\Big(\frac43\cdot2+\frac29\cdot(-2)\Big)=9-\frac{20}9=\frac{61}9=6.78 . It does not depend on x2,x3x_2,x_3. (The squared multiple correlation is R1⋅232=20/99=0.247R^2_{1\cdot23}=\frac{20/9}{9}=0.247.)

✓ Checked by computer We checked in Python: Σ₁₂Σ₂₂⁻¹ = (4/3, 2/9) and the conditional variance 9 − 20/9 = 61/9.

↑ Back to the question list

If X∼ is distributed as N3(μ∼,Σ), find the distribution of [X1−X2X2−X3].

2024 · Paper I · Q5b(i) · 5 marks

Solution

Result. Y=(X1−X2X2−X3)=CXY=\begin{pmatrix}X_1-X_2\\X_2-X_3\end{pmatrix}=CX with C=(1−1001−1)C=\begin{pmatrix}1&-1&0\\0&1&-1\end{pmatrix}, of rank 2. A linear transformation of a multivariate normal vector is multivariate normal, CX∼N2(Cμ,CΣC′)CX\sim N_2(C\mu,C\Sigma C'). Writing μ=(μ1,μ2,μ3)′\mu=(\mu_1,\mu_2,\mu_3)' and Σ=(σij)\Sigma=(\sigma_{ij}): Cμ=(μ1−μ2μ2−μ3),C\mu=\begin{pmatrix}\mu_1-\mu_2\\\mu_2-\mu_3\end{pmatrix}, CΣC′=(σ11+σ22−2σ12σ12−σ13−σ22+σ23σ12−σ13−σ22+σ23σ22+σ33−2σ23).C\Sigma C'=\begin{pmatrix}\sigma_{11}+\sigma_{22}-2\sigma_{12}&\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}\\\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}&\sigma_{22}+\sigma_{33}-2\sigma_{23}\end{pmatrix}. So (X1−X2X2−X3)∼N2((μ1−μ2μ2−μ3),(σ11+σ22−2σ12σ12−σ13−σ22+σ23σ12−σ13−σ22+σ23σ22+σ33−2σ23)).\begin{pmatrix}X_1-X_2\\X_2-X_3\end{pmatrix}\sim N_2\left(\begin{pmatrix}\mu_1-\mu_2\\\mu_2-\mu_3\end{pmatrix},\ \begin{pmatrix}\sigma_{11}+\sigma_{22}-2\sigma_{12}&\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}\\\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}&\sigma_{22}+\sigma_{33}-2\sigma_{23}\end{pmatrix}\right). (The off-diagonal term is Cov(X1−X2,X2−X3)=σ12−σ13−σ22+σ23\text{Cov}(X_1-X_2,X_2-X_3)=\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}.) Since CC has rank 2 and Σ\Sigma is positive definite, this covariance matrix is positive definite, so the distribution is non-singular.

✓ Derivation checked step by step Every step was checked: the transformation matrix, its rank, and each entry of CΣC′.

↑ Back to the question list

State the multivariate extension of (i) when X∼ follows Np(μ∼,Σ).

2024 · Paper I · Q6a(iv) · 4 marks

Solution

The bivariate result (part (i)). If (X,Y)∼BN(μ1,μ2,σ12,σ22,ρ)(X,Y)\sim BN(\mu_1,\mu_2,\sigma_1^2,\sigma_2^2,\rho), then XX and YY are independent if and only if ρ=0\rho=0.

Multivariate extension. Let X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma).

  1. Any two components XiX_i and XjX_j are independent if and only if σij=0\sigma_{ij}=0; and X1,…,XpX_1,\dots,X_p are mutually independent if and only if Σ\Sigma is diagonal.
  2. More generally, if XX is partitioned into sub-vectors X(1),X(2)X^{(1)},X^{(2)} with Σ=(Σ11Σ12Σ21Σ22)\Sigma=\begin{pmatrix}\Sigma_{11}&\Sigma_{12}\\\Sigma_{21}&\Sigma_{22}\end{pmatrix}, then X(1)X^{(1)} and X(2)X^{(2)} are independent if and only if Σ12=0\Sigma_{12}=0.

Why. When Σ\Sigma is diagonal (or block diagonal), |Σ||\Sigma| is the product of the diagonal elements (blocks) and the exponent (x−μ)′Σ−1(x−μ)(x-\mu)'\Sigma^{-1}(x-\mu) splits into a sum, so the joint density factorises into the product of the marginal normal densities. Conversely, independence always implies zero covariance. So for normal vectors, zero correlation and independence are equivalent, exactly as ρ=0\rho=0 is in the bivariate case.

✓ Answer checked step by step We checked the statement against the bivariate case and its proof by factorisation of the density.

↑ Back to the question list

(i) If 𝐗=(X1X2X3)′ is distributed as N3(𝛍,Σ), find the distribution of [(X1−X2)(X2−X3)]′. (ii) Suppose that 𝐗=(X1X2X3)′∼N3(0,Σ), where Σ=(1ρ0ρ1ρ0ρ1). Is there a value of ρ for which (X1+X2+X3) and (X1−X2−X3) are independent?

2023 · Paper I · Q5a · 10 marks

Solution

(i) Distribution of [(X1−X2),(X2−X3)]′[(X_1-X_2),\ (X_2-X_3)]'.

Y=(X1−X2X2−X3)=CXY=\begin{pmatrix}X_1-X_2\\X_2-X_3\end{pmatrix}=CX with C=(1−1001−1)C=\begin{pmatrix}1&-1&0\\0&1&-1\end{pmatrix}, of rank 2. A linear transformation of a multivariate normal vector is multivariate normal, CX∼N2(Cμ,CΣC′)CX\sim N_2(C\mu,C\Sigma C'). Writing μ=(μ1,μ2,μ3)′\mu=(\mu_1,\mu_2,\mu_3)' and Σ=(σij)\Sigma=(\sigma_{ij}): Cμ=(μ1−μ2μ2−μ3),C\mu=\begin{pmatrix}\mu_1-\mu_2\\\mu_2-\mu_3\end{pmatrix}, CΣC′=(σ11+σ22−2σ12σ12−σ13−σ22+σ23σ12−σ13−σ22+σ23σ22+σ33−2σ23).C\Sigma C'=\begin{pmatrix}\sigma_{11}+\sigma_{22}-2\sigma_{12}&\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}\\\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}&\sigma_{22}+\sigma_{33}-2\sigma_{23}\end{pmatrix}. So (X1−X2X2−X3)∼N2((μ1−μ2μ2−μ3),(σ11+σ22−2σ12σ12−σ13−σ22+σ23σ12−σ13−σ22+σ23σ22+σ33−2σ23)).\begin{pmatrix}X_1-X_2\\X_2-X_3\end{pmatrix}\sim N_2\left(\begin{pmatrix}\mu_1-\mu_2\\\mu_2-\mu_3\end{pmatrix},\ \begin{pmatrix}\sigma_{11}+\sigma_{22}-2\sigma_{12}&\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}\\\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}&\sigma_{22}+\sigma_{33}-2\sigma_{23}\end{pmatrix}\right). (The off-diagonal term is Cov(X1−X2,X2−X3)=σ12−σ13−σ22+σ23\text{Cov}(X_1-X_2,X_2-X_3)=\sigma_{12}-\sigma_{13}-\sigma_{22}+\sigma_{23}.) Since CC has rank 2 and Σ\Sigma is positive definite, this covariance matrix is positive definite, so the distribution is non-singular.

(ii)

Covariance. With a=(1,1,1)′a=(1,1,1)' and b=(1,−1,−1)′b=(1,-1,-1)', both a′Xa'X and b′Xb'X are linear functions of the same normal vector, so they are jointly (bivariate) normal, and they are independent if and only if their covariance is zero. Σb=(1−ρρ−1−ρ−ρ−1)=(1−ρ−1−1−ρ),Cov(a′X,b′X)=a′Σb=(1−ρ)−1−(1+ρ)=−1−2ρ.\Sigma b=\begin{pmatrix}1-\rho\\\rho-1-\rho\\-\rho-1\end{pmatrix}=\begin{pmatrix}1-\rho\\-1\\-1-\rho\end{pmatrix},\qquad\text{Cov}(a'X,b'X)=a'\Sigma b=(1-\rho)-1-(1+\rho)=-1-2\rho . So they are independent exactly when −1−2ρ=0⇔ρ=−12.-1-2\rho=0\quad\Longleftrightarrow\quad\rho=-\frac12 .

Is this value admissible? Σ\Sigma must be positive definite. Its leading minors are 11, 1−ρ21-\rho^2 and |Σ|=1−2ρ2|\Sigma|=1-2\rho^2, so we need |ρ|<12=0.707|\rho|<\frac1{\sqrt2}=0.707 (the eigenvalues are 11 and 1±2ρ1\pm\sqrt2\rho). ρ=−12\rho=-\frac12 satisfies this (1−2ρ2=12>01-2\rho^2=\frac12>0).

Answer. Yes: for ρ=−12\rho=-\frac12, X1+X2+X3X_1+X_2+X_3 and X1−X2−X3X_1-X_2-X_3 are independent. At this value Σa=(12,0,12)′\Sigma a=(\frac12,0,\frac12)' and Σb=(32,−1,−12)′\Sigma b=(\frac32,-1,-\frac12)', so V(X1+X2+X3)=a′Σa=1V(X_1+X_2+X_3)=a'\Sigma a=1 and V(X1−X2−X3)=b′Σb=3V(X_1-X_2-X_3)=b'\Sigma b=3: the two are independent N(0,1)N(0,1) and N(0,3)N(0,3) variables.

✓ Checked by computer We checked the general form of the difference vector, and in Python that Cov(a′X, b′X) = −1 − 2ρ vanishes at ρ = −1/2, where Σ is still positive definite.

↑ Back to the question list

Show that 𝐗=(X1,X2,…,Xp)′ has p-variate normal distribution if and only if every linear combination (l1X1+l2X2+…+lpXp) of 𝐗 follows a univariate normal distribution.

2023 · Paper I · Q5b · 10 marks

Solution

Definition used. X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) (Σ\Sigma positive definite) has density f(x)=(2π)−p/2|Σ|−1/2exp{−12(x−μ)′Σ−1(x−μ)},f(x)=(2\pi)^{-p/2}|\Sigma|^{-1/2}\exp\Big\{-\tfrac12(x-\mu)'\Sigma^{-1}(x-\mu)\Big\}, and characteristic function ϕX(t)=exp(it′μ−12t′Σt)\phi_X(t)=\exp(it'\mu-\frac12t'\Sigma t). (Derivation: with X=μ+Σ1/2ZX=\mu+\Sigma^{1/2}Z, Z∼Np(0,I)Z\sim N_p(0,I), Eeit′X=eit′μ∏jEeiujZj=eit′μe−12u′uE e^{it'X}=e^{it'\mu}\prod_jE\,e^{iu_jZ_j}=e^{it'\mu}e^{-\frac12u'u} with u=Σ1/2tu=\Sigma^{1/2}t, so u′u=t′Σtu'u=t'\Sigma t.)

Necessity. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and ll is any fixed vector, the characteristic function of Y=l′XY=l'X is ϕY(s)=E(eisl′X)=ϕX(sl)=exp(isl′μ−12s2l′Σl),\phi_Y(s)=E\big(e^{isl'X}\big)=\phi_X(sl)=\exp\Big(isl'\mu-\tfrac12s^2\,l'\Sigma l\Big), which is the characteristic function of N(l′μ,l′Σl)N(l'\mu,\ l'\Sigma l). So every linear combination is univariate normal (degenerate at l′μl'\mu if l′Σl=0l'\Sigma l=0).

Sufficiency. Suppose l′X∼N(l′μ,l′Σl)l'X\sim N(l'\mu,l'\Sigma l) for every ll, where μ=E(X)\mu=E(X) and Σ=D(X)\Sigma=D(X). Then for any t∈ℝpt\in\mathbb R^p, taking l=tl=t and evaluating the characteristic function of t′Xt'X at s=1s=1: ϕX(t)=E(eit′X)=ϕt′X(1)=exp(it′μ−12t′Σt).\phi_X(t)=E\big(e^{i\,t'X}\big)=\phi_{t'X}(1)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big). This is the characteristic function of Np(μ,Σ)N_p(\mu,\Sigma), so by the uniqueness theorem X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma). ◼\blacksquare

Remark. The condition is on every linear combination. Normal marginals alone are not enough: if X1∼N(0,1)X_1\sim N(0,1) and X2=SX1X_2=SX_1 with S=±1S=\pm1 equally likely and independent of X1X_1, both X1X_1 and X2X_2 are N(0,1)N(0,1), but X1+X2X_1+X_2 equals 0 with probability 12\frac12, so it is not normal and (X1,X2)(X_1,X_2) is not bivariate normal. This characterisation (Cramér–Wold) is often taken as the definition of the multivariate normal distribution, because it also covers singular Σ\Sigma.

✓ Proof checked step by step Every step was checked: both directions of the characteristic-function argument and the counterexample showing that normal marginals are not enough.

↑ Back to the question list

Let 𝐗=(X1X2X3)′ be distributed as N3(𝛍,Σ), where 𝛍=(2−13)′ and Σ=(410121013). Find (i) the conditional distribution of (X1X2)′ given X3=2. (ii) partial correlation coefficient ρ12.3 and multiple correlation coefficient R1.23.

2023 · Paper I · Q6a · 15 marks

Solution

(i) Conditional distribution of (X1,X2)′(X_1,X_2)' given X3=2X_3=2. Partition with X(1)=(X1,X2)′X^{(1)}=(X_1,X_2)' and X(2)=X3X^{(2)}=X_3: Σ11=(4112),Σ12=(01),Σ22=3.\Sigma_{11}=\begin{pmatrix}4&1\\1&2\end{pmatrix},\qquad\Sigma_{12}=\begin{pmatrix}0\\1\end{pmatrix},\qquad\Sigma_{22}=3 . Σ12Σ22−1=(01/3),\Sigma_{12}\Sigma_{22}^{-1}=\begin{pmatrix}0\\1/3\end{pmatrix}, E(X(1)∣X3=2)=(2−1)+(01/3)(2−3)=(2−4/3),E(X^{(1)}\mid X_3=2)=\begin{pmatrix}2\\-1\end{pmatrix}+\begin{pmatrix}0\\1/3\end{pmatrix}(2-3)=\begin{pmatrix}2\\-4/3\end{pmatrix}, Σ11⋅2=(4112)−13(0001)=(4115/3).\Sigma_{11\cdot2}=\begin{pmatrix}4&1\\1&2\end{pmatrix}-\frac13\begin{pmatrix}0&0\\0&1\end{pmatrix}=\begin{pmatrix}4&1\\1&5/3\end{pmatrix}. So (X1X2)|X3=2∼N2((2−4/3),(4115/3)).\begin{pmatrix}X_1\\X_2\end{pmatrix}\Big|\,X_3=2\ \sim\ N_2\left(\begin{pmatrix}2\\-4/3\end{pmatrix},\ \begin{pmatrix}4&1\\1&5/3\end{pmatrix}\right).

(ii) Partial correlation ρ12⋅3\rho_{12\cdot3}. From the conditional covariance matrix: ρ12⋅3=σ12⋅3σ11⋅3σ22⋅3=14×5/3=320=0.387.\rho_{12\cdot3}=\frac{\sigma_{12\cdot3}}{\sqrt{\sigma_{11\cdot3}\,\sigma_{22\cdot3}}}=\frac1{\sqrt{4\times5/3}}=\sqrt{\frac3{20}}=0.387 . (Check with simple correlations: ρ12=18\rho_{12}=\frac1{\sqrt8}, ρ13=0\rho_{13}=0, ρ23=16\rho_{23}=\frac1{\sqrt6}, and ρ12⋅3=ρ12−ρ13ρ23(1−ρ132)(1−ρ232)=1/85/6=0.387\rho_{12\cdot3}=\frac{\rho_{12}-\rho_{13}\rho_{23}}{\sqrt{(1-\rho_{13}^2)(1-\rho_{23}^2)}}=\frac{1/\sqrt8}{\sqrt{5/6}}=0.387.)

Multiple correlation R1⋅23R_{1\cdot23}. R1⋅232=σ1(23)Σ(23)−1σ(23)1σ11,σ1(23)=(1,0),Σ(23)=(2113),Σ(23)−1=15(3−1−12).R^2_{1\cdot23}=\frac{\sigma_{1(23)}\Sigma_{(23)}^{-1}\sigma_{(23)1}}{\sigma_{11}},\qquad\sigma_{1(23)}=(1,0),\quad\Sigma_{(23)}=\begin{pmatrix}2&1\\1&3\end{pmatrix},\quad\Sigma_{(23)}^{-1}=\frac15\begin{pmatrix}3&-1\\-1&2\end{pmatrix}. R1⋅232=3/54=320,R1⋅23=0.387.R^2_{1\cdot23}=\frac{3/5}{4}=\frac3{20},\qquad R_{1\cdot23}=0.387 . (The two values coincide here because σ13=0\sigma_{13}=0.)

✓ Checked by computer We checked in Python: the conditional mean (2, −4/3), the conditional covariance [[4, 1], [1, 5/3]], ρ₁₂.₃ = √(3/20) = 0.387 and R₁.₂₃ = 0.387.

↑ Back to the question list

Given 𝐗∼N3(𝛍,Σ), where 𝛍=(2,4,3)′ and Σ=(823241313), (i) find the regression function of X1 on X2 and X3, and (ii) compute the conditional variance of X1 given X2 and X3.

2022 · Paper I · Q5b · 10 marks

Solution

Partition. X(1)=X1X^{(1)}=X_1, X(2)=(X2,X3)′X^{(2)}=(X_2,X_3)': σ11=8,Σ12=(2,3),Σ22=(4113),|Σ22|=11,Σ22−1=111(3−1−14).\sigma_{11}=8,\qquad\Sigma_{12}=(2,\ 3),\qquad\Sigma_{22}=\begin{pmatrix}4&1\\1&3\end{pmatrix},\qquad|\Sigma_{22}|=11,\qquad\Sigma_{22}^{-1}=\frac1{11}\begin{pmatrix}3&-1\\-1&4\end{pmatrix}. Σ12Σ22−1=111(6−3,−2+12)=(311,1011).\Sigma_{12}\Sigma_{22}^{-1}=\frac1{11}(6-3,\ -2+12)=\Big(\frac3{11},\ \frac{10}{11}\Big).

(i) Regression function. E(X1∣x2,x3)=2+311(x2−4)+1011(x3−3)=3x2+10x3−2011E(X_1\mid x_2,x_3)=2+\frac3{11}(x_2-4)+\frac{10}{11}(x_3-3)=\frac{3x_2+10x_3-20}{11} (since 2−1211−3011=−20112-\frac{12}{11}-\frac{30}{11}=-\frac{20}{11}), i.e. E(X1∣x2,x3)=−1.818+0.273x2+0.909x3.E(X_1\mid x_2,x_3)=-1.818+0.273x_2+0.909x_3 .

(ii) Conditional variance. V(X1∣x2,x3)=8−(311⋅2+1011⋅3)=8−3611=5211=4.727.V(X_1\mid x_2,x_3)=8-\Big(\frac3{11}\cdot2+\frac{10}{11}\cdot3\Big)=8-\frac{36}{11}=\frac{52}{11}=4.727 . (So R1⋅232=36/118=0.409R^2_{1\cdot23}=\frac{36/11}{8}=0.409.)

✓ Checked by computer We checked in Python: Σ₁₂Σ₂₂⁻¹ = (3/11, 10/11) and the conditional variance 52/11 = 4.727.

↑ Back to the question list

Let Z3×1=(X1×1Y2×1)∼N3((001),(121252122)). Show that conditional on X1×1, the two components of Y2×1 are independent but marginally they are not.

2021 · Paper I · Q6c · 15 marks

Solution

Partition. XX is the first component and Y=(Y1,Y2)′Y=(Y_1,Y_2)' the last two: μX=0,μY=(01),σXX=1,ΣYX=(21),ΣYY=(5222).\mu_X=0,\quad\mu_Y=\begin{pmatrix}0\\1\end{pmatrix},\qquad\sigma_{XX}=1,\quad\Sigma_{YX}=\begin{pmatrix}2\\1\end{pmatrix},\quad\Sigma_{YY}=\begin{pmatrix}5&2\\2&2\end{pmatrix}.

Conditional on X=xX=x. E(Y∣X=x)=μY+ΣYXσXX−1(x−0)=(2x1+x),E(Y\mid X=x)=\mu_Y+\Sigma_{YX}\sigma_{XX}^{-1}(x-0)=\begin{pmatrix}2x\\1+x\end{pmatrix}, D(Y∣X=x)=ΣYY−ΣYXσXX−1ΣXY=(5222)−(4221)=(1001).D(Y\mid X=x)=\Sigma_{YY}-\Sigma_{YX}\sigma_{XX}^{-1}\Sigma_{XY}=\begin{pmatrix}5&2\\2&2\end{pmatrix}-\begin{pmatrix}4&2\\2&1\end{pmatrix}=\begin{pmatrix}1&0\\0&1\end{pmatrix}. So Y∣X=x∼N2((2x,1+x)′,I2)Y\mid X=x\sim N_2\big((2x,\ 1+x)',\ I_2\big). The conditional distribution is bivariate normal with zero covariance, so given XX, Y1Y_1 and Y2Y_2 are independent (each with variance 1).

Marginally. (Y1,Y2)′∼N2((0,1)′,ΣYY)(Y_1,Y_2)'\sim N_2\big((0,1)',\Sigma_{YY}\big) with Cov(Y1,Y2)=2≠0\text{Cov}(Y_1,Y_2)=2\ne0 (correlation 2/10=0.6322/\sqrt{10}=0.632). For a bivariate normal pair, non-zero covariance means dependence, so marginally Y1Y_1 and Y2Y_2 are not independent. ◼\blacksquare

Interpretation. Y1Y_1 and Y2Y_2 are associated only through their common dependence on XX: Y1=2X+U1Y_1=2X+U_1, Y2=1+X+U2Y_2=1+X+U_2 with U1,U2U_1,U_2 independent N(0,1)N(0,1) and independent of XX. Once XX is fixed, nothing links them. (This is the case ρY1Y2⋅X=0\rho_{Y_1Y_2\cdot X}=0 with ρY1Y2≠0\rho_{Y_1Y_2}\ne0.)

✓ Checked by computer We checked in Python: given X, the coefficients of Y on X are (2, 1) and the conditional covariance of Y is I, while Cov(Y₁, Y₂) = 2 marginally.

↑ Back to the question list

Let X∼N2(μ,Σ) with probability distribution function (pdf), f(x)=Ce−Q/2, where Q=3x2+2y2−2xy−32x+4y+92. Obtain μ and Σ.

2020 · Paper I · Q5b · 10 marks

Solution

Method. For N2(μ,Σ)N_2(\mu,\Sigma), Q=(z−μ)′Σ−1(z−μ)Q=(z-\mu)'\Sigma^{-1}(z-\mu) with z=(x,y)′z=(x,y)'. So the matrix of the quadratic terms of QQ is Σ−1\Sigma^{-1}, and μ\mu is the point where QQ is smallest (where it equals 0).

Σ−1\Sigma^{-1} from the second-degree terms. 3x2+2y2−2xy3x^2+2y^2-2xy gives Σ−1=(3−1−12).\Sigma^{-1}=\begin{pmatrix}3&-1\\-1&2\end{pmatrix}.

μ\mu from the minimum. ∂Q∂x=6x−2y−32=0,∂Q∂y=4y−2x+4=0.\frac{\partial Q}{\partial x}=6x-2y-32=0,\qquad\frac{\partial Q}{\partial y}=4y-2x+4=0 . From the second, x=2y+2x=2y+2; then 6(2y+2)−2y=326(2y+2)-2y=32, so 10y=2010y=20, y=2y=2 and x=6x=6. So μ=(62).\mu=\begin{pmatrix}6\\2\end{pmatrix}. Check: Q(6,2)=108+8−24−192+8+92=0Q(6,2)=108+8-24-192+8+92=0, as it must be, so the constant term is consistent with Q=(z−μ)′Σ−1(z−μ)Q=(z-\mu)'\Sigma^{-1}(z-\mu) exactly.

Σ\Sigma. |Σ−1|=6−1=5|\Sigma^{-1}|=6-1=5, so Σ=15(2113)=(0.40.20.20.6).\Sigma=\frac15\begin{pmatrix}2&1\\1&3\end{pmatrix}=\begin{pmatrix}0.4&0.2\\0.2&0.6\end{pmatrix}. So σx2=0.4\sigma_x^2=0.4, σy2=0.6\sigma_y^2=0.6, ρ=0.20.24=0.408\rho=\frac{0.2}{\sqrt{0.24}}=0.408. The constant is C=12π|Σ|1/2=52πC=\frac1{2\pi|\Sigma|^{1/2}}=\frac{\sqrt5}{2\pi}.

✓ Checked by computer We checked by solving ∂Q/∂x = ∂Q/∂y = 0, which gives μ = (6, 2) and Q(μ) = 0, and by inverting the matrix of the quadratic part.

↑ Back to the question list

Let 𝐗∼N3((123),(11−62−610−42−46)) Z1=X2−X3Z2=X2+X3Z3∣Z1,Z2∼N(Z1+Z2,10) Derive: (i) The joint distribution of Z1, Z2 and Z3 (ii) The conditional mean of X3 given X1 and X2 (iii) ρ3⋅122

2019 · Paper I · Q7a · 20 marks

Solution

(i) Joint distribution of Z1,Z2,Z3Z_1,Z_2,Z_3.

Z1,Z2Z_1,Z_2. (Z1,Z2)′=AX(Z_1,Z_2)'=AX with A=(01−1011)A=\begin{pmatrix}0&1&-1\\0&1&1\end{pmatrix}: E(Z1Z2)=(2−32+3)=(−15),E\begin{pmatrix}Z_1\\Z_2\end{pmatrix}=\begin{pmatrix}2-3\\2+3\end{pmatrix}=\begin{pmatrix}-1\\5\end{pmatrix}, V(Z1)=10+6−2(−4)=24,V(Z2)=10+6+2(−4)=8,Cov(Z1,Z2)=σ22−σ33=10−6=4.V(Z_1)=10+6-2(-4)=24,\qquad V(Z_2)=10+6+2(-4)=8,\qquad\text{Cov}(Z_1,Z_2)=\sigma_{22}-\sigma_{33}=10-6=4 .

Z3Z_3. The conditional distribution Z3∣Z1,Z2∼N(Z1+Z2,10)Z_3\mid Z_1,Z_2\sim N(Z_1+Z_2,10) means Z3=Z1+Z2+EZ_3=Z_1+Z_2+E with E∼N(0,10)E\sim N(0,10) independent of (Z1,Z2)(Z_1,Z_2). So (Z1,Z2,Z3)(Z_1,Z_2,Z_3) is trivariate normal, with E(Z3)=−1+5=4,V(Z3)=24+8+2(4)+10=50,E(Z_3)=-1+5=4,\qquad V(Z_3)=24+8+2(4)+10=50, Cov(Z1,Z3)=24+4=28,Cov(Z2,Z3)=4+8=12.\text{Cov}(Z_1,Z_3)=24+4=28,\qquad\text{Cov}(Z_2,Z_3)=4+8=12 . Hence (Z1Z2Z3)∼N3((−154),(244284812281250)).\begin{pmatrix}Z_1\\Z_2\\Z_3\end{pmatrix}\sim N_3\left(\begin{pmatrix}-1\\5\\4\end{pmatrix},\ \begin{pmatrix}24&4&28\\4&8&12\\28&12&50\end{pmatrix}\right).

(ii) E(X3∣X1,X2)E(X_3\mid X_1,X_2). Partition with X(1)=X3X^{(1)}=X_3, X(2)=(X1,X2)′X^{(2)}=(X_1,X_2)': Σ12=(2,−4),Σ22=(11−6−610),|Σ22|=74,Σ22−1=174(106611).\Sigma_{12}=(2,\ -4),\qquad\Sigma_{22}=\begin{pmatrix}11&-6\\-6&10\end{pmatrix},\qquad|\Sigma_{22}|=74,\qquad\Sigma_{22}^{-1}=\frac1{74}\begin{pmatrix}10&6\\6&11\end{pmatrix}. Σ12Σ22−1=174(20−24,12−44)=(−237,−1637).\Sigma_{12}\Sigma_{22}^{-1}=\frac1{74}(20-24,\ 12-44)=\Big(-\frac2{37},\ -\frac{16}{37}\Big). E(X3∣x1,x2)=3−237(x1−1)−1637(x2−2)=145−2x1−16x237.E(X_3\mid x_1,x_2)=3-\frac2{37}(x_1-1)-\frac{16}{37}(x_2-2)=\frac{145-2x_1-16x_2}{37}.

(iii) ρ3⋅122\rho^2_{3\cdot12} (squared multiple correlation of X3X_3 on X1,X2X_1,X_2). Σ12Σ22−1Σ21=−237(2)−1637(−4)=6037,\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}=-\frac2{37}(2)-\frac{16}{37}(-4)=\frac{60}{37}, ρ3⋅122=60/37σ33=6037×6=1037=0.270.\rho^2_{3\cdot12}=\frac{60/37}{\sigma_{33}}=\frac{60}{37\times6}=\frac{10}{37}=0.270 . (The conditional variance is 6−6037=162376-\frac{60}{37}=\frac{162}{37}.)

✓ Checked by computer We checked in Python: (Z₁, Z₂) has mean (−1, 5) and covariance [[24, 4], [4, 8]]; Z₃ has mean 4, variance 50 and covariances 28 and 12; E(X₃ | X₁, X₂) has coefficients (−2/37, −16/37); and ρ²₃.₁₂ = 10/37.

↑ Back to the question list

If X is a p-component vector of random variables distributed as Np(0,Σ), then show that X′Σ−1X is distributed as chi-square with p degrees of freedom.

2018 · Paper I · Q6b · 15 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) with Σ\Sigma positive definite, then Q=(X−μ)′Σ−1(X−μ)∼χp2.Q=(X-\mu)'\Sigma^{-1}(X-\mu)\sim\chi^2_p . Here μ=0\mu=0, so X′Σ−1X∼χp2X'\Sigma^{-1}X\sim\chi^2_p.

Proof. Σ\Sigma is positive definite, so it has a symmetric positive definite square root Σ1/2\Sigma^{1/2} (from Σ=PΛP′\Sigma=P\Lambda P', Σ1/2=PΛ1/2P′\Sigma^{1/2}=P\Lambda^{1/2}P'), with Σ−1=Σ−1/2Σ−1/2\Sigma^{-1}=\Sigma^{-1/2}\Sigma^{-1/2}. Put Z=Σ−1/2(X−μ).Z=\Sigma^{-1/2}(X-\mu). ZZ is a linear function of a normal vector, so it is normal, with E(Z)=0,D(Z)=Σ−1/2ΣΣ−1/2=Ip.E(Z)=0,\qquad D(Z)=\Sigma^{-1/2}\Sigma\Sigma^{-1/2}=I_p . So Z1,…,ZpZ_1,\dots,Z_p are uncorrelated normal variables, hence independent N(0,1)N(0,1). Then Q=(X−μ)′Σ−1/2Σ−1/2(X−μ)=Z′Z=∑j=1pZj2∼χp2.◼Q=(X-\mu)'\Sigma^{-1/2}\Sigma^{-1/2}(X-\mu)=Z'Z=\sum_{j=1}^pZ_j^2\sim\chi^2_p. \qquad\blacksquare

Alternative (mgf). E(etQ)=∫(2π)−p/2|Σ|−1/2e−12(1−2t)(x−μ)′Σ−1(x−μ)dx=(1−2t)−p/2E(e^{tQ})=\int(2\pi)^{-p/2}|\Sigma|^{-1/2}e^{-\frac12(1-2t)(x-\mu)'\Sigma^{-1}(x-\mu)}dx=(1-2t)^{-p/2} for t<12t<\frac12, the mgf of χp2\chi^2_p.

Uses. The contours of the density are the ellipsoids Q=cQ=c, and P{Q≤χp,α2}=1−αP\{Q\le\chi^2_{p,\alpha}\}=1-\alpha gives the 100(1−α)%100(1-\alpha)\% probability ellipsoid. With Σ\Sigma known, N(X‾−μ0)′Σ−1(X‾−μ0)∼χp2N(\bar X-\mu_0)'\Sigma^{-1}(\bar X-\mu_0)\sim\chi^2_p tests H0:μ=μ0H_0:\mu=\mu_0.

✓ Proof checked step by step Every step was checked: the standardising transformation Z = Σ^(−1/2)X gives independent N(0, 1) components, so X′Σ⁻¹X = Z′Z.

↑ Back to the question list

For a random sample of size n from N4(μ,Σ), we obtain μ̂=(18,15,18,14) and Σ̂=[9.55.25.46.95.110.04.63.55.64.5]. (i) Find the estimates of the parameters of the conditional distribution of (X3,X4) given (X1,X2). (ii) Find the partial correlation r34⋅12.

2018 · Paper I · Q7a · 20 marks

Solution

Note. Only the lower triangle of the symmetric matrix Σ̂\hat\Sigma is printed; the upper triangle is its mirror image.

Partition. X(1)=(X3,X4)′X^{(1)}=(X_3,X_4)', X(2)=(X1,X2)′X^{(2)}=(X_1,X_2)': Σ̂11=(10.05.65.64.5),Σ̂12=(6.95.14.63.5),Σ̂22=(9.55.25.25.4).\hat\Sigma_{11}=\begin{pmatrix}10.0&5.6\\5.6&4.5\end{pmatrix},\qquad\hat\Sigma_{12}=\begin{pmatrix}6.9&5.1\\4.6&3.5\end{pmatrix},\qquad\hat\Sigma_{22}=\begin{pmatrix}9.5&5.2\\5.2&5.4\end{pmatrix}. |Σ̂22|=51.30−27.04=24.26|\hat\Sigma_{22}|=51.30-27.04=24.26, so Σ̂22−1=124.26(5.4−5.2−5.29.5).\hat\Sigma_{22}^{-1}=\frac1{24.26}\begin{pmatrix}5.4&-5.2\\-5.2&9.5\end{pmatrix}.

(i) Parameters of the conditional distribution. The conditional distribution of (X3,X4)′(X_3,X_4)' given (x1,x2)(x_1,x_2) is normal with mean μ(1)+B(x(2)−μ(2))\mu^{(1)}+B(x^{(2)}-\mu^{(2)}) and dispersion Σ11⋅2\Sigma_{11\cdot2}. Their estimates (by invariance of MLEs) are: B̂=Σ̂12Σ̂22−1=(0.44270.51810.27370.3846),\hat B=\hat\Sigma_{12}\hat\Sigma_{22}^{-1}=\begin{pmatrix}0.4427&0.5181\\0.2737&0.3846\end{pmatrix}, Ê(X3∣x1,x2)=18+0.4427(x1−18)+0.5181(x2−15)=2.259+0.4427x1+0.5181x2,\hat E(X_3\mid x_1,x_2)=18+0.4427(x_1-18)+0.5181(x_2-15)=2.259+0.4427x_1+0.5181x_2, Ê(X4∣x1,x2)=14+0.2737(x1−18)+0.3846(x2−15)=3.305+0.2737x1+0.3846x2,\hat E(X_4\mid x_1,x_2)=14+0.2737(x_1-18)+0.3846(x_2-15)=3.305+0.2737x_1+0.3846x_2, Σ̂11⋅2=Σ̂11−B̂Σ̂21=(10.05.65.64.5)−(5.6973.8503.8502.605)=(4.3031.7501.7501.895).\hat\Sigma_{11\cdot2}=\hat\Sigma_{11}-\hat B\hat\Sigma_{21}=\begin{pmatrix}10.0&5.6\\5.6&4.5\end{pmatrix}-\begin{pmatrix}5.697&3.850\\3.850&2.605\end{pmatrix}=\begin{pmatrix}4.303&1.750\\1.750&1.895\end{pmatrix}.

(ii) Partial correlation. r34⋅12=1.7504.303×1.895=1.7502.856=0.613.r_{34\cdot12}=\frac{1.750}{\sqrt{4.303\times1.895}}=\frac{1.750}{2.856}=0.613 . The simple correlation is r34=5.6/45=0.835r_{34}=5.6/\sqrt{45}=0.835; much of it is due to the common dependence on X1,X2X_1,X_2.

✓ Checked by computer We checked in Python: the regression matrix [[0.443, 0.518], [0.274, 0.385]], the conditional covariance [[4.303, 1.750], [1.750, 1.895]] and r₃₄.₁₂ = 0.613.

↑ Back to the question list

Let X=[X1,X2,X3]′ have trivariate normal distribution N3(μ,Σ), where μ′=[1,1,1] and Σ=[111122123] Show that (X2−X1)2+(X3−X2)2 has a chi-squared distribution. State the degrees of freedom.

2017 · Paper I · Q5b · 10 marks

Solution

Transformation. Let Y=(X2−X1X3−X2)=AX,A=(−1100−11).Y=\begin{pmatrix}X_2-X_1\\X_3-X_2\end{pmatrix}=AX,\qquad A=\begin{pmatrix}-1&1&0\\0&-1&1\end{pmatrix}. YY is bivariate normal with E(Y)=Aμ=(1−11−1)=(00),E(Y)=A\mu=\begin{pmatrix}1-1\\1-1\end{pmatrix}=\begin{pmatrix}0\\0\end{pmatrix}, V(X2−X1)=σ11+σ22−2σ12=1+2−2=1,V(X3−X2)=σ22+σ33−2σ23=2+3−4=1,V(X_2-X_1)=\sigma_{11}+\sigma_{22}-2\sigma_{12}=1+2-2=1,\qquad V(X_3-X_2)=\sigma_{22}+\sigma_{33}-2\sigma_{23}=2+3-4=1, Cov(X2−X1,X3−X2)=σ23−σ22−σ13+σ12=2−2−1+1=0.\text{Cov}(X_2-X_1,X_3-X_2)=\sigma_{23}-\sigma_{22}-\sigma_{13}+\sigma_{12}=2-2-1+1=0 . So Y∼N2(0,I2)Y\sim N_2(0,I_2): Y1=X2−X1Y_1=X_2-X_1 and Y2=X3−X2Y_2=X_3-X_2 are independent N(0,1)N(0,1) variables (uncorrelated and jointly normal).

Conclusion. (X2−X1)2+(X3−X2)2=Y12+Y22∼χ22,(X_2-X_1)^2+(X_3-X_2)^2=Y_1^2+Y_2^2\sim\chi^2_2, a chi-square distribution with 2 degrees of freedom.

(Here Σ=LL′\Sigma=LL' with LL lower triangular of ones, i.e. X1=μ1+Z1X_1=\mu_1+Z_1, X2=μ2+Z1+Z2X_2=\mu_2+Z_1+Z_2, X3=μ3+Z1+Z2+Z3X_3=\mu_3+Z_1+Z_2+Z_3 with independent Zi∼N(0,1)Z_i\sim N(0,1), so the successive differences are just Z2Z_2 and Z3Z_3.)

✓ Checked by computer We checked in Python: the vector (X₂ − X₁, X₃ − X₂) has mean (0, 0) and dispersion matrix I, so the sum of squares is χ² with 2 df.

↑ Back to the question list

If 𝐗 follows Np(𝛍,Σ) and 𝐂 is an m×p matrix with rank m, then show that 𝐂𝐗∼Nm(𝐂𝛍,𝐂Σ𝐂′)

2016 · Paper I · Q7a · 20 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and CC is an m×pm\times p matrix of rank m(≤p)m\ (\le p), then Y=CX∼Nm(Cμ,CΣC′)Y=CX\sim N_m(C\mu,\,C\Sigma C').

Proof (characteristic functions). The characteristic function of XX is ϕX(t)=E(eit′X)=exp(it′μ−12t′Σt),t∈ℝp.\phi_X(t)=E\big(e^{it'X}\big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big),\qquad t\in\mathbb R^p . For s∈ℝms\in\mathbb R^m, ϕY(s)=E(eis′CX)=E(ei(C′s)′X)=ϕX(C′s)=exp(is′Cμ−12s′CΣC′s).\phi_Y(s)=E\big(e^{is'CX}\big)=E\big(e^{i(C's)'X}\big)=\phi_X(C's)=\exp\Big(is'C\mu-\tfrac12s'C\Sigma C's\Big). This is the characteristic function of Nm(Cμ,CΣC′)N_m(C\mu,C\Sigma C'). By the uniqueness theorem for characteristic functions, Y=CX∼Nm(Cμ,CΣC′).◼Y=CX\sim N_m(C\mu,C\Sigma C'). \qquad\blacksquare Because CC has rank mm and Σ\Sigma is positive definite, CΣC′C\Sigma C' is positive definite (s′CΣC′s=(C′s)′Σ(C′s)>0s'C\Sigma C's=(C's)'\Sigma(C's)>0 for s≠0s\ne0, since C′s≠0C's\ne0), so YY has a proper (non-singular) density.

Alternative proof (density). Add rows to CC to make a non-singular p×pp\times p matrix MM whose first rows are those of CC. Then Z=MXZ=MX has density fZ(z)=fX(M−1z)|detM|∝exp{−12(z−Mμ)′(MΣM′)−1(z−Mμ)},f_Z(z)=\frac{f_X(M^{-1}z)}{|\det M|}\propto\exp\Big\{-\tfrac12(z-M\mu)'(M\Sigma M')^{-1}(z-M\mu)\Big\}, so Z∼Np(Mμ,MΣM′)Z\sim N_p(M\mu,M\Sigma M'). Y=CXY=CX consists of the first components of ZZ, and integrating out the others gives the marginal N(Cμ,CΣC′)N(C\mu,C\Sigma C').

✓ Proof checked step by step Every step was checked: the characteristic function of CX and the positive definiteness of CΣC′ when C has full row rank.

↑ Back to the question list

Let X∼=(X1,X2,X3)′ have the joint moment generating function (mgf) MX(t∼)=exp[t1−t2+2t3+t12+t222+2t32−t1t22−t1t3] where t∼=(t1,t2,t3)′. Then: (i) Obtain the covariance matrix and the mean vector of X∼. (ii) Find a constant C such that P(2X1−3X2+X3>C)=0.95. (iii) Derive the conditional distribution of X1 given X2=x2 and X3=x3. (If necessary, you can use P(τ>1.645)=0.05 and P(τ>1.96)=0.01 where τ is a standard normal variate)

2015 · Paper I · Q6b · 15 marks

Solution

Note on the question. The second table value should read P(τ>1.96)=0.025P(\tau>1.96)=0.025; it is not needed here.

(i) Mean vector and covariance matrix. The mgf of N3(μ,Σ)N_3(\mu,\Sigma) is exp(t′μ+12t′Σt)\exp(t'\mu+\frac12t'\Sigma t), with 12t′Σt=12∑iσiiti2+∑i<jσijtitj.\tfrac12t'\Sigma t=\tfrac12\sum_i\sigma_{ii}t_i^2+\sum_{i<j}\sigma_{ij}t_it_j . Matching terms:

  • linear terms t1−t2+2t3t_1-t_2+2t_3: μ=(1,−1,2)′\mu=(1,-1,2)';
  • t12t_1^2: 12σ11=1⇒σ11=2\frac12\sigma_{11}=1\Rightarrow\sigma_{11}=2; t222\frac{t_2^2}2: σ22=1\sigma_{22}=1; 2t322t_3^2: σ33=4\sigma_{33}=4;
  • −12t1t2-\frac12t_1t_2: σ12=−12\sigma_{12}=-\frac12; −t1t3-t_1t_3: σ13=−1\sigma_{13}=-1; no t2t3t_2t_3 term: σ23=0\sigma_{23}=0. μ=(1−12),Σ=(2−12−1−1210−104).\mu=\begin{pmatrix}1\\-1\\2\end{pmatrix},\qquad\Sigma=\begin{pmatrix}2&-\frac12&-1\\-\frac12&1&0\\-1&0&4\end{pmatrix}.

(ii) The constant CC. Y=a′XY=a'X with a=(2,−3,1)′a=(2,-3,1)' is normal with E(Y)=2+3+2=7,E(Y)=2+3+2=7, V(Y)=4(2)+9(1)+1(4)+2[(2)(−3)(−12)+(2)(1)(−1)+(−3)(1)(0)]=21+2(3−2)=23.V(Y)=4(2)+9(1)+1(4)+2\big[(2)(-3)(-\tfrac12)+(2)(1)(-1)+(-3)(1)(0)\big]=21+2(3-2)=23 . P(Y>C)=P(τ>C−723)=0.95⇒C−723=−1.645,P(Y>C)=P\Big(\tau>\frac{C-7}{\sqrt{23}}\Big)=0.95\ \Longrightarrow\ \frac{C-7}{\sqrt{23}}=-1.645, C=7−1.64523=7−1.645(4.796)=−0.889.C=7-1.645\sqrt{23}=7-1.645(4.796)=-0.889 .

(iii) Conditional distribution of X1X_1 given X2=x2,X3=x3X_2=x_2,X_3=x_3. Σ12=(−12,−1),Σ22=(1004),Σ12Σ22−1=(−12,−14).\Sigma_{12}=\Big(-\tfrac12,\ -1\Big),\qquad\Sigma_{22}=\begin{pmatrix}1&0\\0&4\end{pmatrix},\qquad\Sigma_{12}\Sigma_{22}^{-1}=\Big(-\tfrac12,\ -\tfrac14\Big). E(X1∣x2,x3)=1−12(x2+1)−14(x3−2)=1−12x2−14x3,E(X_1\mid x_2,x_3)=1-\tfrac12(x_2+1)-\tfrac14(x_3-2)=1-\tfrac12x_2-\tfrac14x_3, V(X1∣x2,x3)=2−[(−12)(−12)+(−14)(−1)]=2−12=32.V(X_1\mid x_2,x_3)=2-\Big[\big(-\tfrac12\big)\big(-\tfrac12\big)+\big(-\tfrac14\big)(-1)\Big]=2-\tfrac12=\tfrac32 . X1∣X2=x2,X3=x3∼N(1−12x2−14x3,32).X_1\mid X_2=x_2,X_3=x_3\ \sim\ N\Big(1-\tfrac12x_2-\tfrac14x_3,\ \tfrac32\Big).

✓ Checked by computer We checked in Python: μ = (1, −1, 2), Σ = [[2, −1/2, −1], [−1/2, 1, 0], [−1, 0, 4]], 2X₁ − 3X₂ + X₃ ~ N(7, 23), C = 7 − 1.645√23 = −0.889, and the conditional distribution N(1 − ½(x₂ + 1) − ¼(x₃ − 2), 3/2).

↑ Back to the question list

Consider a random sample x∼1,x∼2,…x∼n from a p-dimensional normal population with mean vector μ∼ and dispersion matrix Σ. The purpose of the problem is to construct the likelihood ratio test (LRT) for testing H0:Σ=σ2Ip. Find the maximum likelihood estimate (MLE) of μ and σ2. Write down the expression for −2loge∧ in terms of p, n, X¯∼ and the elements of the sample covariance matrix S.

2015 · Paper I · Q8a · 20 marks

Solution

Likelihood. For a sample x1,…,xnx_1,\dots,x_n from Np(μ,Σ)N_p(\mu,\Sigma), L(μ,Σ)=(2π)−np/2|Σ|−n/2exp{−12trΣ−1[A+n(x‾−μ)(x‾−μ)′]},L(\mu,\Sigma)=(2\pi)^{-np/2}|\Sigma|^{-n/2}\exp\Big\{-\tfrac12\text{tr}\,\Sigma^{-1}\big[A+n(\bar x-\mu)(\bar x-\mu)'\big]\Big\}, where A=∑α(xα−x‾)(xα−x‾)′A=\sum_\alpha(x_\alpha-\bar x)(x_\alpha-\bar x)'. Write S=A/nS=A/n (the MLE of Σ\Sigma; the ratio below is the same if S=A/(n−1)S=A/(n-1) is used).

Unrestricted maximum. μ̂=x‾\hat\mu=\bar x, Σ̂=S\hat\Sigma=S: maxL=(2π)−np/2|S|−n/2e−np/2.\max L=(2\pi)^{-np/2}|S|^{-n/2}e^{-np/2}.

Under H0:Σ=σ2IpH_0:\Sigma=\sigma^2I_p. The likelihood is L(μ,σ2)=(2πσ2)−np/2exp{−12σ2∑α(xα−μ)′(xα−μ)}.L(\mu,\sigma^2)=(2\pi\sigma^2)^{-np/2}\exp\Big\{-\frac1{2\sigma^2}\sum_\alpha(x_\alpha-\mu)'(x_\alpha-\mu)\Big\}.

  • MLE of μ\mu: μ̂=x‾\hat\mu=\bar x (whatever σ2\sigma^2 is).
  • MLE of σ2\sigma^2: from ∂logL/∂σ2=0\partial\log L/\partial\sigma^2=0, σ̂2=1np∑α=1n(xα−x‾)′(xα−x‾)=trAnp=trSp=1p∑i=1psii,\hat\sigma^2=\frac1{np}\sum_{\alpha=1}^n(x_\alpha-\bar x)'(x_\alpha-\bar x)=\frac{\text{tr}A}{np}=\frac{\text{tr}S}p=\frac1p\sum_{i=1}^ps_{ii}, the average of the sample variances. maxH0L=(2πσ̂2)−np/2e−np/2.\max_{H_0}L=(2\pi\hat\sigma^2)^{-np/2}e^{-np/2}.

Likelihood ratio. Λ=maxH0LmaxL=|S|n/2(σ̂2)np/2=[|S|(trS/p)p]n/2.\Lambda=\frac{\max_{H_0}L}{\max L}=\frac{|S|^{n/2}}{(\hat\sigma^2)^{np/2}}=\left[\frac{|S|}{(\text{tr}S/p)^p}\right]^{n/2}. −2logeΛ=−nlog|S|+nplog(trSp)=nplog(1p∑isii|S|1/p),-2\log_e\Lambda=-n\log|S|+np\log\Big(\frac{\text{tr}S}p\Big)=np\log\left(\frac{\frac1p\sum_is_{ii}}{|S|^{1/p}}\right), where S=1n∑α(xα−x‾)(xα−x‾)′=(sij)S=\frac1n\sum_\alpha(x_\alpha-\bar x)(x_\alpha-\bar x)'=(s_{ij}). In terms of the eigenvalues l1,…,lpl_1,\dots,l_p of SS, it is nplog(arithmetic mean/geometric mean)np\log(\text{arithmetic mean}/\text{geometric mean}) of the lil_i, so Λ≤1\Lambda\le1 with equality when all the lil_i are equal.

Test. Reject H0H_0 (sphericity) for large −2logΛ-2\log\Lambda. Under H0H_0, for large nn, −2logΛ∼̇χf2,f=p(p+1)2−1,-2\log\Lambda\ \dot\sim\ \chi^2_f,\qquad f=\frac{p(p+1)}2-1, the difference between the numbers of free parameters in Σ\Sigma and under H0H_0. (Bartlett’s correction multiplies the statistic by 1−2p2+p+26p(n−1)1-\frac{2p^2+p+2}{6p(n-1)}, with nn replaced by n−1n-1, for a better approximation.)

✓ Derivation checked step by step Every step was checked: the unrestricted and restricted maximum likelihood estimates, the maximised likelihoods, and −2 log Λ as n p log(arithmetic mean over geometric mean of the eigenvalues of S).

↑ Back to the question list

Let X1,X2,X3,X4 and X5 be independent and identically distributed random vectors with mean vector μ and covariance matrix Σ. Find the distribution of Y=X1−X2+X3−X4+X5.

2014 · Paper I · Q5e · 10 marks

Solution

Note on the question. The distribution of YY is fully determined only if the XiX_i are multivariate normal; we assume Xi∼Np(μ,Σ)X_i\sim N_p(\mu,\Sigma), as the context intends. Without normality, the mean and dispersion below still hold.

Mean. E(Y)=μ−μ+μ−μ+μ=μ.E(Y)=\mu-\mu+\mu-\mu+\mu=\mu .

Dispersion. The XiX_i are independent, so the cross-covariances vanish, and each coefficient is ±1\pm1: D(Y)=(12+12+12+12+12)Σ=5Σ.D(Y)=(1^2+1^2+1^2+1^2+1^2)\Sigma=5\Sigma .

Distribution. YY is a linear function of the independent normal vectors, so it is normal: Y=X1−X2+X3−X4+X5∼Np(μ,5Σ).Y=X_1-X_2+X_3-X_4+X_5\ \sim\ N_p(\mu,\ 5\Sigma). (Proof via characteristic functions: ϕY(t)=∏iϕX(±t)=exp{it′(1−1+1−1+1)μ−12⋅5t′Σt}\phi_Y(t)=\prod_i\phi_{X}(\pm t)=\exp\{it'(1-1+1-1+1)\mu-\frac12\cdot5\,t'\Sigma t\}.)

✓ Checked by computer Every step was checked: the mean μ(1 − 1 + 1 − 1 + 1) = μ and the dispersion (1 + 1 + 1 + 1 + 1)Σ = 5Σ.

↑ Back to the question list

Let X∼Np(μ,Σ), where X=(Xq×1(1)Xp−q×1(2)),μ=(μq×1(1)μp−q×1(2)),Σ=(Σ11Σ12Σ21Σ22) Obtain the conditional distribution of X(1) given X(2)=x(2).

2014 · Paper I · Q6a · 20 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) is partitioned as above with Σ22\Sigma_{22} non-singular, the conditional distribution of X(1)X^{(1)} given X(2)=x(2)X^{(2)}=x^{(2)} is Nq(μ(1)+Σ12Σ22−1(x(2)−μ(2)),Σ11⋅2),Σ11⋅2=Σ11−Σ12Σ22−1Σ21.N_q\Big(\mu^{(1)}+\Sigma_{12}\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)}),\ \ \Sigma_{11\cdot2}\Big),\qquad\Sigma_{11\cdot2}=\Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}.

Proof. Define U=X(1)−Σ12Σ22−1X(2),i.e.(UX(2))=(Iq−Σ12Σ22−10Ip−q)X.U=X^{(1)}-\Sigma_{12}\Sigma_{22}^{-1}X^{(2)},\qquad\text{i.e.}\qquad\begin{pmatrix}U\\X^{(2)}\end{pmatrix}=\begin{pmatrix}I_q&-\Sigma_{12}\Sigma_{22}^{-1}\\0&I_{p-q}\end{pmatrix}X . This is a non-singular linear transformation of XX, so (U,X(2))(U,X^{(2)}) is multivariate normal, with E(U)=μ(1)−Σ12Σ22−1μ(2),E(U)=\mu^{(1)}-\Sigma_{12}\Sigma_{22}^{-1}\mu^{(2)}, Cov(U,X(2))=Σ12−Σ12Σ22−1Σ22=0,\text{Cov}(U,X^{(2)})=\Sigma_{12}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{22}=0, D(U)=Σ11−2Σ12Σ22−1Σ21+Σ12Σ22−1Σ22Σ22−1Σ21=Σ11⋅2.D(U)=\Sigma_{11}-2\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}+\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{22}\Sigma_{22}^{-1}\Sigma_{21}=\Sigma_{11\cdot2}. Uncorrelated jointly normal vectors are independent, so UU is independent of X(2)X^{(2)} and U∼Nq(μ(1)−Σ12Σ22−1μ(2),Σ11⋅2)U\sim N_q(\mu^{(1)}-\Sigma_{12}\Sigma_{22}^{-1}\mu^{(2)},\Sigma_{11\cdot2}).

Given X(2)=x(2)X^{(2)}=x^{(2)}, X(1)=U+Σ12Σ22−1x(2)X^{(1)}=U+\Sigma_{12}\Sigma_{22}^{-1}x^{(2)}, and the distribution of UU is unaffected by the conditioning. Hence X(1)∣X(2)=x(2)∼Nq(μ(1)+Σ12Σ22−1(x(2)−μ(2)),Σ11−Σ12Σ22−1Σ21).◼X^{(1)}\mid X^{(2)}=x^{(2)}\ \sim\ N_q\Big(\mu^{(1)}+\Sigma_{12}\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)}),\ \Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}\Big). \qquad\blacksquare

Notes. The conditional mean (the regression of X(1)X^{(1)} on X(2)X^{(2)}) is linear in x(2)x^{(2)}, with matrix of regression coefficients B=Σ12Σ22−1B=\Sigma_{12}\Sigma_{22}^{-1}. The conditional dispersion does not depend on x(2)x^{(2)} (homoscedasticity). The elements of Σ11⋅2\Sigma_{11\cdot2} give the partial covariances, and the partial correlations are ρij⋅=σij⋅2/σii⋅2σjj⋅2\rho_{ij\cdot}=\sigma_{ij\cdot2}/\sqrt{\sigma_{ii\cdot2}\sigma_{jj\cdot2}}.

✓ Derivation checked step by step Every step was checked: the transformation to X⁽¹⁾ − Σ₁₂Σ₂₂⁻¹X⁽²⁾, its independence from X⁽²⁾, and the resulting conditional mean and dispersion.

↑ Back to the question list

Let 𝐗2p×1=[X1X2] be distributed as N2p(μ,Σ) where μ=[μ1μ2], Σ=(Σ1Σ2Σ2Σ1), X1,X2,μ1 and μ2 are p-vectors and Σ1,Σ2 are p×p matrices. Obtain the characteristic function of 𝐗. Derive the distribution of [X1+X2X1−X2].

2013 · Paper I · Q8a · 20 marks

Solution

Note. Since Σ\Sigma is symmetric, both off-diagonal blocks equal Σ2\Sigma_2, which must be symmetric (Σ2′=Σ2\Sigma_2'=\Sigma_2).

Characteristic function. For X∼N2p(μ,Σ)X\sim N_{2p}(\mu,\Sigma), ϕX(t)=exp(it′μ−12t′Σt)\phi_X(t)=\exp(it'\mu-\frac12t'\Sigma t). With t=(t1′,t2′)′t=(t_1',t_2')' partitioned like XX: t′μ=t1′μ1+t2′μ2,t′Σt=t1′Σ1t1+2t1′Σ2t2+t2′Σ1t2,t'\mu=t_1'\mu_1+t_2'\mu_2,\qquad t'\Sigma t=t_1'\Sigma_1t_1+2t_1'\Sigma_2t_2+t_2'\Sigma_1t_2, ϕX(t1,t2)=exp{i(t1′μ1+t2′μ2)−12(t1′Σ1t1+2t1′Σ2t2+t2′Σ1t2)}.\phi_X(t_1,t_2)=\exp\Big\{i(t_1'\mu_1+t_2'\mu_2)-\tfrac12\big(t_1'\Sigma_1t_1+2t_1'\Sigma_2t_2+t_2'\Sigma_1t_2\big)\Big\}.

Distribution of the sum and difference. Let Y=(X1+X2X1−X2)=CX,C=(IpIpIp−Ip),Y=\begin{pmatrix}X_1+X_2\\X_1-X_2\end{pmatrix}=CX,\qquad C=\begin{pmatrix}I_p&I_p\\I_p&-I_p\end{pmatrix}, which is non-singular. So Y∼N2p(Cμ,CΣC′)Y\sim N_{2p}(C\mu,C\Sigma C') with Cμ=(μ1+μ2μ1−μ2),C\mu=\begin{pmatrix}\mu_1+\mu_2\\\mu_1-\mu_2\end{pmatrix}, CΣC′=(Σ1+Σ2+Σ2+Σ1Σ1−Σ2+Σ2−Σ1Σ1+Σ2−Σ2−Σ1Σ1−Σ2−Σ2+Σ1)=(2(Σ1+Σ2)002(Σ1−Σ2)).C\Sigma C'=\begin{pmatrix}\Sigma_1+\Sigma_2+\Sigma_2+\Sigma_1&\Sigma_1-\Sigma_2+\Sigma_2-\Sigma_1\\\Sigma_1+\Sigma_2-\Sigma_2-\Sigma_1&\Sigma_1-\Sigma_2-\Sigma_2+\Sigma_1\end{pmatrix}=\begin{pmatrix}2(\Sigma_1+\Sigma_2)&0\\0&2(\Sigma_1-\Sigma_2)\end{pmatrix}. Hence (X1+X2X1−X2)∼N2p((μ1+μ2μ1−μ2),(2(Σ1+Σ2)002(Σ1−Σ2))).\begin{pmatrix}X_1+X_2\\X_1-X_2\end{pmatrix}\sim N_{2p}\left(\begin{pmatrix}\mu_1+\mu_2\\\mu_1-\mu_2\end{pmatrix},\ \begin{pmatrix}2(\Sigma_1+\Sigma_2)&0\\0&2(\Sigma_1-\Sigma_2)\end{pmatrix}\right). The cross-covariance is zero, so X1+X2∼Np(μ1+μ2,2(Σ1+Σ2))X_1+X_2\sim N_p(\mu_1+\mu_2,2(\Sigma_1+\Sigma_2)) and X1−X2∼Np(μ1−μ2,2(Σ1−Σ2))X_1-X_2\sim N_p(\mu_1-\mu_2,2(\Sigma_1-\Sigma_2)) are independent. (Positive definiteness of Σ\Sigma makes both Σ1+Σ2\Sigma_1+\Sigma_2 and Σ1−Σ2\Sigma_1-\Sigma_2 positive definite.)

✓ Derivation checked step by step Every step was checked: the characteristic function of the partitioned vector and the dispersion of the sum and difference, whose cross-covariance is zero.

↑ Back to the question list

X follow N3(0,Σ) where Σ=[1ρ0ρ1ρ0ρ1]. Find ρ such that (X1+X2+X3) and (X1−X2−X3) are independent.

2012 · Paper I · Q5a · 12 marks

Solution

Covariance. With a=(1,1,1)′a=(1,1,1)' and b=(1,−1,−1)′b=(1,-1,-1)', both a′Xa'X and b′Xb'X are linear functions of the same normal vector, so they are jointly (bivariate) normal, and they are independent if and only if their covariance is zero. Σb=(1−ρρ−1−ρ−ρ−1)=(1−ρ−1−1−ρ),Cov(a′X,b′X)=a′Σb=(1−ρ)−1−(1+ρ)=−1−2ρ.\Sigma b=\begin{pmatrix}1-\rho\\\rho-1-\rho\\-\rho-1\end{pmatrix}=\begin{pmatrix}1-\rho\\-1\\-1-\rho\end{pmatrix},\qquad\text{Cov}(a'X,b'X)=a'\Sigma b=(1-\rho)-1-(1+\rho)=-1-2\rho . So they are independent exactly when −1−2ρ=0⇔ρ=−12.-1-2\rho=0\quad\Longleftrightarrow\quad\rho=-\frac12 .

Is this value admissible? Σ\Sigma must be positive definite. Its leading minors are 11, 1−ρ21-\rho^2 and |Σ|=1−2ρ2|\Sigma|=1-2\rho^2, so we need |ρ|<12=0.707|\rho|<\frac1{\sqrt2}=0.707 (the eigenvalues are 11 and 1±2ρ1\pm\sqrt2\rho). ρ=−12\rho=-\frac12 satisfies this (1−2ρ2=12>01-2\rho^2=\frac12>0).

Answer. Yes: for ρ=−12\rho=-\frac12, X1+X2+X3X_1+X_2+X_3 and X1−X2−X3X_1-X_2-X_3 are independent. At this value Σa=(12,0,12)′\Sigma a=(\frac12,0,\frac12)' and Σb=(32,−1,−12)′\Sigma b=(\frac32,-1,-\frac12)', so V(X1+X2+X3)=a′Σa=1V(X_1+X_2+X_3)=a'\Sigma a=1 and V(X1−X2−X3)=b′Σb=3V(X_1-X_2-X_3)=b'\Sigma b=3: the two are independent N(0,1)N(0,1) and N(0,3)N(0,3) variables.

✓ Checked by computer We checked in Python that Cov(X₁ + X₂ + X₃, X₁ − X₂ − X₃) = −1 − 2ρ, which vanishes at ρ = −1/2, a value for which Σ is positive definite.

↑ Back to the question list

Show that a necessary and sufficient condition for X∼p to be distributed as Np(μ,Σ) is that every linear function Y=l′X∼ is distributed as univariate normal N(l′μ∼,l′Σl).

2011 · Paper I · Q7a · 20 marks

Solution

Definition used. X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) (Σ\Sigma positive definite) has density f(x)=(2π)−p/2|Σ|−1/2exp{−12(x−μ)′Σ−1(x−μ)},f(x)=(2\pi)^{-p/2}|\Sigma|^{-1/2}\exp\Big\{-\tfrac12(x-\mu)'\Sigma^{-1}(x-\mu)\Big\}, and characteristic function ϕX(t)=exp(it′μ−12t′Σt)\phi_X(t)=\exp(it'\mu-\frac12t'\Sigma t). (Derivation: with X=μ+Σ1/2ZX=\mu+\Sigma^{1/2}Z, Z∼Np(0,I)Z\sim N_p(0,I), Eeit′X=eit′μ∏jEeiujZj=eit′μe−12u′uE e^{it'X}=e^{it'\mu}\prod_jE\,e^{iu_jZ_j}=e^{it'\mu}e^{-\frac12u'u} with u=Σ1/2tu=\Sigma^{1/2}t, so u′u=t′Σtu'u=t'\Sigma t.)

Necessity. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and ll is any fixed vector, the characteristic function of Y=l′XY=l'X is ϕY(s)=E(eisl′X)=ϕX(sl)=exp(isl′μ−12s2l′Σl),\phi_Y(s)=E\big(e^{isl'X}\big)=\phi_X(sl)=\exp\Big(isl'\mu-\tfrac12s^2\,l'\Sigma l\Big), which is the characteristic function of N(l′μ,l′Σl)N(l'\mu,\ l'\Sigma l). So every linear combination is univariate normal (degenerate at l′μl'\mu if l′Σl=0l'\Sigma l=0).

Sufficiency. Suppose l′X∼N(l′μ,l′Σl)l'X\sim N(l'\mu,l'\Sigma l) for every ll, where μ=E(X)\mu=E(X) and Σ=D(X)\Sigma=D(X). Then for any t∈ℝpt\in\mathbb R^p, taking l=tl=t and evaluating the characteristic function of t′Xt'X at s=1s=1: ϕX(t)=E(eit′X)=ϕt′X(1)=exp(it′μ−12t′Σt).\phi_X(t)=E\big(e^{i\,t'X}\big)=\phi_{t'X}(1)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big). This is the characteristic function of Np(μ,Σ)N_p(\mu,\Sigma), so by the uniqueness theorem X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma). ◼\blacksquare

Remark. The condition is on every linear combination. Normal marginals alone are not enough: if X1∼N(0,1)X_1\sim N(0,1) and X2=SX1X_2=SX_1 with S=±1S=\pm1 equally likely and independent of X1X_1, both X1X_1 and X2X_2 are N(0,1)N(0,1), but X1+X2X_1+X_2 equals 0 with probability 12\frac12, so it is not normal and (X1,X2)(X_1,X_2) is not bivariate normal. This characterisation (Cramér–Wold) is often taken as the definition of the multivariate normal distribution, because it also covers singular Σ\Sigma.

✓ Proof checked step by step Every step was checked: both directions of the characteristic-function argument.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

X=[X1,X2,X3]′ has 3-variate normal distribution with mean vector μ and covariance matrix Σ, where μ=[−314] and Σ=[1−20−250002] Show that X1 and X2 are not independent but [X1,X2]′ is independent of X3. Further show that 12(X1+X2) and X3 are also independent.

2010 · Paper I · Q5b · 12 marks

Solution

Key fact. For a multivariate normal vector, two sub-vectors (or linear functions) are independent if and only if their covariance is zero.

X1X_1 and X2X_2 are not independent. Cov(X1,X2)=σ12=−2≠0\text{Cov}(X_1,X_2)=\sigma_{12}=-2\ne0 (correlation −2/5=−0.894-2/\sqrt5=-0.894). Independence would require zero covariance, so X1X_1 and X2X_2 are dependent.

(X1,X2)′(X_1,X_2)' is independent of X3X_3. The partition Σ=(1−2|0−25|000|2)\Sigma=\left(\begin{array}{cccc}1&-2&\vert&0\\-2&5&\vert&0\\\hline0&0&\vert&2\end{array}\right) has Σ12=(σ13,σ23)′=(0,0)′\Sigma_{12}=(\sigma_{13},\sigma_{23})'=(0,0)'. Hence (X1,X2)′(X_1,X_2)' and X3X_3 are independent, with (X1,X2)′∼N2((−3,1)′,(1−2−25))(X_1,X_2)'\sim N_2\big((-3,1)',\begin{pmatrix}1&-2\\-2&5\end{pmatrix}\big) and X3∼N(4,2)X_3\sim N(4,2).

12(X1+X2)\frac12(X_1+X_2) and X3X_3 are independent. (12(X1+X2),X3)′=AX\big(\frac12(X_1+X_2),X_3\big)'=AX with A=(12120001)A=\begin{pmatrix}\frac12&\frac12&0\\0&0&1\end{pmatrix} is bivariate normal, and Cov(12(X1+X2),X3)=12(σ13+σ23)=0.\text{Cov}\Big(\tfrac12(X_1+X_2),X_3\Big)=\tfrac12(\sigma_{13}+\sigma_{23})=0 . So they are independent. (This also follows directly: any function of (X1,X2)(X_1,X_2) is independent of X3X_3.) Here 12(X1+X2)∼N(−1,14(1+5−4))=N(−1,12)\frac12(X_1+X_2)\sim N\big(-1,\ \frac14(1+5-4)\big)=N(-1,\frac12).

✓ Checked by computer We checked in Python: σ₁₂ = −2 ≠ 0, σ₁₃ = σ₂₃ = 0, and Cov((X₁ + X₂)/2, X₃) = 0.

↑ Back to the question list

X=[X1,X2,X3]′ has 3-variate normal distribution with mean vector μ and dispersion matrix Σ, where μ=[2−13] and Σ=[410121013] Derive the distribution of Y=4X1−6X2+X3 and Z=[X1−X2+X32X1+X2−X3]

2010 · Paper I · Q5c · 12 marks

Solution

Method. For X∼N3(μ,Σ)X\sim N_3(\mu,\Sigma), a′X∼N(a′μ,a′Σa)a'X\sim N(a'\mu,a'\Sigma a) and AX∼N2(Aμ,AΣA′)AX\sim N_2(A\mu,A\Sigma A').

Y=4X1−6X2+X3Y=4X_1-6X_2+X_3, a=(4,−6,1)′a=(4,-6,1)'. E(Y)=8+6+3=17,E(Y)=8+6+3=17, V(Y)=16(4)+36(2)+1(3)+2[(4)(−6)(1)+(4)(1)(0)+(−6)(1)(1)]=139−60=79.V(Y)=16(4)+36(2)+1(3)+2\big[(4)(-6)(1)+(4)(1)(0)+(-6)(1)(1)\big]=139-60=79 . Y∼N(17,79).Y\sim N(17,\ 79).

ZZ, with A=(1−1121−1)A=\begin{pmatrix}1&-1&1\\2&1&-1\end{pmatrix}. Aμ=(2+1+34−1−3)=(60).A\mu=\begin{pmatrix}2+1+3\\4-1-3\end{pmatrix}=\begin{pmatrix}6\\0\end{pmatrix}. ΣA′=(4−1+08+1+01−2+12+2−10−1+30+1−3)=(39032−2),AΣA′=(3−0+29−3−26+0−218+3+2)=(54423).\Sigma A'=\begin{pmatrix}4-1+0&8+1+0\\1-2+1&2+2-1\\0-1+3&0+1-3\end{pmatrix}=\begin{pmatrix}3&9\\0&3\\2&-2\end{pmatrix},\qquad A\Sigma A'=\begin{pmatrix}3-0+2&9-3-2\\6+0-2&18+3+2\end{pmatrix}=\begin{pmatrix}5&4\\4&23\end{pmatrix}. Z=(X1−X2+X32X1+X2−X3)∼N2((60),(54423)).Z=\begin{pmatrix}X_1-X_2+X_3\\2X_1+X_2-X_3\end{pmatrix}\sim N_2\left(\begin{pmatrix}6\\0\end{pmatrix},\ \begin{pmatrix}5&4\\4&23\end{pmatrix}\right).

✓ Checked by computer We checked in Python: Y ~ N(17, 79) and Z ~ N₂((6, 0), [[5, 4], [4, 23]]).

↑ Back to the question list

Let X=[X1,X2,…,Xp]′ denote a column vector of variables Xi’s. Prove that Y follows a p-variate normal distribution Np(μ,Σ) iff there exists a random X=[X1,X2,…,Xp]′ of independent standard normal variables Xi’s such that Y=μ+BX with probability one for some matrix B of full rank and BB′=Σ.

2010 · Paper I · Q6a · 20 marks

Solution

Statement. Y∼Np(μ,Σ)Y\sim N_p(\mu,\Sigma) (Σ\Sigma positive definite) if and only if Y=μ+BXY=\mu+BX with probability one, where X=(X1,…,Xp)′X=(X_1,\dots,X_p)' has independent N(0,1)N(0,1) components and BB is a p×pp\times p matrix of full rank with BB′=ΣBB'=\Sigma.

“If” part. Let XX have iid N(0,1)N(0,1) components, so its density is (2π)−p/2e−x′x/2(2\pi)^{-p/2}e^{-x'x/2}, and let Y=μ+BXY=\mu+BX with BB non-singular and BB′=ΣBB'=\Sigma. The inverse transformation is x=B−1(y−μ)x=B^{-1}(y-\mu), with Jacobian |detB−1|=|detB|−1=|Σ|−1/2|\det B^{-1}|=|\det B|^{-1}=|\Sigma|^{-1/2} (since |Σ|=|B|2|\Sigma|=|B|^2). Also x′x=(y−μ)′(B−1)′B−1(y−μ)=(y−μ)′(BB′)−1(y−μ)=(y−μ)′Σ−1(y−μ).x'x=(y-\mu)'(B^{-1})'B^{-1}(y-\mu)=(y-\mu)'(BB')^{-1}(y-\mu)=(y-\mu)'\Sigma^{-1}(y-\mu). So the density of YY is fY(y)=(2π)−p/2|Σ|−1/2exp{−12(y−μ)′Σ−1(y−μ)},f_Y(y)=(2\pi)^{-p/2}|\Sigma|^{-1/2}\exp\Big\{-\tfrac12(y-\mu)'\Sigma^{-1}(y-\mu)\Big\}, i.e. Y∼Np(μ,Σ)Y\sim N_p(\mu,\Sigma).

“Only if” part. Let Y∼Np(μ,Σ)Y\sim N_p(\mu,\Sigma) with Σ\Sigma positive definite. Choose any non-singular BB with BB′=ΣBB'=\Sigma: for example the symmetric square root B=PΛ1/2P′B=P\Lambda^{1/2}P' (from Σ=PΛP′\Sigma=P\Lambda P') or the Cholesky factor. Define X=B−1(Y−μ).X=B^{-1}(Y-\mu). XX is a non-singular linear transformation of a normal vector, so it is normal, with E(X)=0,D(X)=B−1Σ(B−1)′=B−1BB′(B′)−1=Ip.E(X)=0,\qquad D(X)=B^{-1}\Sigma(B^{-1})'=B^{-1}BB'(B')^{-1}=I_p . So the components of XX are uncorrelated normal variables with unit variance, hence independent N(0,1)N(0,1), and Y=μ+BXY=\mu+BX identically. ◼\blacksquare

Remark. BB is not unique: BTBT works for any orthogonal TT. The representation gives an easy way to simulate multivariate normal vectors and to derive their properties from those of independent normals. (If Σ\Sigma is singular of rank rr, the same holds with BB of order p×rp\times r and XX of rr independent normals.)

✓ Proof checked step by step Every step was checked: the density of μ + BX by the Jacobian, and the converse construction X = B⁻¹(Y − μ) with BB′ = Σ.

↑ Back to the question list

Let X be distributed as Np(μ,Σ) (a p-variate normal distribution). Prove that Y=CX, where C is r×p matrix of rank r (1≤r≤p), is distributed as Nr(Cμ,CΣC′).

2010 · Paper I · Q7a · 20 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and CC is an m×pm\times p matrix of rank m(≤p)m\ (\le p), then Y=CX∼Nm(Cμ,CΣC′)Y=CX\sim N_m(C\mu,\,C\Sigma C').

Proof (characteristic functions). The characteristic function of XX is ϕX(t)=E(eit′X)=exp(it′μ−12t′Σt),t∈ℝp.\phi_X(t)=E\big(e^{it'X}\big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big),\qquad t\in\mathbb R^p . For s∈ℝms\in\mathbb R^m, ϕY(s)=E(eis′CX)=E(ei(C′s)′X)=ϕX(C′s)=exp(is′Cμ−12s′CΣC′s).\phi_Y(s)=E\big(e^{is'CX}\big)=E\big(e^{i(C's)'X}\big)=\phi_X(C's)=\exp\Big(is'C\mu-\tfrac12s'C\Sigma C's\Big). This is the characteristic function of Nm(Cμ,CΣC′)N_m(C\mu,C\Sigma C'). By the uniqueness theorem for characteristic functions, Y=CX∼Nm(Cμ,CΣC′).◼Y=CX\sim N_m(C\mu,C\Sigma C'). \qquad\blacksquare Because CC has rank mm and Σ\Sigma is positive definite, CΣC′C\Sigma C' is positive definite (s′CΣC′s=(C′s)′Σ(C′s)>0s'C\Sigma C's=(C's)'\Sigma(C's)>0 for s≠0s\ne0, since C′s≠0C's\ne0), so YY has a proper (non-singular) density.

Alternative proof (density). Add rows to CC to make a non-singular p×pp\times p matrix MM whose first rows are those of CC. Then Z=MXZ=MX has density fZ(z)=fX(M−1z)|detM|∝exp{−12(z−Mμ)′(MΣM′)−1(z−Mμ)},f_Z(z)=\frac{f_X(M^{-1}z)}{|\det M|}\propto\exp\Big\{-\tfrac12(z-M\mu)'(M\Sigma M')^{-1}(z-M\mu)\Big\}, so Z∼Np(Mμ,MΣM′)Z\sim N_p(M\mu,M\Sigma M'). Y=CXY=CX consists of the first components of ZZ, and integrating out the others gives the marginal N(Cμ,CΣC′)N(C\mu,C\Sigma C').

✓ Proof checked step by step Every step was checked: the characteristic function of CX and the positive definiteness of CΣC′.

↑ Back to the question list

Let X1,X2,…,Xn be a random sample from p-variate normal distribution Np(μ1,Σ), where Xα=[X1α,X2α,…,Xpα]′, α=1,2,…,n; 1p×1=[1,1,…,1]′ and Σp×p is known. Define T1=1′X‾1′1 and T2=1′Σ−1X‾1′Σ−11 where X‾=[X‾1,X‾2,…,X‾p]′ and X‾i=1n∑α=1nXiα,i=1,2,…,p Prove that T1 and T2 are unbiased estimators of μ and V(T2)<V(T1).

2010 · Paper I · Q8c · 20 marks

Solution

Note on the question. In general we can only prove V(T2)≤V(T1)V(T_2)\le V(T_1); the strict inequality holds unless 𝟏\mathbf 1 is an eigenvector of Σ\Sigma (for example Σ=σ2I\Sigma=\sigma^2I, when T1=T2T_1=T_2).

Distribution of X‾\bar X. X‾∼Np(μ𝟏,Σ/n)\bar X\sim N_p(\mu\mathbf 1,\Sigma/n), so E(X‾)=μ𝟏E(\bar X)=\mu\mathbf 1 and D(X‾)=Σ/nD(\bar X)=\Sigma/n.

Unbiasedness. E(T1)=𝟏′μ𝟏𝟏′𝟏=μ,E(T2)=𝟏′Σ−1μ𝟏𝟏′Σ−1𝟏=μ.E(T_1)=\frac{\mathbf 1'\mu\mathbf 1}{\mathbf 1'\mathbf 1}=\mu,\qquad E(T_2)=\frac{\mathbf 1'\Sigma^{-1}\mu\mathbf 1}{\mathbf 1'\Sigma^{-1}\mathbf 1}=\mu .

Variances. For a fixed vector aa, V(a′X‾)=a′Σa/nV(a'\bar X)=a'\Sigma a/n. With p=𝟏′𝟏p=\mathbf 1'\mathbf 1: V(T1)=𝟏′Σ𝟏np2,V(T2)=𝟏′Σ−1ΣΣ−1𝟏n(𝟏′Σ−1𝟏)2=1n𝟏′Σ−1𝟏.V(T_1)=\frac{\mathbf 1'\Sigma\mathbf 1}{n\,p^2},\qquad V(T_2)=\frac{\mathbf 1'\Sigma^{-1}\Sigma\Sigma^{-1}\mathbf 1}{n(\mathbf 1'\Sigma^{-1}\mathbf 1)^2}=\frac1{n\,\mathbf 1'\Sigma^{-1}\mathbf 1}.

Comparison. By the Cauchy–Schwarz inequality applied to u=Σ1/2𝟏u=\Sigma^{1/2}\mathbf 1 and v=Σ−1/2𝟏v=\Sigma^{-1/2}\mathbf 1: p2=(𝟏′𝟏)2=(u′v)2≤(u′u)(v′v)=(𝟏′Σ𝟏)(𝟏′Σ−1𝟏).p^2=(\mathbf 1'\mathbf 1)^2=(u'v)^2\le(u'u)(v'v)=(\mathbf 1'\Sigma\mathbf 1)(\mathbf 1'\Sigma^{-1}\mathbf 1). Hence V(T2)=1n𝟏′Σ−1𝟏≤𝟏′Σ𝟏np2=V(T1),V(T_2)=\frac1{n\,\mathbf 1'\Sigma^{-1}\mathbf 1}\ \le\ \frac{\mathbf 1'\Sigma\mathbf 1}{n\,p^2}=V(T_1), with equality if and only if u∝vu\propto v, i.e. Σ𝟏=c𝟏\Sigma\mathbf 1=c\mathbf 1. So V(T2)<V(T1)V(T_2)<V(T_1) whenever 𝟏\mathbf 1 is not an eigenvector of Σ\Sigma. ◼\blacksquare

Why. T2T_2 is the generalised least squares (and maximum likelihood) estimator of μ\mu in the model E(X‾)=μ𝟏E(\bar X)=\mu\mathbf 1, D(X‾)=Σ/nD(\bar X)=\Sigma/n: it weights the components according to their variances and correlations. By Aitken’s theorem it is the BLUE, so no other linear unbiased estimator, including the simple average T1T_1, can have smaller variance.

✓ Proof checked step by step Every step was checked: E(X̄) = μ1, the two variances, and the Cauchy–Schwarz inequality, with equality exactly when 1 is an eigenvector of Σ.

↑ Back to the question list

The vector variable X∼ follows p-variate normal distribution with mean vector μ∼ and dispersion matrix Σ. Obtain the distribution of Q=(X∼−μ∼)′Σ−1(X∼−μ∼).

2009 · Paper I · Q6a · 20 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) with Σ\Sigma positive definite, then Q=(X−μ)′Σ−1(X−μ)∼χp2.Q=(X-\mu)'\Sigma^{-1}(X-\mu)\sim\chi^2_p .

Proof. Σ\Sigma is positive definite, so it has a symmetric positive definite square root Σ1/2\Sigma^{1/2} (from Σ=PΛP′\Sigma=P\Lambda P', Σ1/2=PΛ1/2P′\Sigma^{1/2}=P\Lambda^{1/2}P'), with Σ−1=Σ−1/2Σ−1/2\Sigma^{-1}=\Sigma^{-1/2}\Sigma^{-1/2}. Put Z=Σ−1/2(X−μ).Z=\Sigma^{-1/2}(X-\mu). ZZ is a linear function of a normal vector, so it is normal, with E(Z)=0,D(Z)=Σ−1/2ΣΣ−1/2=Ip.E(Z)=0,\qquad D(Z)=\Sigma^{-1/2}\Sigma\Sigma^{-1/2}=I_p . So Z1,…,ZpZ_1,\dots,Z_p are uncorrelated normal variables, hence independent N(0,1)N(0,1). Then Q=(X−μ)′Σ−1/2Σ−1/2(X−μ)=Z′Z=∑j=1pZj2∼χp2.◼Q=(X-\mu)'\Sigma^{-1/2}\Sigma^{-1/2}(X-\mu)=Z'Z=\sum_{j=1}^pZ_j^2\sim\chi^2_p. \qquad\blacksquare

Alternative (mgf). E(etQ)=∫(2π)−p/2|Σ|−1/2e−12(1−2t)(x−μ)′Σ−1(x−μ)dx=(1−2t)−p/2E(e^{tQ})=\int(2\pi)^{-p/2}|\Sigma|^{-1/2}e^{-\frac12(1-2t)(x-\mu)'\Sigma^{-1}(x-\mu)}dx=(1-2t)^{-p/2} for t<12t<\frac12, the mgf of χp2\chi^2_p.

Uses. The contours of the density are the ellipsoids Q=cQ=c, and P{Q≤χp,α2}=1−αP\{Q\le\chi^2_{p,\alpha}\}=1-\alpha gives the 100(1−α)%100(1-\alpha)\% probability ellipsoid. With Σ\Sigma known, N(X‾−μ0)′Σ−1(X‾−μ0)∼χp2N(\bar X-\mu_0)'\Sigma^{-1}(\bar X-\mu_0)\sim\chi^2_p tests H0:μ=μ0H_0:\mu=\mu_0.

✓ Proof checked step by step Every step was checked: the standardising transformation and the sum of p independent squared standard normals.

↑ Back to the question list

Let Y1,Y2,…,Yn, (n≥p) be i.i.d. random vectors, each having Np(0,Σ) distribution. Define A=∑αyαy′α Show that for n>p+1 E(A)=1n−p−1Σ−1 assuming E to be positive definite.

2007 · Paper I · Q5d · 12 marks

Solution

Note on the question. The printed statement is garbled. The intended result is E(A−1)=1n−p−1Σ−1(n>p+1),E(A^{-1})=\frac1{n-p-1}\,\Sigma^{-1}\qquad(n>p+1), assuming Σ\Sigma to be positive definite. (For AA itself, E(A)=∑E(yαyα′)=nΣE(A)=\sum E(y_\alpha y_\alpha')=n\Sigma.)

Set-up. A=∑α=1nyαyα′∼Wp(Σ,n)A=\sum_{\alpha=1}^ny_\alpha y_\alpha'\sim W_p(\Sigma,n), which is non-singular with probability 1 when n≥pn\ge p.

Step 1: reduce to Σ=I\Sigma=I. Write yα=Σ1/2zαy_\alpha=\Sigma^{1/2}z_\alpha with zαz_\alpha iid Np(0,I)N_p(0,I), and B=∑zαzα′∼Wp(I,n)B=\sum z_\alpha z_\alpha'\sim W_p(I,n). Then A=Σ1/2BΣ1/2A=\Sigma^{1/2}B\Sigma^{1/2} and A−1=Σ−1/2B−1Σ−1/2A^{-1}=\Sigma^{-1/2}B^{-1}\Sigma^{-1/2}, so it is enough to show E(B−1)=1n−p−1IE(B^{-1})=\frac1{n-p-1}I.

Step 2: E(B−1)E(B^{-1}) is a multiple of II. For any orthogonal Γ\Gamma, Γzα\Gamma z_\alpha are again iid Np(0,I)N_p(0,I), so ΓBΓ′\Gamma B\Gamma' has the same distribution as BB. Hence ΓE(B−1)Γ′=E{(ΓBΓ′)−1}=E(B−1)\Gamma E(B^{-1})\Gamma'=E\{(\Gamma B\Gamma')^{-1}\}=E(B^{-1}) for every orthogonal Γ\Gamma. A symmetric matrix that commutes with every orthogonal matrix is a scalar multiple of II, so E(B−1)=cIE(B^{-1})=cI, with c=E{(B−1)11}c=E\{(B^{-1})_{11}\}.

Step 3: the (1,1)(1,1) element. Partition B=(b11b12b21B22)B=\begin{pmatrix}b_{11}&b_{12}\\b_{21}&B_{22}\end{pmatrix}. By the partitioned inverse, (B−1)11=1b11⋅2,b11⋅2=b11−b12B22−1b21.(B^{-1})_{11}=\frac1{b_{11\cdot2}},\qquad b_{11\cdot2}=b_{11}-b_{12}B_{22}^{-1}b_{21}. b11⋅2b_{11\cdot2} is the residual sum of squares from regressing the first coordinate of the zαz_\alpha on the other p−1p-1 coordinates over nn observations (without intercept). Since the coordinates are independent N(0,1)N(0,1), this residual SS is χn−(p−1)2=χn−p+12\chi^2_{n-(p-1)}=\chi^2_{n-p+1}.

Step 4. For V∼χν2V\sim\chi^2_\nu with ν>2\nu>2, E(1V)=∫0∞1v⋅vν/2−1e−v/22ν/2Γ(ν/2)dv=2ν/2−1Γ(ν/2−1)2ν/2Γ(ν/2)=1ν−2.E\Big(\frac1V\Big)=\int_0^\infty\frac1v\cdot\frac{v^{\nu/2-1}e^{-v/2}}{2^{\nu/2}\Gamma(\nu/2)}dv=\frac{2^{\nu/2-1}\Gamma(\nu/2-1)}{2^{\nu/2}\Gamma(\nu/2)}=\frac1{\nu-2}. With ν=n−p+1\nu=n-p+1 (and ν>2⇔n>p+1\nu>2\iff n>p+1): c=1n−p−1c=\frac1{n-p-1}.

Conclusion. E(A−1)=Σ−1/21n−p−1IΣ−1/2=Σ−1n−p−1(n>p+1).◼E(A^{-1})=\Sigma^{-1/2}\,\frac1{n-p-1}I\,\Sigma^{-1/2}=\frac{\Sigma^{-1}}{n-p-1}\qquad(n>p+1). \qquad\blacksquare So (n−p−1)A−1(n-p-1)A^{-1} is an unbiased estimator of Σ−1\Sigma^{-1}. With A=∑(xα−x‾)(xα−x‾)′A=\sum(x_\alpha-\bar x)(x_\alpha-\bar x)' from a sample of size NN, n=N−1n=N-1 and E(A−1)=Σ−1/(N−p−2)E(A^{-1})=\Sigma^{-1}/(N-p-2).

✓ Proof checked step by step Every step was checked: the reduction to Σ = I, the orthogonal-invariance argument that E(B⁻¹) = cI, and (B⁻¹)₁₁ = 1/b₁₁.₂ with b₁₁.₂ ~ χ² on n − p + 1 df.

↑ Back to the question list

If X_ is distributed as N5(μ,Σ), find the distribution of (X2X4)

2006 · Paper I · Q5b · 12 marks

Solution

Method. (X2X4)=CX\begin{pmatrix}X_2\\X_4\end{pmatrix}=CX, where C=(0100000010)C=\begin{pmatrix}0&1&0&0&0\\0&0&0&1&0\end{pmatrix} is a 2×52\times5 matrix of rank 2. A linear transformation of a multivariate normal vector is multivariate normal, CX∼N2(Cμ,CΣC′)CX\sim N_2(C\mu,C\Sigma C').

Parameters. CμC\mu picks the 2nd and 4th components of μ\mu, and CΣC′C\Sigma C' picks the corresponding rows and columns of Σ=(σij)\Sigma=(\sigma_{ij}): Cμ=(μ2μ4),CΣC′=(σ22σ24σ42σ44).C\mu=\begin{pmatrix}\mu_2\\\mu_4\end{pmatrix},\qquad C\Sigma C'=\begin{pmatrix}\sigma_{22}&\sigma_{24}\\\sigma_{42}&\sigma_{44}\end{pmatrix}.

Result. (X2X4)∼N2((μ2μ4),(σ22σ24σ24σ44)).\begin{pmatrix}X_2\\X_4\end{pmatrix}\sim N_2\left(\begin{pmatrix}\mu_2\\\mu_4\end{pmatrix},\ \begin{pmatrix}\sigma_{22}&\sigma_{24}\\\sigma_{24}&\sigma_{44}\end{pmatrix}\right). So any set of components of a multivariate normal vector is itself multivariate normal, whether or not it is independent of the remaining components. The marginal distribution of (X2,X4)(X_2,X_4) is non-singular because Σ\Sigma is positive definite, and X2,X4X_2,X_4 are independent if and only if σ24=0\sigma_{24}=0.

✓ Derivation checked step by step Every step was checked: the selection matrix picking the 2nd and 4th components, and the resulting sub-vector of μ and sub-matrix of Σ.

↑ Back to the question list

If X_∼Np(μ,Σ), prove that every linear function of components of X_ is univariate normal.

2006 · Paper I · Q5d · 12 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) then, for any fixed vector l=(l1,…,lp)′l=(l_1,\dots,l_p)', Y=l′X=∑liXi∼N(l′μ,l′Σl)Y=l'X=\sum l_iX_i\sim N(l'\mu,\ l'\Sigma l).

Characteristic function of XX. Write X=μ+BZX=\mu+BZ with BB′=ΣBB'=\Sigma and ZZ having independent N(0,1)N(0,1) components. Then, with u=B′tu=B't, ϕX(t)=Eeit′X=eit′μ∏j=1pEeiujZj=eit′μ∏je−uj2/2=exp(it′μ−12t′Σt),\phi_X(t)=E\,e^{it'X}=e^{it'\mu}\prod_{j=1}^pE\,e^{iu_jZ_j}=e^{it'\mu}\prod_je^{-u_j^2/2}=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big), since u′u=t′BB′t=t′Σtu'u=t'BB't=t'\Sigma t.

Proof. The characteristic function of Y=l′XY=l'X is ϕY(s)=E(eisY)=E(ei(sl)′X)=ϕX(sl)=exp(isl′μ−12s2l′Σl),s∈ℝ.\phi_Y(s)=E\big(e^{isY}\big)=E\big(e^{i(sl)'X}\big)=\phi_X(sl)=\exp\Big(is\,l'\mu-\tfrac12s^2\,l'\Sigma l\Big),\qquad s\in\mathbb R . This is the characteristic function of a normal distribution with mean l′μl'\mu and variance l′Σll'\Sigma l. By the uniqueness theorem, l′X∼N(l′μ,l′Σl).◼l'X\sim N(l'\mu,\ l'\Sigma l). \qquad\blacksquare If l≠0l\ne0, l′Σl>0l'\Sigma l>0 because Σ\Sigma is positive definite, so the distribution is non-degenerate. Taking l=eil=e_i gives the marginals Xi∼N(μi,σii)X_i\sim N(\mu_i,\sigma_{ii}).

✓ Proof checked step by step Every step was checked: the characteristic function of l′X evaluated from that of X.

↑ Back to the question list

If X1,X2,…,Xn have a joint normal distribution, show that a necessary and sufficient condition for one subset of random variables to be independent of the subset consisting of the remaining variables is that each covariance of a variable from one set and a variable from the other set be zero.

2006 · Paper I · Q6c · 20 marks

Solution

Result. Let X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) be partitioned into two sub-vectors X(1)X^{(1)} (qq components) and X(2)X^{(2)} (p−qp-q components), with μ=(μ(1)μ(2)),Σ=(Σ11Σ12Σ21Σ22).\mu=\begin{pmatrix}\mu^{(1)}\\\mu^{(2)}\end{pmatrix},\qquad\Sigma=\begin{pmatrix}\Sigma_{11}&\Sigma_{12}\\\Sigma_{21}&\Sigma_{22}\end{pmatrix}. Then X(1)X^{(1)} and X(2)X^{(2)} are independent if and only if Σ12=0\Sigma_{12}=0, i.e. every covariance between a variable of one set and a variable of the other is zero.

Necessity. If the sets are independent, Cov(Xi,Xj)=E(Xi−μi)E(Xj−μj)=0\text{Cov}(X_i,X_j)=E(X_i-\mu_i)E(X_j-\mu_j)=0 for every XiX_i in one set and XjX_j in the other, so Σ12=0\Sigma_{12}=0. (This direction holds for any distribution.)

Sufficiency. If Σ12=0\Sigma_{12}=0, then Σ\Sigma is block diagonal, so |Σ|=|Σ11||Σ22|,Σ−1=(Σ11−100Σ22−1),|\Sigma|=|\Sigma_{11}|\,|\Sigma_{22}|,\qquad\Sigma^{-1}=\begin{pmatrix}\Sigma_{11}^{-1}&0\\0&\Sigma_{22}^{-1}\end{pmatrix}, (x−μ)′Σ−1(x−μ)=(x(1)−μ(1))′Σ11−1(x(1)−μ(1))+(x(2)−μ(2))′Σ22−1(x(2)−μ(2)).(x-\mu)'\Sigma^{-1}(x-\mu)=(x^{(1)}-\mu^{(1)})'\Sigma_{11}^{-1}(x^{(1)}-\mu^{(1)})+(x^{(2)}-\mu^{(2)})'\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)}). So the joint density factorises: f(x)=(2π)−q/2|Σ11|−1/2e−12(x(1)−μ(1))′Σ11−1(x(1)−μ(1))⏟Nq(μ(1),Σ11)⋅(2π)−(p−q)/2|Σ22|−1/2e−12(x(2)−μ(2))′Σ22−1(x(2)−μ(2))⏟Np−q(μ(2),Σ22).f(x)=\underbrace{(2\pi)^{-q/2}|\Sigma_{11}|^{-1/2}e^{-\frac12(x^{(1)}-\mu^{(1)})'\Sigma_{11}^{-1}(x^{(1)}-\mu^{(1)})}}_{N_q(\mu^{(1)},\Sigma_{11})}\cdot\underbrace{(2\pi)^{-(p-q)/2}|\Sigma_{22}|^{-1/2}e^{-\frac12(x^{(2)}-\mu^{(2)})'\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)})}}_{N_{p-q}(\mu^{(2)},\Sigma_{22})}. A joint density that is the product of a function of x(1)x^{(1)} and a function of x(2)x^{(2)} means that X(1)X^{(1)} and X(2)X^{(2)} are independent. ◼\blacksquare (With characteristic functions: ϕ(t)=ϕ1(t(1))ϕ2(t(2))\phi(t)=\phi_1(t^{(1)})\phi_2(t^{(2)}) when Σ12=0\Sigma_{12}=0, which also covers singular Σ\Sigma.)

The factors are the marginal densities, so X(1)∼Nq(μ(1),Σ11)X^{(1)}\sim N_q(\mu^{(1)},\Sigma_{11}) and X(2)∼Np−q(μ(2),Σ22)X^{(2)}\sim N_{p-q}(\mu^{(2)},\Sigma_{22}). In particular, the components of XX are mutually independent if and only if Σ\Sigma is diagonal: for a multivariate normal vector, uncorrelated means independent.

✓ Proof checked step by step Every step was checked: necessity holds for any distribution; sufficiency follows from the block-diagonal factorisation of the density.

↑ Back to the question list

If X (with p components) is distributed according to Np(μ,Σ), then prove that Z=DX is distributed according to Nq(Dμ,DΣD′) where D is a q×p matrix of rank q≤p.

2004 · Paper I · Q5a · 12 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and DD is a q×pq\times p matrix of rank q(≤p)q\ (\le p), then Y=DX∼Nq(Dμ,DΣD′)Y=DX\sim N_q(D\mu,\,D\Sigma D').

Proof (characteristic functions). The characteristic function of XX is ϕX(t)=E(eit′X)=exp(it′μ−12t′Σt),t∈ℝp.\phi_X(t)=E\big(e^{it'X}\big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big),\qquad t\in\mathbb R^p . For s∈ℝqs\in\mathbb R^q, ϕY(s)=E(eis′DX)=E(ei(D′s)′X)=ϕX(D′s)=exp(is′Dμ−12s′DΣD′s).\phi_Y(s)=E\big(e^{is'DX}\big)=E\big(e^{i(D's)'X}\big)=\phi_X(D's)=\exp\Big(is'D\mu-\tfrac12s'D\Sigma D's\Big). This is the characteristic function of Nq(Dμ,DΣD′)N_q(D\mu,D\Sigma D'). By the uniqueness theorem for characteristic functions, Y=DX∼Nq(Dμ,DΣD′).◼Y=DX\sim N_q(D\mu,D\Sigma D'). \qquad\blacksquare Because DD has rank qq and Σ\Sigma is positive definite, DΣD′D\Sigma D' is positive definite (s′DΣD′s=(D′s)′Σ(D′s)>0s'D\Sigma D's=(D's)'\Sigma(D's)>0 for s≠0s\ne0, since D′s≠0D's\ne0), so YY has a proper (non-singular) density.

Alternative proof (density). Add rows to DD to make a non-singular p×pp\times p matrix MM whose first rows are those of DD. Then Z=MXZ=MX has density fZ(z)=fX(M−1z)|detM|∝exp{−12(z−Mμ)′(MΣM′)−1(z−Mμ)},f_Z(z)=\frac{f_X(M^{-1}z)}{|\det M|}\propto\exp\Big\{-\tfrac12(z-M\mu)'(M\Sigma M')^{-1}(z-M\mu)\Big\}, so Z∼Np(Mμ,MΣM′)Z\sim N_p(M\mu,M\Sigma M'). Y=DXY=DX consists of the first components of ZZ, and integrating out the others gives the marginal N(Dμ,DΣD′)N(D\mu,D\Sigma D').

✓ Proof checked step by step Every step was checked: the characteristic function of DX and the positive definiteness of DΣD′.

↑ Back to the question list

Let X be distributed N(μ,Σ), find the characteristic function of X.

2003 · Paper I · Q6a · 20 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma), its characteristic function is ϕX(t)=E(eit′X)=exp(it′μ−12t′Σt),t∈ℝp.\phi_X(t)=E\big(e^{it'X}\big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big),\qquad t\in\mathbb R^p .

Derivation.

Step 1 (univariate). For Z∼N(0,1)Z\sim N(0,1), completing the square, E(eisZ)=∫−∞∞12πeisz−z2/2dz=e−s2/2∫12πe−(z−is)2/2dz=e−s2/2.E(e^{isZ})=\int_{-\infty}^\infty\frac1{\sqrt{2\pi}}e^{isz-z^2/2}dz=e^{-s^2/2}\int\frac1{\sqrt{2\pi}}e^{-(z-is)^2/2}dz=e^{-s^2/2}.

Step 2 (standard multivariate). If Z=(Z1,…,Zp)′Z=(Z_1,\dots,Z_p)' has independent N(0,1)N(0,1) components, then for u∈ℝpu\in\mathbb R^p ϕZ(u)=E(∏jeiujZj)=∏je−uj2/2=e−u′u/2.\phi_Z(u)=E\Big(\prod_je^{iu_jZ_j}\Big)=\prod_je^{-u_j^2/2}=e^{-u'u/2}.

Step 3 (general). Σ\Sigma is positive definite, so Σ=BB′\Sigma=BB' with BB non-singular, and Z=B−1(X−μ)Z=B^{-1}(X-\mu) has E(Z)=0E(Z)=0, D(Z)=ID(Z)=I; its density is (2π)−p/2e−z′z/2(2\pi)^{-p/2}e^{-z'z/2} (by the Jacobian |B|=|Σ|1/2|B|=|\Sigma|^{1/2}), so its components are independent N(0,1)N(0,1). Then X=μ+BZX=\mu+BZ and ϕX(t)=E(eit′(μ+BZ))=eit′μϕZ(B′t)=eit′μexp(−12t′BB′t)=exp(it′μ−12t′Σt).◼\phi_X(t)=E\big(e^{it'(\mu+BZ)}\big)=e^{it'\mu}\,\phi_Z(B't)=e^{it'\mu}\exp\Big(-\tfrac12t'BB't\Big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big). \qquad\blacksquare

Uses. The characteristic function exists even when Σ\Sigma is singular, so it can define the (possibly singular) multivariate normal distribution. It gives the moments (∂ϕ/∂t|0=iμ\partial\phi/\partial t|_{0}=i\mu, so E(X)=μE(X)=\mu; second derivatives give D(X)=ΣD(X)=\Sigma), and it proves the closure properties: linear transformations, marginals and sums of independent normal vectors are normal. The moment generating function is MX(t)=exp(t′μ+12t′Σt)M_X(t)=\exp(t'\mu+\frac12t'\Sigma t).

✓ Derivation checked step by step Every step was checked: the representation X = μ + BZ, the characteristic function of a standard normal, and the product over independent components.

↑ Back to the question list

Let X′=[X1,X2,X3] be N3(μ,Σ) with Σ=[410130002] Are X1 and X2 independent? What about independence of (X1,X2) and X3?

2002 · Paper I · Q5a · 12 marks

Solution

Key fact. For a multivariate normal vector, two sub-vectors are independent if and only if their cross-covariance matrix is zero.

X1X_1 and X2X_2. Cov(X1,X2)=σ12=1≠0\text{Cov}(X_1,X_2)=\sigma_{12}=1\ne0 (correlation 1/12=0.2891/\sqrt{12}=0.289). So X1X_1 and X2X_2 are not independent.

(X1,X2)(X_1,X_2) and X3X_3. Partition Σ=(41|013|000|2).\Sigma=\left(\begin{array}{cccc}4&1&\vert&0\\1&3&\vert&0\\\hline0&0&\vert&2\end{array}\right). The cross-covariance block is Σ12=(σ13,σ23)′=(0,0)′\Sigma_{12}=(\sigma_{13},\sigma_{23})'=(0,0)'. So (X1,X2)′(X_1,X_2)' and X3X_3 are independent: the joint density factorises into the bivariate normal density of (X1,X2)(X_1,X_2) with dispersion (4113)\begin{pmatrix}4&1\\1&3\end{pmatrix} and the normal density of X3X_3 with variance 2. In particular X1X_1 and X3X_3, and X2X_2 and X3X_3, are independent pairs.

✓ Checked by computer We checked: σ₁₂ = 1 ≠ 0, and σ₁₃ = σ₂₃ = 0.

↑ Back to the question list

If X and Y are two independent p-dimensional random variables and if X + Y has a p-variate normal distribution, then prove that both X and Y have p-variate normal distributions.

2002 · Paper I · Q6b · 20 marks

Solution

Tools.

  1. Cramér’s theorem (univariate). If UU and VV are independent random variables and U+VU+V is normal, then UU and VV are each normal (possibly degenerate).
  2. Characterisation. A pp-vector WW is multivariate normal if and only if every linear combination l′Wl'W is univariate normal.

Proof. Let XX and YY be independent pp-vectors with X+Y∼Np(μ,Σ)X+Y\sim N_p(\mu,\Sigma). Fix any l∈ℝpl\in\mathbb R^p. Then

  • l′Xl'X and l′Yl'Y are independent (functions of independent vectors);
  • l′X+l′Y=l′(X+Y)∼N(l′μ,l′Σl)l'X+l'Y=l'(X+Y)\sim N(l'\mu,l'\Sigma l), a univariate normal.

By Cramér’s theorem, l′Xl'X and l′Yl'Y are both univariate normal. This holds for every ll, so by the characterisation, XX and YY are both pp-variate normal. ◼\blacksquare

Parameters. If X∼Np(μ1,Σ1)X\sim N_p(\mu_1,\Sigma_1) and Y∼Np(μ2,Σ2)Y\sim N_p(\mu_2,\Sigma_2), then by independence μ1+μ2=μ\mu_1+\mu_2=\mu and Σ1+Σ2=Σ\Sigma_1+\Sigma_2=\Sigma.

Why Cramér’s theorem holds (sketch). Let ϕU,ϕV\phi_U,\phi_V be the characteristic functions, so ϕU(s)ϕV(s)=exp(ims−12σ2s2)\phi_U(s)\phi_V(s)=\exp(ims-\frac12\sigma^2s^2). Because the product is an entire function of order 2 without zeros, each factor extends to an entire function of order at most 2 without zeros. By Hadamard’s factorisation theorem each is then exp{Q(s)}\exp\{Q(s)\} with QQ a polynomial of degree at most 2, and by Marcinkiewicz’s theorem such a characteristic function must be normal (or degenerate). This deep analytic result is the essential step; the multivariate extension above follows from it directly.

✓ Proof checked step by step Every step was checked: the reduction to linear combinations, the univariate Cramér theorem, and the characterisation of the multivariate normal by its linear combinations.

↑ Back to the question list

Let X∼Np(μ,Σ). Let G(q×p) be a matrix of rank q. show that GX∼Np(Gμp,GΣG′)

2000 · Paper I · Q6c · 15 marks

Solution

Note on the question. GXGX is a qq-vector, so its distribution is Nq(Gμ,GΣG′)N_q(G\mu,G\Sigma G'), not NpN_p.

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and GG is a q×pq\times p matrix of rank q(≤p)q\ (\le p), then Y=GX∼Nq(Gμ,GΣG′)Y=GX\sim N_q(G\mu,\,G\Sigma G').

Proof (characteristic functions). The characteristic function of XX is ϕX(t)=E(eit′X)=exp(it′μ−12t′Σt),t∈ℝp.\phi_X(t)=E\big(e^{it'X}\big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big),\qquad t\in\mathbb R^p . For s∈ℝqs\in\mathbb R^q, ϕY(s)=E(eis′GX)=E(ei(G′s)′X)=ϕX(G′s)=exp(is′Gμ−12s′GΣG′s).\phi_Y(s)=E\big(e^{is'GX}\big)=E\big(e^{i(G's)'X}\big)=\phi_X(G's)=\exp\Big(is'G\mu-\tfrac12s'G\Sigma G's\Big). This is the characteristic function of Nq(Gμ,GΣG′)N_q(G\mu,G\Sigma G'). By the uniqueness theorem for characteristic functions, Y=GX∼Nq(Gμ,GΣG′).◼Y=GX\sim N_q(G\mu,G\Sigma G'). \qquad\blacksquare Because GG has rank qq and Σ\Sigma is positive definite, GΣG′G\Sigma G' is positive definite (s′GΣG′s=(G′s)′Σ(G′s)>0s'G\Sigma G's=(G's)'\Sigma(G's)>0 for s≠0s\ne0, since G′s≠0G's\ne0), so YY has a proper (non-singular) density.

Alternative proof (density). Add rows to GG to make a non-singular p×pp\times p matrix MM whose first rows are those of GG. Then Z=MXZ=MX has density fZ(z)=fX(M−1z)|detM|∝exp{−12(z−Mμ)′(MΣM′)−1(z−Mμ)},f_Z(z)=\frac{f_X(M^{-1}z)}{|\det M|}\propto\exp\Big\{-\tfrac12(z-M\mu)'(M\Sigma M')^{-1}(z-M\mu)\Big\}, so Z∼Np(Mμ,MΣM′)Z\sim N_p(M\mu,M\Sigma M'). Y=GXY=GX consists of the first components of ZZ, and integrating out the others gives the marginal N(Gμ,GΣG′)N(G\mu,G\Sigma G').

✓ Proof checked step by step Every step was checked: the characteristic function of GX and the positive definiteness of GΣG′.

↑ Back to the question list

X∼Np(μ,Σ) and let C be a q×p matrix of rank q. Prove that Y=CX follows Nq(Cμ,CΣC′) distribution. Explain how this can be used to find the marginal distribution of a q-component vector of X.

1999 · Paper I · Q10b · 30 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and CC is a q×pq\times p matrix of rank q(≤p)q\ (\le p), then Y=CX∼Nq(Cμ,CΣC′)Y=CX\sim N_q(C\mu,\,C\Sigma C').

Proof (characteristic functions). The characteristic function of XX is ϕX(t)=E(eit′X)=exp(it′μ−12t′Σt),t∈ℝp.\phi_X(t)=E\big(e^{it'X}\big)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big),\qquad t\in\mathbb R^p . For s∈ℝqs\in\mathbb R^q, ϕY(s)=E(eis′CX)=E(ei(C′s)′X)=ϕX(C′s)=exp(is′Cμ−12s′CΣC′s).\phi_Y(s)=E\big(e^{is'CX}\big)=E\big(e^{i(C's)'X}\big)=\phi_X(C's)=\exp\Big(is'C\mu-\tfrac12s'C\Sigma C's\Big). This is the characteristic function of Nq(Cμ,CΣC′)N_q(C\mu,C\Sigma C'). By the uniqueness theorem for characteristic functions, Y=CX∼Nq(Cμ,CΣC′).◼Y=CX\sim N_q(C\mu,C\Sigma C'). \qquad\blacksquare Because CC has rank qq and Σ\Sigma is positive definite, CΣC′C\Sigma C' is positive definite (s′CΣC′s=(C′s)′Σ(C′s)>0s'C\Sigma C's=(C's)'\Sigma(C's)>0 for s≠0s\ne0, since C′s≠0C's\ne0), so YY has a proper (non-singular) density.

Alternative proof (density). Add rows to CC to make a non-singular p×pp\times p matrix MM whose first rows are those of CC. Then Z=MXZ=MX has density fZ(z)=fX(M−1z)|detM|∝exp{−12(z−Mμ)′(MΣM′)−1(z−Mμ)},f_Z(z)=\frac{f_X(M^{-1}z)}{|\det M|}\propto\exp\Big\{-\tfrac12(z-M\mu)'(M\Sigma M')^{-1}(z-M\mu)\Big\}, so Z∼Np(Mμ,MΣM′)Z\sim N_p(M\mu,M\Sigma M'). Y=CXY=CX consists of the first components of ZZ, and integrating out the others gives the marginal N(Cμ,CΣC′)N(C\mu,C\Sigma C').

Marginal distributions. To get the marginal distribution of any qq components, say X(1)=(Xi1,…,Xiq)′X^{(1)}=(X_{i_1},\dots,X_{i_q})', take CC to be the q×pq\times p matrix whose rows are the unit vectors ei1′,…,eiq′e_{i_1}',\dots,e_{i_q}'. It has rank qq, and CX=X(1)CX=X^{(1)}, Cμ=μ(1)C\mu=\mu^{(1)}, CΣC′=Σ11C\Sigma C'=\Sigma_{11} (the corresponding rows and columns of Σ\Sigma). Hence X(1)∼Nq(μ(1),Σ11):X^{(1)}\sim N_q\big(\mu^{(1)},\Sigma_{11}\big): every marginal distribution of a multivariate normal vector is multivariate normal, with the corresponding sub-vector of μ\mu and sub-matrix of Σ\Sigma. In particular each Xi∼N(μi,σii)X_i\sim N(\mu_i,\sigma_{ii}).

✓ Proof checked step by step Every step was checked: the characteristic function of CX and the use of a selection matrix to obtain any marginal distribution.

↑ Back to the question list

If X∼N(ζ,σ2) then a′X∼N(a′ζ,a′Ba) find B=T̃T̃′ when T̃y=(X−ζ).

1998 · Paper I · Q11a(i) · 5 marks

Solution

Note on the question. The printed question is garbled. We read it as: X∼Np(ζ,Σ)X\sim N_p(\zeta,\Sigma) is generated as X−ζ=TyX-\zeta=Ty, where y∼Np(0,I)y\sim N_p(0,I) and TT is a non-singular matrix; show that a′X∼N(a′ζ,a′Ba)a'X\sim N(a'\zeta,a'Ba) and find BB.

Solution. X=ζ+TyX=\zeta+Ty is a linear function of the normal vector yy, so it is normal, with E(X)=ζ+TE(y)=ζ,D(X)=TD(y)T′=TIT′=TT′.E(X)=\zeta+T\,E(y)=\zeta,\qquad D(X)=T\,D(y)\,T'=TIT'=TT' . Hence X∼Np(ζ,TT′)X\sim N_p(\zeta,TT'), and for any fixed aa, a′X=a′ζ+(T′a)′y∼N(a′ζ,(T′a)′(T′a))=N(a′ζ,a′TT′a).a'X=a'\zeta+(T'a)'y\ \sim\ N\big(a'\zeta,\ (T'a)'(T'a)\big)=N\big(a'\zeta,\ a'TT'a\big). So B=T̃T̃′=Σ,B=\tilde T\tilde T'=\Sigma, the dispersion matrix of XX. Conversely, any positive definite Σ\Sigma can be written as TT′TT' (for example by the Cholesky decomposition), which is how multivariate normal vectors are generated from independent standard normal variables.

✓ Answer checked step by step We checked the interpretation: with X = ζ + Ty and y ~ N(0, I), D(X) = TT′, so a′X ~ N(a′ζ, a′TT′a).

↑ Back to the question list

If the probability density function of a random vector X is kexp{−12(X−ζ)′Σ−1(X−ζ)} determine E(X) and V(X).

1998 · Paper I · Q11a(ii) · 10 marks

Solution

Normalising constant. Σ\Sigma is positive definite, so write Σ=BB′\Sigma=BB' with BB non-singular (for example B=Σ1/2B=\Sigma^{1/2}). Substitute x=ζ+Bzx=\zeta+Bz, so dx=|detB|dz=|Σ|1/2dzdx=|\det B|\,dz=|\Sigma|^{1/2}dz and (x−ζ)′Σ−1(x−ζ)=z′B′(BB′)−1Bz=z′z(x-\zeta)'\Sigma^{-1}(x-\zeta)=z'B'(BB')^{-1}Bz=z'z. Then ∫ℝpexp{−12(x−ζ)′Σ−1(x−ζ)}dx=|Σ|1/2∫exp(−12∑zj2)dz=|Σ|1/2∏j=1p∫−∞∞e−zj2/2dzj=|Σ|1/2(2π)p/2.\int_{\mathbb R^p}\exp\Big\{-\tfrac12(x-\zeta)'\Sigma^{-1}(x-\zeta)\Big\}dx=|\Sigma|^{1/2}\int\exp\Big(-\tfrac12\sum z_j^2\Big)dz=|\Sigma|^{1/2}\prod_{j=1}^p\int_{-\infty}^\infty e^{-z_j^2/2}dz_j=|\Sigma|^{1/2}(2\pi)^{p/2}. For the density to integrate to 1, k=(2π)−p/2|Σ|−1/2k=(2\pi)^{-p/2}|\Sigma|^{-1/2}, i.e. k−1=(2π)p/2|Σ|1/2.◼k^{-1}=(2\pi)^{p/2}|\Sigma|^{1/2}. \qquad\blacksquare

Mean and dispersion. Under the same substitution, Z=B−1(X−ζ)Z=B^{-1}(X-\zeta) has density (2π)−p/2e−z′z/2(2\pi)^{-p/2}e^{-z'z/2}, so its components are independent N(0,1)N(0,1): E(Z)=0E(Z)=0 and D(Z)=ID(Z)=I. Since X=ζ+BZX=\zeta+BZ, E(X)=ζ,V(X)=BD(Z)B′=BB′=Σ.E(X)=\zeta,\qquad V(X)=B\,D(Z)\,B'=BB'=\Sigma . So the parameters of the density are its mean vector and its dispersion matrix: X∼Np(ζ,Σ)X\sim N_p(\zeta,\Sigma).

✓ Derivation checked step by step Every step was checked: the normalising constant from the substitution x = ζ + Bz, and E(X) = ζ, V(X) = Σ.

↑ Back to the question list

Consider the sets of random variable X1,X2,…,Xq and Xq+1,Xq+2,…,Xp with vectors X(1)=(X1X2⋮Xq),X(2)=(Xq+1Xq+2⋮Xp) and μ=(μ(1)μ(2)),Σ=(Σ1100Σ22) The marginal distribution of the set is multivariate normal with means, variances and covariances obtained by taking the proper components of μ and Σ respectively.

1998 · Paper I · Q11b · 25 marks

Solution

Note on the question. The statement is incomplete. We read it as: when Σ12=0\Sigma_{12}=0, show that the two sets X(1)X^{(1)} and X(2)X^{(2)} are independent and that the marginal distribution of each set is multivariate normal, with means, variances and covariances given by the corresponding components of μ\mu and Σ\Sigma.

Result. Let X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) be partitioned as in the question, with X(1)X^{(1)} of qq components and X(2)X^{(2)} of p−qp-q components, and μ=(μ(1)μ(2)),Σ=(Σ11Σ12Σ21Σ22).\mu=\begin{pmatrix}\mu^{(1)}\\\mu^{(2)}\end{pmatrix},\qquad\Sigma=\begin{pmatrix}\Sigma_{11}&\Sigma_{12}\\\Sigma_{21}&\Sigma_{22}\end{pmatrix}. Then X(1)X^{(1)} and X(2)X^{(2)} are independent if and only if Σ12=0\Sigma_{12}=0, i.e. every covariance between a variable of one set and a variable of the other is zero.

Necessity. If the sets are independent, Cov(Xi,Xj)=E(Xi−μi)E(Xj−μj)=0\text{Cov}(X_i,X_j)=E(X_i-\mu_i)E(X_j-\mu_j)=0 for every XiX_i in one set and XjX_j in the other, so Σ12=0\Sigma_{12}=0. (This direction holds for any distribution.)

Sufficiency. If Σ12=0\Sigma_{12}=0, then Σ\Sigma is block diagonal, so |Σ|=|Σ11||Σ22|,Σ−1=(Σ11−100Σ22−1),|\Sigma|=|\Sigma_{11}|\,|\Sigma_{22}|,\qquad\Sigma^{-1}=\begin{pmatrix}\Sigma_{11}^{-1}&0\\0&\Sigma_{22}^{-1}\end{pmatrix}, (x−μ)′Σ−1(x−μ)=(x(1)−μ(1))′Σ11−1(x(1)−μ(1))+(x(2)−μ(2))′Σ22−1(x(2)−μ(2)).(x-\mu)'\Sigma^{-1}(x-\mu)=(x^{(1)}-\mu^{(1)})'\Sigma_{11}^{-1}(x^{(1)}-\mu^{(1)})+(x^{(2)}-\mu^{(2)})'\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)}). So the joint density factorises: f(x)=(2π)−q/2|Σ11|−1/2e−12(x(1)−μ(1))′Σ11−1(x(1)−μ(1))⏟Nq(μ(1),Σ11)⋅(2π)−(p−q)/2|Σ22|−1/2e−12(x(2)−μ(2))′Σ22−1(x(2)−μ(2))⏟Np−q(μ(2),Σ22).f(x)=\underbrace{(2\pi)^{-q/2}|\Sigma_{11}|^{-1/2}e^{-\frac12(x^{(1)}-\mu^{(1)})'\Sigma_{11}^{-1}(x^{(1)}-\mu^{(1)})}}_{N_q(\mu^{(1)},\Sigma_{11})}\cdot\underbrace{(2\pi)^{-(p-q)/2}|\Sigma_{22}|^{-1/2}e^{-\frac12(x^{(2)}-\mu^{(2)})'\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)})}}_{N_{p-q}(\mu^{(2)},\Sigma_{22})}. A joint density that is the product of a function of x(1)x^{(1)} and a function of x(2)x^{(2)} means that X(1)X^{(1)} and X(2)X^{(2)} are independent. ◼\blacksquare (With characteristic functions: ϕ(t)=ϕ1(t(1))ϕ2(t(2))\phi(t)=\phi_1(t^{(1)})\phi_2(t^{(2)}) when Σ12=0\Sigma_{12}=0, which also covers singular Σ\Sigma.)

The factors are the marginal densities, so X(1)∼Nq(μ(1),Σ11)X^{(1)}\sim N_q(\mu^{(1)},\Sigma_{11}) and X(2)∼Np−q(μ(2),Σ22)X^{(2)}\sim N_{p-q}(\mu^{(2)},\Sigma_{22}). In particular, the components of XX are mutually independent if and only if Σ\Sigma is diagonal: for a multivariate normal vector, uncorrelated means independent.

✓ Proof checked step by step Every step was checked: with Σ₁₂ = 0 the density factorises into two multivariate normal densities, which are therefore the marginals.

↑ Back to the question list

Let X∼Np(μ,Σ) and let X=(X(1)X(2)),μ=(μ(1)μ(2)),Σ=(Σ11Σ12Σ21Σ22) Show that X(1)∼N(μ(1),Σ11) even if X(1) and X(2) are not independent.

1997 · Paper I · Q11a · 30 marks

Solution

Result. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) is partitioned as given, then X(1)∼Nq(μ(1),Σ11)X^{(1)}\sim N_q(\mu^{(1)},\Sigma_{11}), whether or not Σ12=0\Sigma_{12}=0.

Proof. Consider the non-singular transformation (UX(2))=(I−Σ12Σ22−10I)X,U=X(1)−Σ12Σ22−1X(2).\begin{pmatrix}U\\X^{(2)}\end{pmatrix}=\begin{pmatrix}I&-\Sigma_{12}\Sigma_{22}^{-1}\\0&I\end{pmatrix}X,\qquad U=X^{(1)}-\Sigma_{12}\Sigma_{22}^{-1}X^{(2)}. Its Jacobian is 1. Using the identity (x−μ)′Σ−1(x−μ)=(u−ν)′Σ11⋅2−1(u−ν)+(x(2)−μ(2))′Σ22−1(x(2)−μ(2)),(x-\mu)'\Sigma^{-1}(x-\mu)=(u-\nu)'\Sigma_{11\cdot2}^{-1}(u-\nu)+(x^{(2)}-\mu^{(2)})'\Sigma_{22}^{-1}(x^{(2)}-\mu^{(2)}), with ν=μ(1)−Σ12Σ22−1μ(2)\nu=\mu^{(1)}-\Sigma_{12}\Sigma_{22}^{-1}\mu^{(2)} and Σ11⋅2=Σ11−Σ12Σ22−1Σ21\Sigma_{11\cdot2}=\Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}, and |Σ|=|Σ11⋅2||Σ22||\Sigma|=|\Sigma_{11\cdot2}|\,|\Sigma_{22}|, the joint density of (U,X(2))(U,X^{(2)}) factorises into an Nq(ν,Σ11⋅2)N_q(\nu,\Sigma_{11\cdot2}) density for UU and an Np−q(μ(2),Σ22)N_{p-q}(\mu^{(2)},\Sigma_{22}) density for X(2)X^{(2)}. So UU and X(2)X^{(2)} are independent, and X(2)∼Np−q(μ(2),Σ22)X^{(2)}\sim N_{p-q}(\mu^{(2)},\Sigma_{22}). By symmetry (interchanging the roles of the two sets) we get the marginal of X(1)X^{(1)} the same way: X(1)∼Nq(μ(1),Σ11).X^{(1)}\sim N_q(\mu^{(1)},\Sigma_{11}).

Direct check by characteristic functions. Putting t=(t(1)′,0′)′t=(t^{(1)\prime},0')' in ϕX(t)=exp(it′μ−12t′Σt)\phi_X(t)=\exp(it'\mu-\frac12t'\Sigma t) gives ϕX(1)(t(1))=exp(it(1)′μ(1)−12t(1)′Σ11t(1)),\phi_{X^{(1)}}(t^{(1)})=\exp\Big(it^{(1)\prime}\mu^{(1)}-\tfrac12t^{(1)\prime}\Sigma_{11}t^{(1)}\Big), the characteristic function of Nq(μ(1),Σ11)N_q(\mu^{(1)},\Sigma_{11}). The cross-covariance Σ12\Sigma_{12} simply drops out, which is why independence is not needed. ◼\blacksquare

Remark. So the marginals of a multivariate normal are always normal, but not conversely: normal marginals do not make the joint distribution normal (see Q46).

✓ Proof checked step by step Every step was checked: the transformation to X⁽¹⁾ − Σ₁₂Σ₂₂⁻¹X⁽²⁾ and X⁽²⁾, the factorised joint density, and integration over X⁽²⁾.

↑ Back to the question list

Let X be a random vector with mean vector μ and dispersion matrix Σ. Prove that X is distributed as Np(μ,Σ) if, and only if, for every coefficient vector l, l′X is distributed as N1(l′μ,l′Σl).

1997 · Paper I · Q11b · 30 marks

Solution

Definition used. X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) (Σ\Sigma positive definite) has density f(x)=(2π)−p/2|Σ|−1/2exp{−12(x−μ)′Σ−1(x−μ)},f(x)=(2\pi)^{-p/2}|\Sigma|^{-1/2}\exp\Big\{-\tfrac12(x-\mu)'\Sigma^{-1}(x-\mu)\Big\}, and characteristic function ϕX(t)=exp(it′μ−12t′Σt)\phi_X(t)=\exp(it'\mu-\frac12t'\Sigma t). (Derivation: with X=μ+Σ1/2ZX=\mu+\Sigma^{1/2}Z, Z∼Np(0,I)Z\sim N_p(0,I), Eeit′X=eit′μ∏jEeiujZj=eit′μe−12u′uE e^{it'X}=e^{it'\mu}\prod_jE\,e^{iu_jZ_j}=e^{it'\mu}e^{-\frac12u'u} with u=Σ1/2tu=\Sigma^{1/2}t, so u′u=t′Σtu'u=t'\Sigma t.)

Necessity. If X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma) and ll is any fixed vector, the characteristic function of Y=l′XY=l'X is ϕY(s)=E(eisl′X)=ϕX(sl)=exp(isl′μ−12s2l′Σl),\phi_Y(s)=E\big(e^{isl'X}\big)=\phi_X(sl)=\exp\Big(isl'\mu-\tfrac12s^2\,l'\Sigma l\Big), which is the characteristic function of N(l′μ,l′Σl)N(l'\mu,\ l'\Sigma l). So every linear combination is univariate normal (degenerate at l′μl'\mu if l′Σl=0l'\Sigma l=0).

Sufficiency. Suppose l′X∼N(l′μ,l′Σl)l'X\sim N(l'\mu,l'\Sigma l) for every ll, where μ=E(X)\mu=E(X) and Σ=D(X)\Sigma=D(X). Then for any t∈ℝpt\in\mathbb R^p, taking l=tl=t and evaluating the characteristic function of t′Xt'X at s=1s=1: ϕX(t)=E(eit′X)=ϕt′X(1)=exp(it′μ−12t′Σt).\phi_X(t)=E\big(e^{i\,t'X}\big)=\phi_{t'X}(1)=\exp\Big(it'\mu-\tfrac12t'\Sigma t\Big). This is the characteristic function of Np(μ,Σ)N_p(\mu,\Sigma), so by the uniqueness theorem X∼Np(μ,Σ)X\sim N_p(\mu,\Sigma). ◼\blacksquare

Remark. The condition is on every linear combination. Normal marginals alone are not enough: if X1∼N(0,1)X_1\sim N(0,1) and X2=SX1X_2=SX_1 with S=±1S=\pm1 equally likely and independent of X1X_1, both X1X_1 and X2X_2 are N(0,1)N(0,1), but X1+X2X_1+X_2 equals 0 with probability 12\frac12, so it is not normal and (X1,X2)(X_1,X_2) is not bivariate normal. This characterisation (Cramér–Wold) is often taken as the definition of the multivariate normal distribution, because it also covers singular Σ\Sigma.

✓ Proof checked step by step Every step was checked: both directions of the characteristic-function argument.

↑ Back to the question list

Let Y=(Y1,Y2,…,Yn)′ be a vector of random variables with pdf K−1exp[−12(y−θ)tΣ−1(y−θ)]. (i) Show that K=(2π)n/2|Σ|1/2 and (ii) Determine E[Y] and D[Y].

1996 · Paper I · Q11a · 30 marks

Solution

(i) Normalising constant. Σ\Sigma is positive definite, so write Σ=BB′\Sigma=BB' with BB non-singular (for example B=Σ1/2B=\Sigma^{1/2}). Substitute y=θ+Bzy=\theta+Bz, so dy=|detB|dz=|Σ|1/2dzdy=|\det B|\,dz=|\Sigma|^{1/2}dz and (y−θ)′Σ−1(y−θ)=z′B′(BB′)−1Bz=z′z(y-\theta)'\Sigma^{-1}(y-\theta)=z'B'(BB')^{-1}Bz=z'z. Then ∫ℝnexp{−12(y−θ)′Σ−1(y−θ)}dy=|Σ|1/2∫exp(−12∑zj2)dz=|Σ|1/2∏j=1n∫−∞∞e−zj2/2dzj=|Σ|1/2(2π)n/2.\int_{\mathbb R^n}\exp\Big\{-\tfrac12(y-\theta)'\Sigma^{-1}(y-\theta)\Big\}dy=|\Sigma|^{1/2}\int\exp\Big(-\tfrac12\sum z_j^2\Big)dz=|\Sigma|^{1/2}\prod_{j=1}^n\int_{-\infty}^\infty e^{-z_j^2/2}dz_j=|\Sigma|^{1/2}(2\pi)^{n/2}. For the density to integrate to 1, K=(2π)n/2|Σ|1/2.◼K=(2\pi)^{n/2}|\Sigma|^{1/2}. \qquad\blacksquare

(ii) Mean and dispersion. Under the same substitution, Z=B−1(Y−θ)Z=B^{-1}(Y-\theta) has density (2π)−n/2e−z′z/2(2\pi)^{-n/2}e^{-z'z/2}, so its components are independent N(0,1)N(0,1): E(Z)=0E(Z)=0 and D(Z)=ID(Z)=I. Since Y=θ+BZY=\theta+BZ, E(Y)=θ,D(Y)=BD(Z)B′=BB′=Σ.E(Y)=\theta,\qquad D(Y)=B\,D(Z)\,B'=BB'=\Sigma . So the parameters of the density are its mean vector and its dispersion matrix: Y∼Nn(θ,Σ)Y\sim N_n(\theta,\Sigma).

✓ Derivation checked step by step Every step was checked: the normalising constant from the substitution y = θ + Bz, and E(Y) = θ, D(Y) = Σ.

↑ Back to the question list

If X∼Np(Θ,Σ) then show that the marginal distribution of each Xi∼N(θi,σii), where X=(X1,X2,…,Xp)′, Θ=(Θ1,…,Θp)′ and Σ=(σij). Is the converse true?

1995 · Paper I · Q11a · 25 marks

Solution

Marginal of XiX_i. Let eie_i be the ii-th unit vector. Then Xi=ei′XX_i=e_i'X, and for X∼Np(Θ,Σ)X\sim N_p(\Theta,\Sigma) the characteristic function of XiX_i is ϕXi(s)=ϕX(sei)=exp(isei′Θ−12s2ei′Σei)=exp(isθi−12s2σii),\phi_{X_i}(s)=\phi_X(se_i)=\exp\Big(is\,e_i'\Theta-\tfrac12s^2e_i'\Sigma e_i\Big)=\exp\Big(is\theta_i-\tfrac12s^2\sigma_{ii}\Big), the characteristic function of N(θi,σii)N(\theta_i,\sigma_{ii}). So Xi∼N(θi,σii),i=1,…,p.◼X_i\sim N(\theta_i,\sigma_{ii}),\qquad i=1,\dots,p. \qquad\blacksquare (The same argument with any selection matrix shows that every sub-vector is multivariate normal.)

Is the converse true? No. Normal marginals do not imply a multivariate normal joint distribution.

Counterexample. Let X1∼N(0,1)X_1\sim N(0,1), and let SS be independent of X1X_1 with P(S=1)=P(S=−1)=12P(S=1)=P(S=-1)=\frac12. Put X2=SX1X_2=SX_1.

  • X2∼N(0,1)X_2\sim N(0,1): P(X2≤x)=12P(X1≤x)+12P(−X1≤x)=Φ(x)P(X_2\le x)=\frac12P(X_1\le x)+\frac12P(-X_1\le x)=\Phi(x), by the symmetry of N(0,1)N(0,1).
  • So both marginals are N(0,1)N(0,1), and Cov(X1,X2)=E(S)E(X12)=0\text{Cov}(X_1,X_2)=E(S)E(X_1^2)=0.
  • But X1+X2=(1+S)X1X_1+X_2=(1+S)X_1 equals 0 with probability 12\frac12, so it is not normal. If (X1,X2)(X_1,X_2) were bivariate normal, every linear combination, in particular X1+X2X_1+X_2, would be normal. So (X1,X2)(X_1,X_2) is not bivariate normal.
  • Also, X1X_1 and X2X_2 are uncorrelated but clearly dependent (|X2|=|X1||X_2|=|X_1|), which could not happen for a bivariate normal pair.

Another example: the density f(x1,x2)=12πe−(x12+x22)/2{1+x1x2e−(x12+x22)/2}f(x_1,x_2)=\frac1{2\pi}e^{-(x_1^2+x_2^2)/2}\{1+x_1x_2e^{-(x_1^2+x_2^2)/2}\} is non-negative, has N(0,1)N(0,1) marginals, and is not bivariate normal.

Correct converse. XX is NpN_p if and only if every linear combination l′Xl'X is univariate normal, not just the coordinates.

✓ Proof checked step by step Every step was checked: the selection of one component gives N(θᵢ, σᵢᵢ), and the counterexample X₂ = SX₁ shows that the converse fails.

↑ Back to the question list

If X=(X1,X2)′∼Np(Θ,Σ) and X1,X2 are r- and s-vectors respectively with r+s=0, then show that X1−Σ12Σ22−1X2 and X2 are independently normally distributed. The partition of Σ is Σ=(Σ11Σ12Σ12Σ22)

1995 · Paper I · Q11b · 20 marks

Solution

Note on the question. The dimensions should satisfy r+s=pr+s=p (not 0), and the lower-left block of Σ\Sigma is Σ21=Σ12′\Sigma_{21}=\Sigma_{12}'.

Result. Let X=(X1′,X2′)′∼Np(Θ,Σ)X=(X_1',X_2')'\sim N_p(\Theta,\Sigma) with X1X_1 of rr and X2X_2 of ss components, Θ=(θ1′,θ2′)′\Theta=(\theta_1',\theta_2')', and Σ22\Sigma_{22} non-singular. Then U=X1−Σ12Σ22−1X2andX2U=X_1-\Sigma_{12}\Sigma_{22}^{-1}X_2\quad\text{and}\quad X_2 are independent, with U∼Nr(θ1−Σ12Σ22−1θ2,Σ11−Σ12Σ22−1Σ21),X2∼Ns(θ2,Σ22).U\sim N_r\big(\theta_1-\Sigma_{12}\Sigma_{22}^{-1}\theta_2,\ \Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}\big),\qquad X_2\sim N_s(\theta_2,\Sigma_{22}).

Proof. (UX2)=(Ir−Σ12Σ22−10Is)(X1X2)=CX.\begin{pmatrix}U\\X_2\end{pmatrix}=\begin{pmatrix}I_r&-\Sigma_{12}\Sigma_{22}^{-1}\\0&I_s\end{pmatrix}\begin{pmatrix}X_1\\X_2\end{pmatrix}=CX . CC is non-singular (|C|=1|C|=1), so (U′,X2′)′(U',X_2')' is pp-variate normal with mean CΘC\Theta and dispersion CΣC′C\Sigma C'.

Mean. E(U)=θ1−Σ12Σ22−1θ2E(U)=\theta_1-\Sigma_{12}\Sigma_{22}^{-1}\theta_2, E(X2)=θ2E(X_2)=\theta_2.

Cross-covariance. Cov(U,X2)=Cov(X1,X2)−Σ12Σ22−1Cov(X2,X2)=Σ12−Σ12Σ22−1Σ22=0.\text{Cov}(U,X_2)=\text{Cov}(X_1,X_2)-\Sigma_{12}\Sigma_{22}^{-1}\text{Cov}(X_2,X_2)=\Sigma_{12}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{22}=0 .

Dispersion of UU. D(U)=Σ11−Σ12Σ22−1Σ21−Σ12Σ22−1Σ21+Σ12Σ22−1Σ22Σ22−1Σ21=Σ11−Σ12Σ22−1Σ21.D(U)=\Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}+\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{22}\Sigma_{22}^{-1}\Sigma_{21}=\Sigma_{11}-\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}. So CΣC′=(Σ11⋅200Σ22).C\Sigma C'=\begin{pmatrix}\Sigma_{11\cdot2}&0\\0&\Sigma_{22}\end{pmatrix}. For jointly normal vectors, zero cross-covariance implies independence (the density factorises). Hence UU and X2X_2 are independently normally distributed, with the parameters stated. ◼\blacksquare

Consequence. Since X1=U+Σ12Σ22−1X2X_1=U+\Sigma_{12}\Sigma_{22}^{-1}X_2 with UU independent of X2X_2, the conditional distribution of X1X_1 given X2=x2X_2=x_2 is Nr(θ1+Σ12Σ22−1(x2−θ2),Σ11⋅2)N_r\big(\theta_1+\Sigma_{12}\Sigma_{22}^{-1}(x_2-\theta_2),\ \Sigma_{11\cdot2}\big). Σ12Σ22−1X2\Sigma_{12}\Sigma_{22}^{-1}X_2 is the regression of X1X_1 on X2X_2, and UU is the vector of residuals.

✓ Proof checked step by step Every step was checked: the covariance of X₁ − Σ₁₂Σ₂₂⁻¹X₂ with X₂ is Σ₁₂ − Σ₁₂ = 0, and joint normality then gives independence.

↑ Back to the question list

More on Linear Inference and Multivariate Analysis

Questions: UPSC Civil Services (Main) Examination, Statistics Paper I, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted