Chapter 4 Exercises

Verbeek, A Guide to Modern Econometrics (5th ed.) §§4.1–4.11

Exercise list locked from printed pp. 136–138 (PDF pp. 148–150); solutions independent of any solution manual

How to use this file

  • Textbook: Marno Verbeek, A Guide to Modern Econometrics, Fifth Edition (John Wiley & Sons, 2017).
  • Range: Chapter 4 Exercises 4.1–4.4, locked from the chapter-end Exercises (printed pp. 136–138; PDF pp. 148–150; offset PDF ≈ printed + 12).
  • Principle: stems follow the textbook; solutions are independent. Numbers reported in the chapter illustrations were recomputed where the public data coincide with the book.
  • Companion notes: ch04-notes.qmd.
  • Empirical files: Exercise 4.1 uses the California SMSA file on the textbook site (named AIRQ in earlier editions). Exercise 4.2 uses the §4.8 ice-cream series (Hildreth and Lu, 1960). Exercise 4.4 uses forward2. This companion does not embed a software run; 4.2 was recomputed from the public Hildreth–Lu series that reproduces Table 4.9.

Exercise 4.1

注记Stem (abridged)

Heteroskedasticity — empirical. \(N=30\) California SMSAs in 1972: airq (air-quality index; lower is better), vala (value added, 1000 US$), rain (inches), coas (coast dummy), dens (population density), medi (average income per head). (a) OLS of airq on the others; interpret. (b) Test that income does not affect air quality; joint test that none of the variables matter. (c) Breusch–Pagan against all five regressors. (d) White test; comment on \(N\) and degrees of freedom. (e) Multiplicative heteroskedasticity in coas and medi: regress \(\log e_i^2\) on those two variables; test homoskedasticity. (f) EGLS from (e); compare with (a); redo (b). (g) Comment on \(R^2\) in (f).

提示Solution

Setup. The linear model is

\[ \mathrm{airq}_i = \beta_1 + \beta_2\mathrm{vala}_i + \beta_3\mathrm{rain}_i + \beta_4\mathrm{coas}_i + \beta_5\mathrm{dens}_i + \beta_6\mathrm{medi}_i + \varepsilon_i, \]

\(i=1,\ldots,30\), so \(K=6\) and residual degrees of freedom \(N-K=24\). The data file is the textbook-site SMSA extract (earlier editions: AIRQ). Numerical coefficients must be taken from that file; the objects below are the estimators, distributions, and decision rules the exercise is written to test.

(a) Estimate by OLS. Because lower airq is better air, a negative coefficient means the regressor is associated with cleaner air. Expected signs from a simple externals-plus-income story: vala and dens raise emissions (positive); rain washes pollutants (negative); coas captures coastal ventilation (negative); medi is ambiguous (richer areas may pollute more and demand more abatement). Interpret each coefficient as a ceteris paribus level shift in the index. Do not read the \(t\)-ratios until (c)–(d) have spoken to heteroskedasticity.

(b) Income exclusion: \(H_0:\beta_6=0\) vs two-sided alternative. Under (A1)–(A5) the statistic is \(t=\hat\beta_6/\mathrm{se}(\hat\beta_6)\) against \(t_{24}\) (5% two-sided critical value \(2.064\); asymptotic \(1.96\)). Joint irrelevance: \(H_0:\beta_2=\cdots=\beta_6=0\), i.e. \(R\beta=0\) with \(J=5\). The OLS \(F\) in (2.63) is \(F\sim F_{5,24}\) under the null (5% critical value \(2.62\)). Equivalently, \(F=[R^2/5]/[(1-R^2)/24]\). If the tests in (c)–(d) reject homoskedasticity, these conventional \(t\)/\(F\) numbers are not to be trusted; redo them with White standard errors or with the EGLS covariance in (f).

(c) Breusch–Pagan (§4.4.2). Alternative (4.37) with \(z_i\) the five explanatory variables (\(J=5\)). Auxiliary regression of the OLS squared residuals \(e_i^2\) on a constant and those five variables; \(\xi=NR^2=30\,R^2_{\mathrm{aux}}\stackrel{a}{\sim}\chi^2_5\). The 5% critical value is \(11.07\) (1% is \(15.09\)). Reject homoskedasticity if \(\xi\) exceeds the chosen critical value. This is an LM test: the original model is estimated only under the null.

