About this set
Simple and multiple regression, the Gauss–Markov theorem, tests and analysis of variance for the linear model, generalised least squares, dummy variables, multicollinearity, heteroscedasticity, autocorrelation, logistic regression, errors in variables, instrumental variables and simultaneous equations.
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 VI notes that teaches it.
The questions
Show Answer
Answer: (B) 13.
$S_{xy}=560-\dfrac{50\times100}{10}=60$ and $S_{xx}=310-\dfrac{50^2}{10}=60$, so $b=1$ and $a=\bar y-b\bar x=10-5=5$. At $x=8$: $\hat y=5+8=13$.
Read this in the notes: Unit VI, Simple Linear Regression
Show Answer
Answer: (D) $-0.5$.
If the first line is $y$ on $x$, $b_{yx}=-\tfrac32$; then the second is $x$ on $y$ with $b_{xy}=-\tfrac16$, and $r^2=b_{yx}b_{xy}=\tfrac14$. (The other assignment gives $r^2=\tfrac23\times6=4\gt1$, impossible.) Both coefficients are negative, so $r=-0.5$. The lines meet at the means $\bar x=4$, $\bar y=7$.
Read this in the notes: Unit VI, Simple Linear Regression
Show Answer
Answer: (A) I, II and IV only.
(I) and (II) are the two normal equations, and (IV) follows from (I). They give $\sum\hat y_ie_i=0$, but $\sum y_ie_i=\sum(\hat y_i+e_i)e_i=\sum e_i^2$, the residual sum of squares, which is zero only for a perfect fit: (III) is false.
Read this in the notes: Unit VI, Simple Linear Regression
Show Answer
Answer: (C) 3.18.
$$\begin{aligned}t &= \dfrac{r\sqrt{n-2}}{\sqrt{1-r^2}} \\[4pt] &= \dfrac{0.6\sqrt{18}}{0.8} = 3.18\end{aligned}$$ on 18 degrees of freedom. The test of $\beta=0$ and the test of $\rho=0$ are the same test.
Read this in the notes: Unit VI, Simple Linear Regression
Show Answer
Answer: (B) 0.20.
Residual sum of squares $=(1-r^2)\times100=36$, so $s^2=\dfrac{36}{n-2}=2$. $$\begin{aligned}\text{s.e.}(b) &= \sqrt{\dfrac{s^2}{S_{xx}}} = \sqrt{\dfrac{2}{50}} \\[4pt] &= 0.20\text{.}\end{aligned}$$ ($0.04$ is the variance, not the standard error.)
Read this in the notes: Unit VI, Simple Linear Regression
Show Answer
Answer: (D) 5 and 25.
$H$ is symmetric and idempotent, so its trace equals its rank, the number of columns of $X$: $p=5$. $\operatorname{tr}(I-H)=n-p=25$, the residual degrees of freedom. Hence $E(e'e)=\sigma^2(n-p)$.
Read this in the notes: Unit VI, Multiple Linear Regression
Show Answer
Answer: (A) $(1,2)'$.
$$\begin{aligned}&(X'X)^{-1} \\[4pt] &\quad = \dfrac13\begin{pmatrix}2&-1\\-1&2\end{pmatrix}\text{,}\end{aligned}$$ so $$\begin{aligned}&\hat\beta \\[4pt] &\quad = \dfrac13\begin{pmatrix}3\\6\end{pmatrix} \\[4pt] &\quad = \begin{pmatrix}1\\2\end{pmatrix}\text{.}\end{aligned}$$ Check with the normal equations: $2(1)+2=4$ and $1+2(2)=5$.
Read this in the notes: Unit VI, Multiple Linear Regression
Show Answer
Answer: (C) 1.00.
$s^2=\dfrac{SSE}{n-p}=\dfrac{80}{20}=4$. $\widehat{V}(\hat\beta_j)=s^2c_{jj}=4(0.25)=1$, so the standard error is 1.00. Using the divisor $n$ gives $s^2=3.2$ and 0.89.
Read this in the notes: Unit VI, Multiple Linear Regression
Show Answer
Answer: (B) I, II and IV only.
(I) is the normal equations. (II) $H$ is a projection. (IV) $$\begin{aligned}&\operatorname{Cov}(\hat\beta,e) \\[4pt] &\quad = \sigma^2(X'X)^{-1}X'(I-H) = 0\text{.}\end{aligned}$$ (III) is false: $\sum e_i=0$ holds only when the vector of ones lies in the column space of $X$, as it does when there is an intercept.
Read this in the notes: Unit VI, Multiple Linear Regression
Show Answer
Answer: (A) 0.75.
$$\begin{aligned}\bar R^2 &= 1-(1-R^2)\dfrac{n-1}{n-k-1} \\[4pt] &= 1-0.20\times\dfrac{20}{16} = 0.75\text{.}\end{aligned}$$ $R^2$ never falls when a regressor is added; $\bar R^2$ rises only if the added variable's $|t|$ exceeds 1.
Read this in the notes: Unit VI, Multiple Linear Regression
Show Answer
Answer: (D) Normality of the errors.
The theorem says that under zero mean, homoscedastic and uncorrelated errors and a full-rank non-random $X$, least squares is the best linear unbiased estimator. Normality is needed only for exact $t$ and $F$ tests and for least squares to coincide with maximum likelihood.
Read this in the notes: Unit VI, Gauss–Markov Theorem
Show Answer
Answer: (C) I and II only.
A linear function is estimable if and only if it is a linear combination of the expectations $E(y_{ij})=\mu+\alpha_i$. So $\mu+\alpha_1$ and $(\mu+\alpha_1)-(\mu+\alpha_2)$ are estimable. $\mu$ and $\alpha_1$ separately are not: adding a constant to $\mu$ and subtracting it from every $\alpha_i$ leaves the distribution of the data unchanged.
Read this in the notes: Unit VI, Gauss–Markov Theorem
Show Answer
Answer: (C) (A) is true but (R) is false.
(A) is the Gauss–Markov theorem. (R) is false: without normality the optimality is only within the class of linear unbiased estimators; for heavy-tailed errors, non-linear estimators can do better. With normal errors least squares is best among all unbiased estimators.
Read this in the notes: Unit VI, Gauss–Markov Theorem
Show Answer
Answer: (B) 3.2.
$\hat\sigma^2_{ML}=\dfrac{SSE}{n}=\dfrac{80}{25}=3.2$. It is biased downward: $E(\hat\sigma^2_{ML})=\dfrac{n-p}{n}\sigma^2$. The unbiased estimate is $\dfrac{SSE}{n-p}=4.0$.
Read this in the notes: Unit VI, Maximum Likelihood Estimation
Show Answer
Answer: (A) I, II and III only.
Maximising the normal likelihood over $\beta$ is minimising the sum of squares: (I). $\hat\beta$ and $e$ are jointly normal and uncorrelated, hence independent: (II). $SSE=\varepsilon'(I-H)\varepsilon$ with $I-H$ idempotent of rank $n-p$: (III). (IV) is false: the divisor $n$ gives a biased estimator.
Read this in the notes: Unit VI, Maximum Likelihood Estimation
Show Answer
Answer: (D) $t=2.5$ on 20 d.f.; reject $H_0$.
$t=\dfrac{\hat\beta_2}{\text{s.e.}}=2.5$ on $n-p=20$ degrees of freedom. Since $2.5\gt2.086$, $H_0$ is rejected at the 5% level.
Read this in the notes: Unit VI, Hypothesis Tests on Regression Coefficients
Show Answer
Answer: (A) (2.94, 5.06).
$$\begin{aligned}\hat\beta\pm t\times\text{s.e.} &= 4\pm2.12(0.5) \\[4pt] &= 4\pm1.06\text{,}\end{aligned}$$ i.e. $(2.94,5.06)$. Using 1.96 gives $(3.02,4.98)$, too narrow for 16 degrees of freedom.
Read this in the notes: Unit VI, Hypothesis Tests on Regression Coefficients
Show Answer
Answer: (C) 0.4 and 4.4.
$$\begin{aligned}&\widehat V(\hat y_0) \\[4pt] &\quad = s^2\left[\dfrac1n+\dfrac{(x_0-\bar x)^2}{S_{xx}}\right] \\[4pt] &\quad = \dfrac{4}{10} = 0.4\text{.}\end{aligned}$$ For a new observation the variance is $$\begin{aligned}&s^2\left[1+\dfrac1n+\dfrac{(x_0-\bar x)^2}{S_{xx}}\right] \\[4pt] &\quad = 4.4\text{:}\end{aligned}$$ the prediction interval is always wider than the confidence interval for the mean response.
Read this in the notes: Unit VI, Hypothesis Tests on Regression Coefficients
Show Answer
Answer: (B) 7.5.
$$\begin{aligned}F &= \dfrac{R^2/k}{(1-R^2)/(n-k-1)} \\[4pt] &= \dfrac{0.6/4}{0.4/20} \\[4pt] &= \dfrac{0.15}{0.02} = 7.5\end{aligned}$$ on $(4,20)$ degrees of freedom.
Read this in the notes: Unit VI, ANOVA for Linear Model, $R^2$, Adjusted $R^2$
Show Answer
Answer: (D) 16.
Residual sum of squares $=50$ on $20-4=16$ degrees of freedom: $MSE=3.125$. Regression mean square $=\dfrac{150}{3}=50$. $F=\dfrac{50}{3.125}=16$ on $(3,16)$ degrees of freedom; $R^2=0.75$.
Read this in the notes: Unit VI, ANOVA for Linear Model, $R^2$, Adjusted $R^2$
Show Answer
Answer: (A) I, III and IV only.
(I) is the definition of the multiple correlation coefficient. (II) is false: adding a variable cannot increase the minimum residual sum of squares, so $R^2$ cannot fall. (III) $\bar R^2\lt0$ when $R^2\lt\dfrac{k}{n-1}$. (IV) Without an intercept the decomposition of the sum of squares about the mean breaks down, and the quantity can be negative.
Read this in the notes: Unit VI, ANOVA for Linear Model, $R^2$, Adjusted $R^2$
Show Answer
Answer: (C) 5.
$$\begin{aligned}&F \\[4pt] &\quad = \dfrac{(SSE_R-SSE_U)/q}{SSE_U/(n-p)} \\[4pt] &\quad = \dfrac{(60-40)/2}{40/20} = \dfrac{10}{2} \\[4pt] &\quad = 5\end{aligned}$$ on $(2,20)$ degrees of freedom. This is the extra-sum-of-squares (partial $F$) test.
Read this in the notes: Unit VI, ANOVA for Linear Model, $R^2$, Adjusted $R^2$
Show Answer
Answer: (B) (2, 24).
$\beta_1=\beta_2=\beta_3$ is two independent linear restrictions ($\beta_1-\beta_2=0$, $\beta_2-\beta_3=0$), so $q=2$. The residual degrees of freedom are $n-p=30-6=24$.
Read this in the notes: Unit VI, Tests of Linear Hypothesis
Show Answer
Answer: (D) 3.78.
$$\begin{aligned}&F \\[4pt] &\quad = \dfrac{(SSE_P-SSE_1-SSE_2)/k}{(SSE_1+SSE_2)/(n_1+n_2-2k)} \\[4pt] &\quad = \dfrac{30/3}{90/34} = \dfrac{10}{2.647} \\[4pt] &\quad = 3.78\end{aligned}$$ on $(3,34)$ degrees of freedom.
Read this in the notes: Unit VI, Tests of Linear Hypothesis
Show Answer
Answer: (A) $\dfrac1n\sum\dfrac{y_i}{x_i}$.
Dividing by $x_i$ gives $\dfrac{y_i}{x_i}=\beta+\dfrac{\varepsilon_i}{x_i}$ with constant variance, so the weighted least-squares estimator is the mean of the ratios. If the variance were proportional to $x_i$ the answer would be $\sum y_i/\sum x_i$, and for constant variance $\sum x_iy_i/\sum x_i^2$.
Read this in the notes: Unit VI, Generalized & Weighted Least Squares
Show Answer
Answer: (C) I, III and IV only.
Unbiasedness and consistency need only $E(\varepsilon)=0$ and a well-behaved $X$. The covariance matrix is $\sigma^2(X'X)^{-1}X'VX(X'X)^{-1}$, so the usual standard errors are wrong: (III). The best linear unbiased estimator is generalised least squares, $(X'V^{-1}X)^{-1}X'V^{-1}y$ (Aitken): (II) is false.
Read this in the notes: Unit VI, Generalized & Weighted Least Squares
Show Answer
Answer: (B) 0.80.
Weights inversely proportional to the variances: $\hat\mu=\dfrac{4y_1+y_2}{5}$, with variance $\dfrac{1}{1/1+1/4}=0.80$. The simple average has variance $\dfrac{1+4}{4}=1.25$, worse than using $y_1$ alone.
Read this in the notes: Unit VI, Generalized & Weighted Least Squares
Show Answer
Answer: (D) 3.
With an intercept, a factor with $m$ categories needs $m-1$ dummies; the omitted category is the base. Including all 4 would make the dummies add up to the intercept column, exact multicollinearity (the dummy variable trap).
Read this in the notes: Unit VI, Indicator/Dummy Variables
Show Answer
Answer: (A) 13 and 3.5.
Putting $D=1$: $$\begin{aligned}\hat y &= (10+3)+(2+1.5)x \\[4pt] &= 13+3.5x\text{.}\end{aligned}$$ The coefficient of $D$ is the difference in intercepts and that of $Dx$ the difference in slopes between the groups.
Read this in the notes: Unit VI, Indicator/Dummy Variables
Show Answer
Answer: (A) Both (A) and (R) are true and (R) is the correct explanation of (A).
Each observation falls in exactly one category, so the dummies sum to 1 for every observation, which is the intercept column. The columns of $X$ are then linearly dependent and $X'X$ cannot be inverted. Both statements are true and (R) is the reason.
Read this in the notes: Unit VI, Indicator/Dummy Variables
Show Answer
Answer: (C) 10.
$VIF_j=\dfrac{1}{1-R_j^2}=\dfrac{1}{0.1}=10$: the variance of $\hat\beta_j$ is ten times what it would be if $x_j$ were uncorrelated with the other regressors. A value of 10 or more is the usual warning sign.
Read this in the notes: Unit VI, Multicollinearity
Show Answer
Answer: (B) I, II and IV only.
Multicollinearity violates none of the Gauss–Markov conditions, so least squares is still unbiased and best: (I) true, (III) false. But ‘best’ may still be poor: the variances are inflated, individual coefficients are imprecise and sensitive to small changes in the data, while the regression as a whole fits well: (II), (IV).
Read this in the notes: Unit VI, Multicollinearity
Show Answer
Answer: (D) 100.
$\sqrt{\dfrac{100}{0.01}}=\sqrt{10^4}=100$. A condition number above about 30 indicates serious multicollinearity. Ridge regression, $(X'X+kI)^{-1}X'y$, adds $k$ to every root and so trades a little bias for a large reduction in variance.
Read this in the notes: Unit VI, Multicollinearity
| List I | List II |
|---|---|
| (a) Goldfeld–Quandt | (i) Regression of $|e_i|$ on a function of an explanatory variable |
| (b) Breusch–Pagan | (ii) Ratio of the residual sums of squares of two sub-samples |
| (c) White | (iii) Lagrange multiplier test from regressing $e_i^2$ on chosen variables |
| (d) Glejser | (iv) Regression of $e_i^2$ on the regressors, their squares and cross-products |
Show Answer
Answer: (A) (a)-(ii), (b)-(iii), (c)-(iv), (d)-(i).
Goldfeld–Quandt orders the observations, omits the middle ones and compares the two residual sums of squares by $F$. Breusch–Pagan and White are $nR^2$ (chi-square) tests from auxiliary regressions of $e^2$; White's needs no assumption about the form. Glejser regresses $|e|$.
Read this in the notes: Unit VI, Heteroscedasticity
Show Answer
Answer: (C) 4 on (10, 10).
Each group has $\dfrac{30-6}{2}=12$ observations and $12-2=10$ residual degrees of freedom. $F=\dfrac{80/10}{20/10}=4$ on $(10,10)$ degrees of freedom, the larger variance being put in the numerator.
Read this in the notes: Unit VI, Heteroscedasticity
Show Answer
Answer: (B) $\dfrac{y_i}{x_i}$ on $\dfrac{1}{x_i}$, with an intercept.
Divide by the standard deviation, proportional to $x_i$: $\dfrac{y_i}{x_i}=\beta_0\dfrac{1}{x_i}+\beta_1+\dfrac{\varepsilon_i}{x_i}$, whose error has constant variance. Note the roles change: the intercept of the transformed regression estimates $\beta_1$. Option C is the transformation for variance proportional to $x_i$.
Read this in the notes: Unit VI, Heteroscedasticity
Show Answer
Answer: (D) 0.6.
$d\approx2(1-\hat\rho)=2(0.3)=0.6$. Values near 2 indicate no first-order autocorrelation, values near 0 strong positive and near 4 strong negative autocorrelation.
Read this in the notes: Unit VI, Autocorrelation & Durbin–Watson
Show Answer
Answer: (A) negative autocorrelation is present.
For $d\gt2$ compare $4-d=1.0$ with the bounds. Since $4-d\lt d_L$, i.e. $d\gt4-d_L=2.8$, the hypothesis of no autocorrelation is rejected in favour of negative autocorrelation. The test would be inconclusive for $2.6\lt d\lt2.8$.
Read this in the notes: Unit VI, Autocorrelation & Durbin–Watson
Show Answer
Answer: (C) I, II and III only.
(I) With a lagged dependent variable $d$ is biased towards 2; Durbin's $h$ test is used. (II) $d\approx2(1-\hat\rho)$ with $-1\le\hat\rho\le1$. (III) is a condition for the tabulated bounds. (IV) is false: $d=2$ corresponds to $\hat\rho=0$; perfect positive autocorrelation gives $d$ near 0.
Read this in the notes: Unit VI, Autocorrelation & Durbin–Watson
Show Answer
Answer: (B) 2.00.
For a stationary first-order autoregression $$\begin{aligned}V(u_t) &= \dfrac{\sigma_\varepsilon^2}{1-\rho^2} \\[4pt] &= \dfrac{1.28}{1-0.36} = 2.00\text{.}\end{aligned}$$ The Cochrane–Orcutt transformation $y_t-\rho y_{t-1}$ removes the autocorrelation.
Read this in the notes: Unit VI, Autocorrelation & Durbin–Watson
Show Answer
Answer: (D) 0.731.
The logit at $x=6$ is $-2+3=1$, so $\hat p=\dfrac{1}{1+e^{-1}}=0.731$. At $x=4$ the logit is 0 and $\hat p=0.5$; $0.269$ is the probability for a logit of $-1$.
Read this in the notes: Unit VI, Logistic Regression
Show Answer
Answer: (A) 2.0.
The odds ratio is $e^{\beta}=e^{0.693}=2.0$: the odds of the event are doubled when the variable is 1 compared with 0, other variables held fixed. The coefficient itself is the log odds ratio.
Read this in the notes: Unit VI, Logistic Regression
Show Answer
Answer: (C) I, II and IV only.
(I) and (IV): in the linear probability model $V(y\mid x)=p(1-p)$ varies with $x$, and nothing keeps $x'\beta$ in $[0,1]$. (II) The logit likelihood is maximised numerically (iteratively reweighted least squares). (III) is false: $\dfrac{\partial p}{\partial x}=\beta\,p(1-p)$, largest at $p=\tfrac12$ and small near 0 and 1.
Read this in the notes: Unit VI, Logistic Regression
Show Answer
Answer: (B) The restricted residual sum of squares is never smaller, and if the restrictions are true $\hat\beta_R$ is unbiased with variance no larger than that of $\hat\beta$.
Minimising over a smaller set cannot give a smaller minimum, so $SSE_R\ge SSE_U$. $$\begin{aligned}&\hat\beta_R \\[4pt] &\quad = \hat\beta-(X'X)^{-1}R'[R(X'X)^{-1}R']^{-1}(R\hat\beta-r)\text{;}\end{aligned}$$ if $R\beta=r$ it is unbiased and $V(\hat\beta)-V(\hat\beta_R)$ is non-negative definite. If the restrictions are false it is biased.
Read this in the notes: Unit VI, Restricted Regression Estimation
Show Answer
Answer: (D) 1.50.
$$\begin{aligned}\operatorname{plim}b &= \beta\,\dfrac{\sigma_{x^*}^2}{\sigma_{x^*}^2+\sigma_u^2} \\[4pt] &= 2\times\dfrac34 = 1.50\text{.}\end{aligned}$$ Measurement error in the regressor biases the slope towards zero (attenuation), and the bias does not disappear in large samples.
Read this in the notes: Unit VI, Stochastic Regressors & Errors-in-Variables (EIV)
Show Answer
Answer: (A) unbiased and consistent, but with a larger variance.
The measurement error in $y$ simply adds to the disturbance term. The regressors remain uncorrelated with the composite error, so least squares stays unbiased and consistent; only the error variance, and hence the standard errors, increase. It is error in the regressor that causes inconsistency.
Read this in the notes: Unit VI, Stochastic Regressors & Errors-in-Variables (EIV)
Show Answer
Answer: (C) 1.5.
$$\begin{aligned}&b_{IV} \\[4pt] &\quad = \dfrac{\operatorname{Cov}(z,y)}{\operatorname{Cov}(z,x)} \\[4pt] &\quad = \dfrac64 = 1.5\text{.}\end{aligned}$$ The least-squares estimate $\dfrac{10}{5}=2.0$ is inconsistent. A valid instrument must be correlated with $x$ (relevance) and uncorrelated with $\varepsilon$ (exogeneity).
Read this in the notes: Unit VI, Instrumental Variable (IV) Estimator
Show Answer
Answer: (B) over-identified.
Order condition: the number of exogenous variables excluded from the equation, $K-k=4-2=2$, must be at least the number of included endogenous variables less one, $m-1=1$. Since $2\gt1$ the equation is over-identified (provided the rank condition also holds).
Read this in the notes: Unit VI, Simultaneous Equations Model & Identification
Show Answer
Answer: (D) the supply equation is exactly identified and the demand equation is not identified.
The system has one exogenous variable, $Y$. Supply excludes $Y$: excluded $=1=m-1$, exactly identified. Demand excludes nothing: $0\lt1$, not identified. Shifts in income move the demand curve and so trace out the supply curve.
Read this in the notes: Unit VI, Simultaneous Equations Model & Identification
Show Answer
Answer: (A) ordinary least squares and two-stage least squares.
The $k$-class replaces the endogenous regressors $Y$ by $Y-k\hat V$, where $\hat V$ are the reduced-form residuals: $k=0$ leaves them unchanged (ordinary least squares) and $k=1$ uses the fitted values (two-stage least squares). Limited-information maximum likelihood is the member with $k$ equal to the smallest root of a determinantal equation; the estimator is consistent when $\operatorname{plim}k=1$.
Read this in the notes: Unit VI, 2SLS & k-class Estimator