About this set
The multivariate normal distribution, estimation of the mean vector and covariance matrix, the Wishart distribution, partial and multiple correlation, Hotelling's $T^2$, discriminant analysis, principal components and canonical correlations.
These are model questions written for practice at the standard of the paper; they are not questions from a past paper. Try each one before opening the answer. Every answer gives the working and a link to the section of the Unit VIII notes that teaches it.
The questions
Show Answer
Answer: (B) $X_3$ is independent of $(X_1,X_2)$.
In a multivariate normal distribution, sub-vectors are independent if and only if their covariance matrix is zero. $$\begin{aligned}\operatorname{Cov}(X_3,X_1) &= \operatorname{Cov}(X_3,X_2) \\[4pt] &= 0\text{,}\end{aligned}$$ so $X_3$ is independent of $(X_1,X_2)$. $\operatorname{Cov}(X_1,X_2)=2\ne0$, and $\operatorname{Cov}(X_1+X_3,X_1)=4\ne0$.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (D) 1.67 and 3.56.
$$\begin{aligned}&E(X_1\mid X_2=x_2) \\[4pt] &\quad = \mu_1+\dfrac{\sigma_{12}}{\sigma_{22}}(x_2-\mu_2) \\[4pt] &\quad = 1+\dfrac29(3) = 1.67\text{.}\end{aligned}$$ $$\begin{aligned}V(X_1\mid X_2) &= \sigma_{11}-\dfrac{\sigma_{12}^2}{\sigma_{22}} \\[4pt] &= 4-\dfrac49 = 3.56\text{,}\end{aligned}$$ the same for every $x_2$.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (A) $N(-1,3)$.
With $a=(1,-1)'$: $a'\mu=1-2=-1$ and $a'\Sigma a=2+3-2(1)=3$. Every linear combination of a multivariate normal vector is univariate normal. Ignoring the covariance gives 5; adding it gives 7.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (C) 3 and 6.
$Z=\Sigma^{-1/2}(X-\mu)\sim N_3(0,I)$ and $Q=Z'Z\sim\chi^2_3$, with mean $p=3$ and variance $2p=6$. This is why contours of constant density are ellipsoids and $P(Q\le\chi^2_{p,\alpha})=1-\alpha$.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (B) for every value of $\rho$.
$$\begin{aligned}&\operatorname{Cov}(X_1+X_2,X_1-X_2) \\[4pt] &\quad = V(X_1)-V(X_2) = 1-1 = 0\end{aligned}$$ whatever $\rho$ is. The two are jointly normal (linear functions of a normal vector), so zero covariance implies independence. Equal variances are what matter, not $\rho$.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (A) I, III and IV only.
(I), (III) and (IV) are standard; (IV) is often taken as the definition. (II) is false: take $X_1\sim N(0,1)$ and $X_2=SX_1$, where $S=\pm1$ with probability $\tfrac12$ independently. Both are $N(0,1)$, but $X_1+X_2$ equals 0 with probability $\tfrac12$, so the pair is not bivariate normal.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (D) $\dfrac{1}{2\pi\sqrt3}$.
The constant is $(2\pi)^{-p/2}|\Sigma|^{-1/2}$ with $p=2$ and $|\Sigma|=4-1=3$: $\dfrac{1}{2\pi\sqrt3}$. $|\Sigma|$ is the generalised variance.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (C) 1.33.
$$\begin{aligned}&\Sigma^{-1} \\[4pt] &\quad = \dfrac{1}{0.75}\begin{pmatrix}1&-0.5\\-0.5&1\end{pmatrix}\text{,}\end{aligned}$$ so $$\begin{aligned}x'\Sigma^{-1}x &= \dfrac{1-0.5-0.5+1}{0.75} \\[4pt] &= 1.33\text{.}\end{aligned}$$ It is less than the squared Euclidean distance 2 because the point lies along the direction in which the positively correlated variables vary together.
Read this in the notes: Unit VIII, Multivariate Normal Distribution
Show Answer
Answer: (B) $0.9\,S$.
$$\begin{aligned}\hat\Sigma &= \dfrac1n\sum(X_i-\bar X)(X_i-\bar X)' \\[4pt] &= \dfrac{n-1}{n}S = 0.9S\text{.}\end{aligned}$$ It is biased; $S$ is the unbiased estimator.
Read this in the notes: Unit VIII, Estimation of Mean Vector and Covariance Matrix
Show Answer
Answer: (D) I, II, III and IV.
(I)–(III) are the multivariate analogue of the independence of $\bar X$ and $s^2$ in normal samples. (IV) $(n-1)S$ is a sum of $n-1$ independent rank-one matrices, so it has full rank $p$ (with probability 1) exactly when $n-1\ge p$. All four are true.
Read this in the notes: Unit VIII, Estimation of Mean Vector and Covariance Matrix
Show Answer
Answer: (A) $(\bar X,S)$.
The likelihood depends on the data only through $\bar X$ and $\sum(X_i-\bar X)(X_i-\bar X)'=(n-1)S$, so by the factorisation theorem $(\bar X,S)$ is sufficient; it is also complete.
Read this in the notes: Unit VIII, Estimation of Mean Vector and Covariance Matrix
Show Answer
Answer: (C) $0.64\,|S|$.
By invariance, the estimate is $$\begin{aligned}|\hat\Sigma| &= \left|\dfrac{n-1}{n}S\right| \\[4pt] &= \left(\dfrac{n-1}{n}\right)^p|S| = (0.8)^2|S| \\[4pt] &= 0.64|S|\text{.}\end{aligned}$$ A scalar multiplying a $p\times p$ matrix comes out of the determinant to the power $p$.
Read this in the notes: Unit VIII, Estimation of Mean Vector and Covariance Matrix
Show Answer
Answer: (B) 7 and 0.971.
The means are 3 and 5; the deviations are $(-2,0,2)$ and $(-3,-1,4)$. $s_{12}=\dfrac{6+0+8}{2}=7$, $s_{11}=\dfrac82=4$, $s_{22}=\dfrac{26}{2}=13$, and $r=\dfrac{7}{\sqrt{52}}=0.971$. The correlation does not depend on the divisor.
Read this in the notes: Unit VIII, Estimation of Mean Vector and Covariance Matrix
Show Answer
Answer: (D) $\chi^2_{2}$.
$\sqrt n(\bar X-\mu)\sim N_p(0,\Sigma)$, so the quadratic form is $\chi^2_p=\chi^2_2$ whatever $n$ is. It gives an elliptical confidence region for $\mu$. When $\Sigma$ is replaced by $S$, the statistic becomes Hotelling's $T^2$, related to $F(2,23)$.
Read this in the notes: Unit VIII, Distribution of Sample Mean Vector
Show Answer
Answer: (A) Both (A) and (R) are true and (R) is the correct explanation of (A).
The central limit theorem makes $\sqrt n(\bar X-\mu)$ approximately normal without any assumption of normality, and replacing $\Sigma$ by a consistent estimator does not change the limit (Slutsky). So the quadratic form is approximately $\chi^2_p$. Both statements are true and (R) is the reason.
Read this in the notes: Unit VIII, Distribution of Sample Mean Vector
Show Answer
Answer: (C) 1.
With $a=(1,1)'$: $$\begin{aligned}V(a'\bar X) &= \dfrac{a'\Sigma a}{n} \\[4pt] &= \dfrac{2+3+2(1)}{7} = 1\text{.}\end{aligned}$$
Read this in the notes: Unit VIII, Distribution of Sample Mean Vector
Show Answer
Answer: (B) 20 and 80.
$\dfrac{a_{11}}{\sigma_{11}}\sim\chi^2_{10}$, so $E(a_{11})=10(2)=20$ and $$\begin{aligned}V(a_{11}) &= 2n\sigma_{11}^2 = 2(10)(4) \\[4pt] &= 80\text{.}\end{aligned}$$ In general $E(A)=n\Sigma$.
Read this in the notes: Unit VIII, Wishart Distribution
Show Answer
Answer: (A) I, II and III only.
(I) is the additive property, (II) the transformation property and (III) its special case $q=1$; they mirror the properties of chi-square, of which the Wishart is the matrix generalisation. (IV) is false, just as $\sigma_1^2\chi^2+\sigma_2^2\chi^2$ is not a multiple of a chi-square.
Read this in the notes: Unit VIII, Wishart Distribution
Show Answer
Answer: (D) $20|\Sigma|$.
$\dfrac{|A|}{|\Sigma|}$ is distributed as the product of independent $\chi^2_n,\chi^2_{n-1},\dots,\chi^2_{n-p+1}$ variables. So $$\begin{aligned}E|A| &= |\Sigma|\,n(n-1)\cdots(n-p+1) \\[4pt] &= |\Sigma|(5)(4) = 20|\Sigma|\text{.}\end{aligned}$$
Read this in the notes: Unit VIII, Wishart Distribution
Show Answer
Answer: (C) 8.
For the inverse, the degrees of freedom drop to $n-p+1=10-3+1=8$. (Compare $\dfrac{a'Aa}{a'\Sigma a}\sim\chi^2_n$.) This result is what gives Hotelling's $T^2$ its $F$ distribution.
Read this in the notes: Unit VIII, Wishart Distribution
Show Answer
Answer: (B) $n\ge p$.
$A=\sum_{i=1}^{n}Z_iZ_i'$ with $Z_i$ independent $N_p(0,\Sigma)$ is non-singular with probability 1 exactly when $n\ge p$; for $n\lt p$ it is singular and has no density on the space of positive definite matrices.
Read this in the notes: Unit VIII, Wishart Distribution
Show Answer
Answer: (A) 0.504.
$$\begin{aligned}&r_{12.3} \\[4pt] &\quad = \dfrac{r_{12}-r_{13}r_{23}}{\sqrt{(1-r_{13}^2)(1-r_{23}^2)}} \\[4pt] &\quad = \dfrac{0.6-0.2}{\sqrt{0.75\times0.84}} \\[4pt] &\quad = \dfrac{0.4}{0.794} = 0.504\text{.}\end{aligned}$$
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (D) 0.664.
$$\begin{aligned}&R_{1.23}^2 \\[4pt] &\quad = \dfrac{r_{12}^2+r_{13}^2-2r_{12}r_{13}r_{23}}{1-r_{23}^2} \\[4pt] &\quad = \dfrac{0.36+0.25-0.24}{0.84} \\[4pt] &\quad = 0.440\text{,}\end{aligned}$$ so $R_{1.23}=0.664$. It exceeds both $|r_{12}|$ and $|r_{13}|$, as it must; $0.440$ is $R^2$, not $R$.
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (C) I, II and IV only.
$R_{1.23}$ is the largest correlation between $X_1$ and any linear function of $X_2,X_3$, so it is at least as large as each simple correlation and is never negative: (I), (II) true, (III) false. (IV) is the standard identity: the variance left unexplained by $X_2$ is further reduced by the factor $1-r_{13.2}^2$.
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (B) 2.89 on 25.
For a partial correlation with $k$ variables held fixed, $t=\dfrac{r\sqrt{n-2-k}}{\sqrt{1-r^2}}$ on $n-2-k$ degrees of freedom. Here $k=1$: $t=\dfrac{0.5\sqrt{25}}{\sqrt{0.75}}=2.89$ on 25 degrees of freedom.
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (A) 10.
With $p-1=2$ explanatory variables, $$\begin{aligned}F &= \dfrac{R^2/(p-1)}{(1-R^2)/(n-p)} \\[4pt] &= \dfrac{0.5/2}{0.5/20} = 10\end{aligned}$$ on $(2,20)$ degrees of freedom.
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (D) 0.200.
$z$ is approximately normal with variance $\dfrac{1}{n-3}=\dfrac1{25}$, so the standard error is 0.200, whatever the value of $\rho$. Here $z=0.693$, and the 95% limits $0.693\pm0.392$ transform back to $(0.29,0.80)$ for $\rho$.
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (C) $-\dfrac{\sigma^{12}}{\sqrt{\sigma^{11}\sigma^{22}}}$.
The off-diagonal elements of the concentration matrix $\Sigma^{-1}$, scaled and with the sign changed, are the partial correlations given the rest. So a zero in $\Sigma^{-1}$ means conditional independence in the normal case. Option B is the simple correlation, and option D is $R^2_{1.2\ldots p}$.
Read this in the notes: Unit VIII, Simple, Partial & Multiple Correlation
Show Answer
Answer: (B) $\dfrac{17}{57}T^2\sim F(3,17)$.
$\dfrac{n-p}{p(n-1)}T^2\sim F(p,n-p)$. With $n=20$, $p=3$: $\dfrac{17}{3\times19}=\dfrac{17}{57}$ and the degrees of freedom are $(3,17)$. $\chi^2_3$ is the limiting distribution for large $n$.
Read this in the notes: Unit VIII, Hotelling's $T^2$ Statistic
Show Answer
Answer: (A) 15 and 6.67.
$$\begin{aligned}T^2 &= n(\bar x-\mu_0)'S^{-1}(\bar x-\mu_0) \\[4pt] &= 10\left(\dfrac12+\dfrac44\right) = 15\text{.}\end{aligned}$$ $$\begin{aligned}F &= \dfrac{n-p}{p(n-1)}T^2 \\[4pt] &= \dfrac{8}{18}(15) = 6.67\end{aligned}$$ on $(2,8)$ degrees of freedom.
Read this in the notes: Unit VIII, Hotelling's $T^2$ Statistic
Show Answer
Answer: (D) I, II and III only.
(I)–(III) are standard: $T^2$ is invariant, generalises $t^2$ and is equivalent to the likelihood ratio test. (IV) is false: because of the invariance, the null distribution is the same for every $\Sigma$, namely a multiple of $F(p,n-p)$.
Read this in the notes: Unit VIII, Hotelling's $T^2$ Statistic
Show Answer
Answer: (C) (3, 16).
$$\begin{aligned}&\dfrac{n_1+n_2-p-1}{p(n_1+n_2-2)}T^2 \\[4pt] &\quad \sim F(p,\;n_1+n_2-p-1) = F(3,16)\text{.}\end{aligned}$$
Read this in the notes: Unit VIII, Hotelling's $T^2$ Statistic
Show Answer
Answer: (B) 12.
$$\begin{aligned}T^2 &= \dfrac{n_1n_2}{n_1+n_2}D^2 \\[4pt] &= \dfrac{150}{25}(2) = 12\text{,}\end{aligned}$$ where $$\begin{aligned}&D^2 \\[4pt] &\quad = (\bar x_1-\bar x_2)'S_p^{-1}(\bar x_1-\bar x_2)\end{aligned}$$ with $S_p$ the pooled covariance matrix.
Read this in the notes: Unit VIII, Hotelling's $T^2$ Statistic
Show Answer
Answer: (A) Hotelling's $T^2$.
$$\begin{aligned}t^2(a) &= \dfrac{n[a'(\bar x-\mu_0)]^2}{a'Sa}\text{,}\end{aligned}$$ and by the Cauchy–Schwarz inequality its maximum over $a$ is $n(\bar x-\mu_0)'S^{-1}(\bar x-\mu_0)=T^2$, attained at $a\propto S^{-1}(\bar x-\mu_0)$. This is Roy's union–intersection derivation of $T^2$ and the basis of simultaneous confidence intervals.
Read this in the notes: Unit VIII, Hotelling's $T^2$ Statistic
Show Answer
Answer: (D) $(1,0)'$.
$a=S^{-1}(\bar x_1-\bar x_2)$ with $$\begin{aligned}&S^{-1} \\[4pt] &\quad = \begin{pmatrix}1&-1\\-1&2\end{pmatrix}\text{:}\end{aligned}$$ $a=(2-1,\,-2+2)'=(1,0)'$. Although the groups differ on both variables, the second adds nothing to the separation once the first is used.
Read this in the notes: Unit VIII, Discriminant Analysis
Show Answer
Answer: (A) group 1, since $y=3.5$ exceeds the cut-off 3.
The cut-off is midway between the discriminant scores of the two means: $\tfrac12(4+2)=3$. Since group 1 has the larger mean score and $y=3.5\gt3$, the observation goes to group 1. The value of $x_2$ plays no part because its coefficient is zero.
Read this in the notes: Unit VIII, Discriminant Analysis
Show Answer
Answer: (C) 0.1587.
Each error probability is $\Phi\left(-\dfrac\Delta2\right)=\Phi(-1)=0.1587$. The further apart the populations, in standard-deviation units, the smaller the error.
Read this in the notes: Unit VIII, Discriminant Analysis
Show Answer
Answer: (B) I, II and III only.
The log of the ratio of two normal densities is linear in $x$ when the covariance matrices are equal and quadratic otherwise: (I), (II). (III) is Fisher's own criterion, which needs no normality. (IV) is false; unequal sample sizes only change the pooled covariance matrix, and unequal priors shift the cut-off.
Read this in the notes: Unit VIII, Discriminant Analysis
Show Answer
Answer: (D) 2.
$D^2=d'S^{-1}d$ with $S^{-1}d=(1,0)'$, so $D^2=(2,1)(1,0)'=2$. It is also the difference between the two mean discriminant scores.
Read this in the notes: Unit VIII, Discriminant Analysis
Show Answer
Answer: (C) 85.7%.
The characteristic equation is $\lambda^2-7\lambda+6=0$, so $\lambda_1=6$, $\lambda_2=1$. The total variance is the trace, 7, and the first component explains $\dfrac67=85.7\%$. ($71.4\%$ is the share of $X_1$ alone, $\tfrac57$.)
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (A) $\dfrac{1}{\sqrt5}(2X_1+X_2)$.
For $\lambda_1=6$: $(\Sigma-6I)e=0$ gives $-e_1+2e_2=0$, so $e\propto(2,1)'$, normalised by $\sqrt5$. Check: $V(2X_1+X_2)/5=\dfrac{20+2+8}{5}=6$. Option D is the second component, with variance 1.
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (B) $\dfrac{1}{\sqrt2}(Z_1+Z_2)$ and 80%.
The characteristic roots are $1+\rho=1.6$ and $1-\rho=0.4$, with vectors $(1,1)'/\sqrt2$ and $(1,-1)'/\sqrt2$. The first component explains $\dfrac{1.6}{2}=80\%$. For two standardised variables the components are always the sum and the difference, whatever $\rho$ is.
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (D) I, II and IV only.
(I), (II) and (IV) follow from the spectral decomposition of $\Sigma$. (III) is false: principal components are not scale invariant; changing the units changes $\Sigma$ and its vectors, which is why the correlation matrix is used when the variables are on different scales.
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (C) 0.980.
$$\begin{aligned}&\operatorname{Corr}(Y_i,X_k) \\[4pt] &\quad = \dfrac{e_{ik}\sqrt{\lambda_i}}{\sqrt{\sigma_{kk}}}\text{.}\end{aligned}$$ With $e_{11}=\dfrac{2}{\sqrt5}$, $\lambda_1=6$, $\sigma_{11}=5$: $\dfrac{2\sqrt6}{5}=0.980$. The loading $e_{11}=0.894$ by itself is not the correlation.
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (B) 62.5%.
The equicorrelation matrix $(1-\rho)I+\rho J$ has roots $1+(p-1)\rho=2.5$ once and $1-\rho=0.5$ three times. The first component, proportional to the sum of the variables, explains $\dfrac{2.5}{4}=62.5\%$.
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (A) 2 and 80%.
Kaiser's rule keeps components whose roots exceed 1, the average root of a correlation matrix: here two, explaining $\dfrac{2.8+1.2}{5}=80\%$. A scree plot would show the same ‘elbow’ after the second root.
Read this in the notes: Unit VIII, Principal Component Analysis (PCA)
Show Answer
Answer: (D) 3.
The number of canonical correlations is $\min(p,q)=3$: they are the positive square roots of the non-zero characteristic roots of $\Sigma_{11}^{-1}\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21}$, a $3\times3$ matrix.
Read this in the notes: Unit VIII, Canonical Correlation Analysis (CCA)
Show Answer
Answer: (C) the multiple correlation coefficient $R_{1.23\ldots p}$.
The canonical correlation is the largest correlation between a linear function of the first set and a linear function of the second. With one variable in the first set this is the largest correlation between $X_1$ and $b'X^{(2)}$, which is the multiple correlation coefficient.
Read this in the notes: Unit VIII, Canonical Correlation Analysis (CCA)
Show Answer
Answer: (B) 0.671.
$$\begin{aligned}\rho^{*2} &= \Sigma_{11}^{-1}\Sigma_{12}\Sigma_{22}^{-1}\Sigma_{21} \\[4pt] &= 0.6^2+0.3^2 = 0.45\text{,}\end{aligned}$$ so $\rho^*=0.671$. It is the multiple correlation of $X_1$ on $X_2,X_3$ and exceeds the larger simple correlation, 0.6.
Read this in the notes: Unit VIII, Canonical Correlation Analysis (CCA)
Show Answer
Answer: (A) I, II and III only.
(I) holds because the sets of linear combinations are unchanged. (II) is part of the construction: each new pair is chosen uncorrelated with the earlier ones. (III) holds because single variables are particular linear combinations. (IV) is false: canonical correlations are defined as non-negative square roots; a sign can always be absorbed into a canonical variate.
Read this in the notes: Unit VIII, Canonical Correlation Analysis (CCA)