(d) White test (§4.4.3). Auxiliary regression of \(e_i^2\) on a constant and all unique first moments, squares and cross-products of the five regressors. The non-constant count is

\[ P = 5 + 5 + \binom{5}{2} = 5+5+10 = 20. \]

The statistic is \(NR^2_{\mathrm{White}}\stackrel{a}{\sim}\chi^2_{20}\) (5% critical value \(31.41\)). The auxiliary regression has \(21\) parameters (20 plus intercept) and only \(N=30\) observations, so 9 residual degrees of freedom. With so little room left, the test has low power, the auxiliary \(R^2\) is easy to inflate, and the \(\chi^2_{20}\) approximation is poor. This is exactly the “extremely general / potentially serious shortcoming” warning on printed p. 110: White is the wrong default here; the multiplicative test in (e), with \(J=2\), is the more credible specification-oriented check.

(e) Multiplicative form (4.32) with \(z_i=(\mathrm{coas}_i,\mathrm{medi}_i)'\). Steps 1–3 of §4.3.5: save OLS residuals, regress

\[ \log e_i^2 = \delta_0 + \alpha_1\mathrm{coas}_i + \alpha_2\mathrm{medi}_i + v_i. \]

\(H_0:\alpha_1=\alpha_2=0\) is the \(F\) on those two slopes, approximately \(F_{2,27}\), or \(2F\stackrel{a}{\sim}\chi^2_2\) (5% critical values \(3.35\) and \(5.99\)). A non-zero \(E\{v_i\}\) contaminates only \(\delta_0\), which is not used in the weights.

(f) From (e), \(\hat h_i^2=\exp\{\hat\alpha_1\mathrm{coas}_i+\hat\alpha_2\mathrm{medi}_i\}\). Transform every variable, including the intercept, by \(1/\hat h_i\) and apply OLS to the transformed sample: that is \(\hat\beta^*\) in (4.24). Compare point estimates with (a); they should be close if the OLS specification is not badly wrong. Redo (b) with the EGLS covariance (4.25): the \(t\) on medi uses \(\mathrm{se}_*(\hat\beta_6^*)\), and the Wald/F on the five slopes uses \(\hat V\{\hat\beta^*\}\). EGLS is not BLUE; with \(N=30\) there is no guarantee it beats OLS. If the multiplicative \(F\) in (e) does not reject, there is little reason to prefer EGLS over OLS plus (if desired) White standard errors.

(g) The \(R^2\) printed for the transformed regression is the wrong object for a comparison with (a). The transformed model has no intercept, so software often reports the uncentred \(R^2\); the dependent variable is \(\mathrm{airq}_i/\hat h_i\), not \(\mathrm{airq}_i\). OLS maximises the original-scale \(R^2\) by construction, so EGLS cannot improve it. The comparable figure is (4.39), \(\mathrm{corr}^2\{\mathrm{airq}_i,x_i'\hat\beta^*\}\), which will be at most the OLS \(R^2\) (the labour-demand illustration on printed p. 114 is the template: EGLS \(R^2=0.990\) on the transformed scale versus \(0.8403\) on the original scale).

Exercise 4.2

注记Stem (abridged)

Autocorrelation — empirical. Take the §4.8 ice-cream data and model. Extend the specification by including lagged consumption (rather than lagged temperature). Test for first-order autocorrelation in the extended model.

提示Solution

Model. \(T=30\) four-weekly observations, March 1951–July 1953. The §4.8 baseline is \(\mathrm{cons}_t\) on a constant, price, income and temp. The extension requested here is

\[ \mathrm{cons}_t = \beta_1 + \beta_2\mathrm{price}_t + \beta_3\mathrm{income}_t + \beta_4\mathrm{temp}_t + \beta_5\mathrm{cons}_{t-1} + \varepsilon_t. \]

Estimation uses \(T^*=29\) observations. Because \(x_t\) contains a lagged dependent variable, assumption (A2) fails, the Durbin–Watson bounds do not apply, and the valid first-order test is Breusch–Godfrey: regress the OLS residual \(e_t\) on \(e_{t-1}\) and the original \(x_t\) (constant, price, income, temp, \(\mathrm{cons}_{t-1}\)), then form \(T^*R^2_{\mathrm{aux}}\) (or \((T^*-1)R^2\) if the first residual lag is dropped) and compare with \(\chi^2_1\).

Check on the public Hildreth–Lu series. The same 30 rows reproduce Table 4.9 exactly (constant \(0.197\), price \(-1.044\), income \(0.00331\), temp \(0.00345\), \(dw=1.0212\)), so the series is the textbook sample. On the extended model:

regressor estimate OLS s.e. \(t\)
constant \(0.029\) \(0.270\) \(0.11\)
price \(-0.708\) \(0.810\) \(-0.87\)
income \(0.00384\) \(0.00124\) \(3.10\)
temp \(0.00332\) \(0.00106\) \(3.15\)
\(\mathrm{cons}_{t-1}\) \(0.099\) \(0.298\) \(0.33\)

\(R^2=0.7645\) (\(T^*=29\)). Lagged consumption is insignificant: unlike lagged temperature in Table 4.11, it does not pick up the seasonal persistence.

Autocorrelation test. Naive \(dw=1.18\) would sit in a \(K=5\), \(T\approx 30\) inconclusive region, but that comparison is invalid. The residual AR(1) without \(x_t\) gives \(\hat\rho=0.38\) (\(t=1.89\)). The valid BG auxiliary includes \(x_t\):

  • missing lag filled with \(0\): \(T^*R^2=4.29\) (\(t\) on \(e_{t-1}\) is \(2.00\));
  • first observation dropped: \((T^*-1)R^2=4.47\).

Both exceed the 5% \(\chi^2_1\) critical value \(3.84\) and sit on the 5% normal critical value \(1.96\). First-order autocorrelation is still present. Adding \(y_{t-1}\) did not play the role that \(\mathrm{temp}_{t-1}\) played in Table 4.11, and it did not license a Cochrane–Orcutt “fix”: the natural reading is that the dynamic/seasonal misspecification is about temperature, not about lagged consumption. If one nevertheless wanted an AR(1) EGLS, it would be inconsistent here because \(\mathrm{cons}_{t-1}\) is correlated with \(\varepsilon_{t-1}\) (the §5.2.1 case flagged in §4.10.1).

Exercise 4.3

注记Stem (abridged)

Autocorrelation — theory. (a) Inconclusive region of the Durbin–Watson test. (b) Autocorrelation from an incorrect functional form. (c) Autocorrelation from an omitted variable. (d) Why adding lagged \(y\) and lagged \(x\) eliminates AR(1); two reasons this is not necessarily preferred. (e) Overlapping-samples problem. (f) Example where AR(1) makes OLS inconsistent. (g) When to use Newey–West standard errors. (h) Steps for feasible GLS under \(\varepsilon_t=\rho_1\varepsilon_{t-1}+\rho_2\varepsilon_{t-2}+v_t\) (initial observations may be ignored).

提示Solution

(a) Even under \(H_0:\rho=0\), the exact distribution of \(dw\) depends on the realised \(x_t\), so a single critical value cannot be tabulated. Durbin–Watson supply bounds \(d_L<d_{\mathrm{crit}}<d_U\) that depend only on \(T\) and \(K\). For a one-sided test against \(\rho>0\): reject if \(dw<d_L\); do not reject if \(dw>d_U\); if \(d_L\le dw\le d_U\) the statistic may lie either side of \(d_{\mathrm{crit}}\), so neither rejection nor acceptance is licensed. That interval is the inconclusive region. It shrinks as \(T\) grows. (The body text on printed p. 121 once writes “inclusive region”; the surrounding paragraphs use “inconclusive region”.)

(b) If the conditional mean is nonlinear in a trending or slowly moving \(x_t\) but a linear regression is fitted, residuals of the same sign cluster in time. Figure 4.5 is the textbook picture: the truth is \(y_t=0.5\log t+\varepsilon_t\), the fitted model is linear in \(t\), and \(dw=0.193\). The serial pattern is misspecification, not a primitive AR(1) in an otherwise correct equation.

(c) \(\varepsilon_t\) collects every omitted influence. If an omitted variable is persistent (weather in monthly ice-cream demand; the business cycle in a macro residual), consecutive residuals inherit that persistence and tests report autocorrelation. Including the omitted variable (or a proxy that captures the same low-frequency movement) is the remedy; EGLS on the short regression is not.

(d) Start from the static model with AR(1) errors, (4.58). The dynamic conditional expectation is (4.59), which rearranges as

\[ y_t = x_t'\beta + \rho y_{t-1} - \rho x_{t-1}'\beta + v_t, \tag{4.60} \]

with \(v_t\) serially uncorrelated. Adding \(y_{t-1}\) and \(x_{t-1}\) with the common-factor restriction \(-\rho\beta\) therefore absorbs the AR(1). Two reasons this is not automatically preferred: (i) it answers \(E\{y_t\mid x_t,x_{t-1},y_{t-1}\}\), which may not be the conditional expectation of interest (last year’s wage predicts this year’s wage without answering the structural question); (ii) Durbin–Watson is invalid once a lagged dependent variable is present, and if the common-factor restriction is not imposed the extra lags cost precision relative to the static model plus a well-specified \(\Psi\). A third, related, warning: if the original static equation is the object of interest, moving to (4.60) changes the question rather than “fixing” the estimator.

(e) The sampling frequency is finer than the span over which the dependent variable (or the contract) is defined. Example: monthly observations on a three-month forward. An innovation at \(t\) enters the three-month forecast error at \(t\), \(t+1\) and \(t+2\), so \(\varepsilon_t\) is MA(2) even when there is no risk premium. OLS remains consistent; conventional standard errors and a BG test that includes lags 1–2 do not; GLS is typically inconsistent because the regressor is correlated with lagged errors (§4.11.3).

(f) A regression that includes \(y_{t-1}\) (or any regressor correlated with \(\varepsilon_{t-1}\)) together with AR(1) errors. Then \(\mathrm{Cov}(y_{t-1},\varepsilon_t)=\rho\mathrm{Cov}(y_{t-1},\varepsilon_{t-1})\neq 0\), so \(E\{x_t\varepsilon_t\}\neq 0\) and OLS is inconsistent. This is the case deferred to Subsection 5.2.1. (Autocorrelation alone, with (A10) intact, does not make OLS inconsistent.)

(g) Use Newey–West / HAC standard errors when the model of interest is still \(E\{y_t\mid x_t\}\) (so you want to keep OLS), but \(\varepsilon_t\) is serially correlated — especially when the correlation dies after a known lag \(H\) (MA errors, overlapping samples) or when the conditions for consistency of GLS fail. They also cover heteroskedasticity. They are not a substitute for respecifying a model whose autocorrelation is a misspecification symptom.

(h) Feasible GLS for AR(2), ignoring initial observations, mirrors §4.6.2:

  1. Estimate \(y_t=x_t'\beta+\varepsilon_t\) by OLS; save residuals \(e_t\).

  2. Estimate \(\varepsilon_t=\rho_1\varepsilon_{t-1}+\rho_2\varepsilon_{t-2}+v_t\) by OLS of \(e_t\) on \(e_{t-1}\) and \(e_{t-2}\); obtain \((\hat\rho_1,\hat\rho_2)\).

  3. Transform, for \(t=3,\ldots,T\),

    \[ y_t - \hat\rho_1 y_{t-1} - \hat\rho_2 y_{t-2} = (x_t - \hat\rho_1 x_{t-1} - \hat\rho_2 x_{t-2})'\beta + \hat v_t. \]

    Transform the intercept as well.

  4. OLS on the transformed sample is the two-step EGLS estimator \(\hat\beta^*\).

  5. Optionally iterate: recompute residuals from \(\hat\beta^*\) in the original equation, re-estimate \((\rho_1,\rho_2)\), re-transform, until \((\hat\rho_1,\hat\rho_2,\hat\beta^*)\) converge.

Asymptotically the iteration does not matter provided \((\hat\rho_1,\hat\rho_2)\) are consistent; in small samples iteration often helps a little. Standard errors come from the transformed regression (the analogue of (4.10)). If \(x_t\) includes lagged \(y\), this EGLS is not consistent — that is (f) again.

Exercise 4.4

注记Stem (abridged)

Overlapping samples — empirical. The data set forward2 also contains pound-sterling / euro rates, January 1979–December 2001 (pre-euro rates from the German mark). (a) Graph \(£/€\). (b) 1-month and 3-month forward discounts; graph. (c) Test a 1-month risk premium via (4.70) with the lagged forward discount. (d) Breusch–Godfrey at several lag lengths; why is Durbin–Watson invalid? (e) 3-month premium via (4.72) with the 3-month discount lagged three months. (f) BG up to 2 lags and up to 12 lags. (g) Autocorrelation at lags 3 to 12. (h) HAC standard errors for the 3-month regression. (i) Interpret and compare with §4.11.

提示Solution

Data. Monthly, January 1979–December 2001, file forward2. Construct \(s_t=\log S_t\) and \(f_t\), \(f_t^3\) from the 1-month and 3-month forward rates (same quoting convention as §4.11: home per foreign). Pre-euro euro rates are German-mark rates converted at the official locking rate, as in the US$/€ series of the chapter.

(a)–(b) Plot \(S_t\) and the discounts \(s_t-f_t\), \(s_t-f_t^3\). The §4.11 US$ graphs are the template: a discount smaller than about 1% in absolute value, with CIP reading the sign as the interest differential.

(c) One-month regression (4.70) with \(x_{t-1}=(1,s_{t-1}-f_{t-1})'\):

\[ s_t-f_{t-1} = \beta_0 + \beta_1(s_{t-1}-f_{t-1}) + \varepsilon_t. \]

\(H_0\) of no risk premium is \(\beta_0=\beta_1=0\) (and no autocorrelation). Report OLS coefficients, a joint \(F\)/Wald, and — because the hypothesis does not restrict \(V\{\varepsilon_t\}\) — White standard errors as a robustness check. Compare the \(F\) with Table 4.12 (US$/£ rejected; US$/€ not).

(d) Durbin–Watson is invalid because \(s_{t-1}-f_{t-1}\) behaves as a lagged dependent variable: it is correlated with \(\varepsilon_{t-1}\). Use Breusch–Godfrey: regress \(e_t\) on \(e_{t-1},\ldots,e_{t-p}\), the constant and \(s_{t-1}-f_{t-1}\), and form \(TR^2\stackrel{a}{\sim}\chi^2_p\). Report at least \(p=1\) and \(p=12\) (as in §4.11.2, where BG(1)\(=0.22\) and BG(12)\(=10.26\) for sterling did not reject). Under \(H_0\) the 1-month errors should be uncorrelated at all lags; a rejection here is evidence of a premium, not of overlapping sampling.

(e) Three-month regression (4.72) with \(x_{t-3}=(1,s_{t-3}-f_{t-3}^3)'\). Sampling is still monthly, so this is the overlapping-sample design of §4.11.3.

(f) BG(2) and BG(12) on (e) will almost certainly be huge if the sterling/euro market behaves like the two dollar markets in the chapter (BG(1)\(\approx 120\), BG(12)\(\approx 174\)). That is not evidence of a premium. Under no premium the monthly 3-month forecast error is (at least) MA(2): \(\varepsilon_t\) is correlated with \(\varepsilon_{t-1}\) and \(\varepsilon_{t-2}\) by construction.

(g) Test lags 3 through 12 only (auxiliary regression of \(e_t\) on \(e_{t-3},\ldots,e_{t-12}\) and \(x_{t-3}\)). This is the test that is informative about a premium: (4.73) implies \(\mathrm{Cov}(\varepsilon_t,\varepsilon_{t-j})=0\) for \(j\ge 3\). In §4.11.3 the analogous statistics were \(7.85\) and \(9.04\), both insignificant against \(\chi^2_{10}\).

(h) Keep the OLS point estimates from (e) and replace the covariance matrix by Newey–West (4.62)–(4.63) with \(H=3\) (Bartlett weights \(w_j=1-j/H\)). Do not apply GLS/EGLS: \(s_{t-3}-f_{t-3}^3\) is correlated with lagged errors, so the quasi-differenced regressors fail the conditions that make OLS on the transformed data consistent.

(i) Read the results on the same template as printed pp. 135–136. (1) OLS in (c) and (e) remains consistent. (2) A 1-month rejection of \(\beta=0\) with no BG autocorrelation, as for US$/£, is genuine evidence of a premium. (3) A 3-month rejection that is driven by BG(1)–BG(2) is not; look at (g) and at the HAC \(t\)/\(F\) from (h). (4) GLS is the wrong “efficiency” response. Compare signs and magnitudes with the US$/£ HAC estimates \(0.014\) \([0.005]\) and \(3.135\) \([0.663]\) versus the US$/€ pair, which showed no premium.