Chapter 7 Exercises
Verbeek, A Guide to Modern Econometrics (5th ed.) §§7.1–7.8
How to use this file
- Textbook: Marno Verbeek, A Guide to Modern Econometrics, Fifth Edition (John Wiley & Sons, 2017).
- Range: Chapter 7 Exercises 7.1–7.4 (the locked list; there are no 7.5+).
- Pages: printed pp. 285–287; PDF pp. 297–299 (offset PDF ≈ printed + 12). Chapter 8 begins on printed p. 288.
- Principle: stems follow the textbook; solutions are independent. Numerical answers given in the text are recomputed. Exercise 7.3 is empirical: the Belgian household-budget extract used in §§7.4.3 and 7.5.4 is not in this workspace, so (a),(d),(e) are locked from Table 7.9 and the tobit first-order conditions, while (b),(c),(f)–(h) state the exact estimators and tests a reader would run on that extract.
- Companion notes:
ch07-notes.qmd.
Exercise 7.1
\(N=600\) married females; \(y_i=1\) if \(i\) has a paid job. (a) Two reasons OLS of \(y_i=x_i'\beta+\varepsilon_i\) is inappropriate. Then a probit: (b) explain it; (c) loglikelihood; (d) interpret a positive education coefficient; (e) predict \(y_i\) if \(x_i'\beta=2\); (f) logit vs probit. Then \(y_i\in\{0,1,2\}\) (not / part-time / full-time): (g) is a linear model appropriate? (h) which alternative uses the ordered information? (i) interpret a positive education coefficient there; (j) is pooling \(y=1\) and \(y=2\) into a binary model appropriate?
(a) Two distinct failures of the linear probability model, from §7.1.1.
- Under \(E\{\varepsilon_i\mid x_i\}=0\) one has \(E\{y_i\mid x_i\}=P\{y_i=1\mid x_i\}=x_i'\beta\), so fitted values must lie in \([0,1]\). That requires bounded \(x\) and extra restrictions on \(\beta\), which are not available in ordinary OLS.
- \(y_i\in\{0,1\}\) implies a two-point error: \(P\{\varepsilon_i=-x_i'\beta\mid x_i\}=1-x_i'\beta\) and \(P\{\varepsilon_i=1-x_i'\beta\mid x_i\}=x_i'\beta\). Hence \(\varepsilon_i\) is non-normal and heteroskedastic, with \[ V\{\varepsilon_i\mid x_i\}=x_i'\beta\,(1-x_i'\beta), \] which also depends on the unknown \(\beta\) (equation (7.3)).
(b) A probit model specifies \(P\{y_i=1\mid x_i\}=\Phi(x_i'\beta)\) with \(\Phi\) the standard normal cdf, equivalently the latent model \[ y_i^*=x_i'\beta+\varepsilon_i,\quad\varepsilon_i\sim\mathrm{NID}(0,1),\qquad y_i=1\{y_i^*>0\} \] ((7.5) and (7.10)). The unit-variance normalisation is required because the scale of \(y_i^*\) is not identified from a binary \(y_i\).
(c) With independent observations, \[ \log L(\beta)=\sum_{i=1}^{600}\Bigl[y_i\log\Phi(x_i'\beta)+(1-y_i)\log\bigl(1-\Phi(x_i'\beta)\bigr)\Bigr] \] ((7.12) with \(F=\Phi\)).
(d) \(\beta_{\mathrm{educ}}>0\) raises \(y_i^*\) and therefore raises \(P\{y_i=1\mid x_i\}\). The ceteris-paribus change in the participation probability for a continuous education measure is \(\phi(x_i'\beta)\beta_{\mathrm{educ}}>0\), which depends on \(x_i\). The sign matches \(\beta_{\mathrm{educ}}\); the magnitude is not \(\beta_{\mathrm{educ}}\) itself.
(e) \(\Phi(2)\approx 0.977>1/2\). For a symmetric \(F\) with \(F(0)=1/2\), the 0–1 prediction rule (7.20) is \(\hat y_i=1\{x_i'\hat\beta>0\}\). Here \(x_i'\beta=2>0\), so predict \(y_i=1\) (in paid work). Equivalently, the implied probability is far above one half.
(f) Logit replaces \(\Phi\) by the logistic cdf \(L(w)=e^w/(1+e^w)\). A standard logistic has variance \(\pi^2/3\) rather than 1, so logit coefficients are typically about \(\pi/\sqrt{3}\approx 1.81\) times the probit ones. After that rescaling the two cdfs are close; the logistic has slightly heavier tails. Empirical signs, significance, and average marginal effects are usually similar (§7.1.2).
(g) No. The outcome is still discrete (now three ordered values). A linear model treats 0, 1 and 2 as cardinal with equal spacing, does not constrain fitted values to the support, and again produces a discrete, heteroskedastic error. The natural object is a set of probabilities that add to one, not \(E\{y_i\mid x_i\}=x_i'\beta\).
(h) An ordered probit (or ordered logit): one latent index \(y_i^*=x_i'\beta+\varepsilon_i\) with two thresholds, as in (7.30)–(7.31), so that \(y_i=1,2,3\) (not / part-time / full-time) correspond to adjacent intervals of \(y_i^*\).
(i) \(\beta_{\mathrm{educ}}>0\) raises “willingness to work”. Therefore \(P\{y_i=\text{full-time}\}\) rises and \(P\{y_i=\text{not working}\}\) falls. The effect on the middle cell \(P\{\text{part-time}\}\) is ambiguous (§7.2.1).
(j) Pooling \(y_i=1\) and \(y_i=2\) yields a binary participation model, which is internally consistent if the only object of interest is work versus non-work. It is not appropriate as a substitute for the ordered model: it discards the part-time / full-time cut, and if a single-index ordered model is correct the binary estimator is inefficient. It is also a different parameter (the first cut only). Use the ordered model when the three-way outcome is the target.
Exercise 7.2
Tobit for savings in risky assets: \(y_i^*=\beta_1+\beta_2 x_{i2}+\beta_3 x_{i3}+\varepsilon_i\), \(\varepsilon_i\sim\mathrm{NID}(0,\sigma^2)\), \(y_i=\max\{y_i^*,0\}\). Binary \(d_i=1\{y_i^*>0\}\). (a) \(P\{d_i=1\}\); (b) show this is a probit in \(\gamma_k=\beta_k/\sigma\); (c) probit loglikelihood and ML properties; (d) asymptotic covariance; (e) FOC for \(\gamma_1\) and the generalised residual; (f) LM test that gender does not affect \(P\{d_i=1\}\); (g) why \(\sigma^2\) is not identified from \((d_i,x_i)\) only; (h) tobit loglikelihood; (i) LR test that age does not affect the amount; (j) why the tobit version of that test is preferred.
Write \(x_i=(1,x_{i2},x_{i3})'\) and \(\beta=(\beta_1,\beta_2,\beta_3)'\), so \(y_i^*=x_i'\beta+\varepsilon_i\).
(a) \[ P\{d_i=1\mid x_i\} =P\{y_i^*>0\mid x_i\} =P\{\varepsilon_i>-x_i'\beta\} =\Phi(x_i'\beta/\sigma), \] using \(\varepsilon_i/\sigma\sim N(0,1)\) and symmetry of \(\Phi\).
(b) Set \(\gamma=(\gamma_1,\gamma_2,\gamma_3)'\) with \(\gamma_k=\beta_k/\sigma\). Then \(P\{d_i=1\mid x_i\}=\Phi(x_i'\gamma)\), which is exactly the probit model (7.10) for \(d_i\).
(c) \[ \log L(\gamma)=\sum_{i=1}^N\Bigl[d_i\log\Phi(x_i'\gamma)+(1-d_i)\log\bigl(1-\Phi(x_i'\gamma)\bigr)\Bigr]. \] If the probit is correctly specified (independent observations, \(x_i\) exogenous, \(\varepsilon_i\) standard normal), the ML estimator \(\hat\gamma\) is consistent, asymptotically efficient in the class of regular estimators of this parametric model, and asymptotically normal, with variance equal to the inverse Fisher information.
(d) The information matrix for a correctly specified probit is \[ I(\gamma)=E\left\{\frac{\phi(x_i'\gamma)^2}{\Phi(x_i'\gamma)\bigl(1-\Phi(x_i'\gamma)\bigr)}\,x_i x_i'\right\}, \] so \(\sqrt{N}(\hat\gamma-\gamma)\to N\bigl(0,I(\gamma)^{-1}\bigr)\). In an application estimate \(I\) by the sample analogue (or by minus the Hessian, or the OPG), evaluated at \(\hat\gamma\). If one doubts the likelihood, a sandwich form is available, but then \(\hat\gamma\) itself need not be consistent (§7.1.7).
(e) Differentiating with respect to the intercept \(\gamma_1\) gives \[ \frac{\partial\log L}{\partial\gamma_1} =\sum_{i=1}^N \varepsilon_i^G(\gamma)=0, \] where the generalised residual is the scalar in (7.13), \[ \varepsilon_i^G(\gamma) =\frac{d_i-\Phi(x_i'\gamma)}{\Phi(x_i'\gamma)\bigl(1-\Phi(x_i'\gamma)\bigr)}\,\phi(x_i'\gamma) = \begin{cases} \phi(x_i'\gamma)/\Phi(x_i'\gamma) & \text{if }d_i=1,\\ -\phi(x_i'\gamma)/\bigl(1-\Phi(x_i'\gamma)\bigr) & \text{if }d_i=0. \end{cases} \] The intercept FOC forces the sample mean of \(\hat\varepsilon_i^G\) to be zero.
(f) Let \(z_i\) be a female/male dummy, not already in \(x_i\). The hypothesis is \(H_0\): the coefficient on \(z_i\) in the probit index is zero (gender does not shift \(P\{d_i=1\mid x_i\}\)). This is an LM / score test of one omitted variable, §7.1.7. Compute \(\hat\varepsilon_i^G\) from the restricted probit (no gender). Auxiliary regression: a vector of ones on \(\hat\varepsilon_i^G x_i'\) and \(\hat\varepsilon_i^G z_i\). The statistic is \(N\) times the uncentred \(R^2\), asymptotically \(\chi^2_1\) under \(H_0\). Reject at 5% if it exceeds 3.84.
(g) From (a), \((d_i,x_i)\) identify only \(\beta/\sigma\). Multiplying \((\beta,\sigma)\) by any positive constant leaves \(P\{d_i=1\}\) unchanged. Binary data have no scale, so \(\sigma^2\) is not identified (the usual probit normalisation \(\sigma=1\)).
(h) Using the observed amount \(y_i\) (tobit I, (7.68)), with \(I_0=\{i:y_i=0\}\) and \(I_1=\{i:y_i>0\}\), \[ \begin{aligned} \log L(\beta,\sigma^2) &=\sum_{i\in I_0}\log\Bigl(1-\Phi(x_i'\beta/\sigma)\Bigr)\\ &\quad+\sum_{i\in I_1}\log\left\{\frac{1}{\sqrt{2\pi\sigma^2}}\exp\Bigl(-\frac{(y_i-x_i'\beta)^2}{2\sigma^2}\Bigr)\right\}. \end{aligned} \] The positive observations identify \(\sigma^2\) as well as \(\beta\).
(i) \(H_0:\beta_2=0\) (age does not enter \(y_i^*\), hence does not affect either the probability of a positive amount or the amount given that it is positive — the tobit I restriction). Estimate the unrestricted tobit and the restricted tobit that drops \(x_{i2}\). The likelihood-ratio statistic \[ \mathrm{LR}=2\bigl(\log L_{\mathrm{U}}-\log L_{\mathrm{R}}\bigr) \] is asymptotically \(\chi^2_1\) under \(H_0\). Reject at 5% if \(\mathrm{LR}>3.84\).
(j) The same null \(\beta_2=0\) can be tested from the probit for \(d_i\) (as \(\gamma_2=0\)). The tobit test is preferred because it uses the value of \(y_i\) when \(y_i>0\), not only its sign. That extra information makes the tobit ML estimator of \(\beta_2\) more efficient, so the LR (or Wald, or LM) test based on the tobit has higher local power. The probit also answers a slightly coarser question (whether age shifts the probability of holding risky assets), whereas (i) is about the amount equation of the tobit.
Exercise 7.3
Belgian HBS data of §§7.4.3 and 7.5.4; quadratic AIDS Engel curve \(w_{ji}=\alpha_{ji}+\beta_{ji}\log x_i+\gamma_{ji}\log^2 x_i+\varepsilon_{ji}\) for alcohol. (a) Re-estimate the standard tobit of §7.4.3 (model A). (b) Add \(\log^2 x\) and estimate by ML. (c) Wald and LR tests of the quadratic term. (d)–(e) First- and second-order generalised residuals of model A; check mean zero. (f) LM test in A that \(\log^2 x\) is irrelevant. (g) LM test for heteroskedasticity in age and number of adults. (h) Normality test in A.
Data and estimator. Cross-section of \(N=2724\) Belgian households (NIS budget survey 1995–96), used in Tables 7.9–7.12. The alcohol budget share \(w\) is left-censored at 0 (17% zeros). Model A is the tobit I of Table 7.9: intercept, age class, nadults, nkids≥2, nkids<2, \(\log x\), \(\mathrm{age}\times\log x\), \(\mathrm{nadults}\times\log x\), with \(\varepsilon\sim\mathrm{NID}(0,\sigma^2)\). Estimation is maximum likelihood of (7.68). The extract is not stored in this companion workspace; numerical ML for (b) and the test statistics in (c),(f)–(h) must be computed from the textbook data file. What can be locked without re-running the optimiser is recorded below.
(a) Model A must reproduce Table 7.9, alcoholic beverages (printed p. 253 / PDF p. 265):
| Variable | Estimate | Standard error |
|---|---|---|
| constant | −0.1592 | (0.0438) |
| age class | 0.0135 | (0.0109) |
| nadults | 0.0292 | (0.0169) |
| nkids ≥ 2 | −0.0026 | (0.0006) |
| nkids < 2 | −0.0039 | (0.0024) |
| \(\log(x)\) | 0.0127 | (0.0032) |
| age × \(\log(x)\) | −0.0008 | (0.0088) |
| nadults × \(\log(x)\) | −0.0022 | (0.0012) |
| \(\hat\sigma\) | 0.0244 | (0.0004) |
| loglikelihood | 4755.371 | |
| Wald (\(\chi^2_7\)) | 117.86 | (\(p=0.000\)) |
Numerical ML for tobit can differ slightly across packages and starting values (§1.3); a match to this order of magnitude, with the same signs and the same loglikelihood to about two decimals, is the check.
(b) Extend the index by \(\gamma\log^2 x_i\) and maximise (7.68) jointly in \((\beta,\gamma,\sigma^2)\). Call this model B. The quadratic term is what Banks, Blundell and Lewbel (1997) add so that a good can be a luxury at low total expenditure and a necessity at high expenditure: the Engel elasticity (7.72) becomes \(1+(\beta+2\gamma\log x)/w\).
(c) \(H_0:\gamma=0\).
- Wald: from model B, \(W=(\hat\gamma/\mathrm{se}(\hat\gamma))^2\), or the equivalent quadratic form if software reports a variance for \(\hat\gamma\). Under \(H_0\), \(W\to\chi^2_1\). Reject at 5% if \(W>3.84\).
- Likelihood ratio: \(\mathrm{LR}=2(\log L_B-\log L_A)\), also \(\chi^2_1\). Model A’s \(\log L_A=4755.371\) is the restricted value; \(\log L_B\) comes from (b). Because tobit A is nested in B by one restriction, LR and Wald (and the LM of (f)) are asymptotically equivalent.
(d) The tobit generalised residual is (7.73): \[ \hat\varepsilon_i^G = \begin{cases} \hat\varepsilon_i/\hat\sigma=(w_i-x_i'\hat\beta)/\hat\sigma & \text{if }w_i>0,\\ -\phi(x_i'\hat\beta/\hat\sigma)/\bigl(1-\Phi(x_i'\hat\beta/\hat\sigma)\bigr) & \text{if }w_i=0. \end{cases} \] Model A contains an intercept, so the FOC \(\sum_i\hat\varepsilon_i^G=0\) holds at the ML estimate. The sample mean of \(\hat\varepsilon_i^G\) is therefore exactly (up to optimiser tolerance) zero. That is the check; it is not an extra diagnostic.
(e) The second-order generalised residual is (7.74): \[ \hat\varepsilon_i^{G(2)} = \begin{cases} \hat\varepsilon_i^2/\hat\sigma^2-1 & \text{if }w_i>0,\\ (x_i'\hat\beta/\hat\sigma)\,\phi(\cdot)/\bigl(1-\Phi(\cdot)\bigr) & \text{if }w_i=0. \end{cases} \] The FOC for \(\sigma^2\) is \(\sum_i\hat\varepsilon_i^{G(2)}=0\), so the sample mean is again zero at ML (the book’s “check that is has mean zero too”). Same remark as (d): this confirms that the ML FOCs were solved, not that the model is well specified.
(f) LM test of \(H_0:\gamma=0\) without estimating model B. Let \(z_i=\log^2 x_i\). Auxiliary regression of a vector of ones on the \(K+1+1\) regressors \(\hat\varepsilon_i^G x_i'\), \(\hat\varepsilon_i^{G(2)}\), and \(\hat\varepsilon_i^G z_i\), using model A’s residuals. Statistic: \(N R_u^2\) (uncentred), \(N=2724\), asymptotically \(\chi^2_1\). This is the omitted-variable LM of §7.4.4; the second-order residual is required because the tobit information matrix is not block-diagonal in \((\beta,\sigma^2)\).
(g) Heteroskedasticity alternative (7.75): \(V\{\varepsilon_i\}=\sigma^2 h(z_i'\alpha)\) with \(z_i=(\mathrm{age}_i,\mathrm{nadults}_i)'\) (no intercept in \(z\)). \(H_0:\alpha=0\) (\(J=2\)). Auxiliary regression of ones on \(\hat\varepsilon_i^G x_i'\), \(\hat\varepsilon_i^{G(2)}\), and \(\hat\varepsilon_i^{G(2)} z_i'\). Statistic \(N R_u^2\sim\chi^2_2\) (5% critical value 5.99). The form of \(h\) does not enter.
(h) Conditional-moment / LM normality test of §7.4.4: construct \(\hat\varepsilon_i^{G(3)}\) and \(\hat\varepsilon_i^{G(4)}\) from (7.78)–(7.79). Auxiliary regression of ones on \(\hat\varepsilon_i^G x_i'\), \(\hat\varepsilon_i^{G(2)}\), \(\hat\varepsilon_i^{G(3)}\), \(\hat\varepsilon_i^{G(4)}\). Statistic \(N R_u^2\sim\chi^2_2\). The two extra directions are skewness and excess kurtosis.
Parts (b), (c) and (f)–(h) yield numbers only after running these ML / auxiliary regressions on the textbook extract. The procedures and the model-A lock in (a),(d),(e) are the checkable content of the exercise as set.
Exercise 7.4
Entry exam, \(N=500\). Scores below 100 are recorded only as “rejected”; scores \(\ge 100\) are recorded as numbers. Model: \(y_i^*=\beta_0+x_i'\beta_1+\varepsilon_i\), \(\varepsilon_i\sim\mathrm{NID}(0,\sigma^2)\), \(y_i=y_i^*\) if \(y_i^*\ge 100\) and “rejected” if \(y_i^*<100\). (a) Write as tobit I. (b) Why OLS on the observed scores \(y_i\ge 100\) fails. (c) Consistent estimation using only observed scores. (d) Estimation using all observations, and why it is preferable. (e) Is a tobit II (sample-selection) model adequate here?
(a) Shift the latent variable and the threshold together. Define \(\tilde y_i^*=y_i^*-100\) and \(\tilde y_i=y_i-100\) when \(y_i\) is observed. Then \[ \tilde y_i^*=(\beta_0-100)+x_i'\beta_1+\varepsilon_i,\qquad \tilde y_i=\tilde y_i^*\ \text{if }\tilde y_i^*>0,\qquad \tilde y_i=0\ \text{if }\tilde y_i^*\le 0, \] with \(\varepsilon_i\sim\mathrm{NID}(0,\sigma^2)\) independent of \(x_i\). This is exactly the standard tobit I of (7.60), left-censored at zero after the translation. Equivalently, the original scale is a tobit I left-censored at 100 rather than at 0. The mapping from \(y^*\) to the observed record is the same latent variable, not a separate selection index.
(b) Restricting the sample to \(y_i\ge 100\) produces a truncated (not merely censored) regression. From (7.62) with threshold 100, \[ E\{y_i\mid y_i\ge 100,x_i\} =\beta_0+x_i'\beta_1+\sigma\,\frac{\phi(a_i)}{1-\Phi(a_i)}, \qquad a_i=\frac{100-\beta_0-x_i'\beta_1}{\sigma}. \] The Mills term depends on \(x_i\) through \(a_i\). A linear OLS of \(y_i\) on \((1,x_i)\) in this subsample therefore estimates neither \(\beta_1\) nor a constant shift of \(\beta_1\): the omitted nonlinear function of \(x_i\) is correlated with \(x_i\). The OLS estimator is biased and inconsistent for \(\beta_1\). (It is also not unbiased in finite samples; truncation destroys \(E\{\varepsilon_i\mid x_i,y_i\ge 100\}=0\).)
(c) Use the truncated regression ML of §7.4.2 on the observed scores only. The likelihood contribution of an observed \(y_i\ge 100\) is the density of \(y_i^*\) conditional on \(y_i^*\ge 100\): \[ \log L_2(\beta_0,\beta_1,\sigma^2) =\sum_{i:y_i\ge 100}\Bigl[\log f(y_i\mid x_i)-\log P\{y_i^*\ge 100\mid x_i\}\Bigr], \] i.e. (7.70)–(7.71) with \(\Phi(x'\beta/\sigma)\) replaced by \(P\{y^*\ge 100\}=1-\Phi(a_i)=\Phi(-a_i)\). One does not need the \(x\) values of the rejected candidates for this estimator, but one does need the normality-plus-truncation-at-100 assumption. Under those assumptions \(\hat\beta\) and \(\hat\sigma^2\) are consistent.
(d) Use the censored (tobit I) ML on all 500 observations. Rejected students contribute \(\log P\{y_i^*<100\mid x_i\}=\log\Phi(a_i)\); recorded scores contribute the unrestricted normal log-density. This is (7.67)–(7.68) with threshold 100. It is preferable to (c) because it uses the additional information that the rejected applicants’ \(x_i\) produced \(y_i^*<100\). As the text notes (printed p. 250), the tobit loglikelihood is the sum of the truncated-regression loglikelihood and the probit loglikelihood for the pass/fail indicator, so the tobit estimator is (weakly) more efficient. It does require observing \(x_i\) for the rejected group, which the dean has.
(e) A tobit II / sample-selection model would be \[ y_i^*=x_{1i}'\beta_1+\varepsilon_{1i},\qquad h_i^*=x_{2i}'\beta_2+\varepsilon_{2i}, \] with \(y_i\) observed iff \(h_i^*>0\) and \((\varepsilon_1,\varepsilon_2)\) bivariate normal ((7.86)–(7.90)). That structure is for a separate selection mechanism (reservation wage, bank’s loan grant, abstention from smoking, …). Here the observation rule is \(y_i^*\ge 100\): selection is the outcome crossing a known threshold. There is no second latent equation to identify, no natural exclusion restriction, and imposing tobit II would at best collapse to tobit I (when \(h_i^*\) is an affine transform of \(y_i^*\)) and at worst invent a spurious selection correction. Tobit II is not adequate for the dean’s problem; tobit I (or the truncated ML of (c) if rejected \(x_i\) were missing) is.