17.6 Practice Problems
Problem 17.6.1. A logit model of the probability of owning a car has estimated index \(-2 + 0.5x\), where \(x\) is income in thousands of dollars.
- (a)
- Find the probability of ownership and the marginal effect of income at \(x = 3\).
- (b)
- Interpret \(e^{0.5}\).
Show solution
Solution. (a) The index is \(-0.5\), so \(p = \Lambda (-0.5) = 1/(1 + e^{0.5}) = 0.378\). The marginal effect is \(p(1 - p)\beta = 0.378 \times 0.622 \times 0.5 = 0.118\): another thousand dollars raises the probability by about \(12\) percentage points at this income.
(b) \(e^{0.5} = 1.65\): each thousand dollars multiplies the odds of owning a car by \(1.65\), at every income level, although the change in the probability itself varies.
Problem 17.6.2. Show that in a logit model with an intercept the average fitted probability equals the proportion of ones in the sample. Does the same hold for the probit?
Show solution
Solution. The score equation for the intercept, whose regressor is \(1\), is \(\sum (y_i - \hat \Lambda _i) = 0\), so \(\frac 1n\sum \hat \Lambda _i = \bar y\). For the probit the score is \(\sum \frac {(y_i - \Phi _i)\phi _i}{\Phi _i(1 - \Phi _i)}x_i\), a weighted sum with weights \(\phi _i/(\Phi _i(1 - \Phi _i))\) that are not constant, so the average fitted probability is close to \(\bar y\) but not in general equal to it.
Problem 17.6.3. In a Tobit model, \(x_i'\beta = 1\) and \(\sigma = 2\) for a particular household.
- (a)
- Find the probability that it spends a positive amount, its expected spending given that it spends, and its unconditional expected spending.
- (b)
- By how much does a unit increase in a regressor with coefficient \(\beta _j = 0.3\) raise its expected spending?
Show solution
Solution. (a) \(c = 1/2\), \(\Phi (0.5) = 0.691\) and \(\phi (0.5) = 0.352\). Then \(P(y > 0) = 0.691\), \(E(y \mid y > 0) = 1 + 2(0.352/0.691) = 2.02\), and \(E(y) = 0.691 \times 1 + 2 \times 0.352 = 1.40\), which also equals \(0.691 \times 2.02\).
(b) By Theorem 17.2.1(ii), \(\Phi (0.5)\beta _j = 0.691 \times 0.3 = 0.207\).
Problem 17.6.4. Explain why least squares on the positive observations of a censored variable is biased, and in which direction for a regressor with a positive coefficient.
Show solution
Solution. By Theorem 17.2.1(i), the mean of \(y\) among positive observations is \(x'\beta + \sigma \lambda (x'\beta /\sigma )\). The inverse Mills ratio \(\lambda (c)\) is decreasing in \(c\): units with a low index are observed only if their disturbance is large. So the omitted term \(\sigma \lambda \) is negatively correlated with \(x'\beta \), and for a regressor with a positive coefficient the bias is downward, towards zero. The observed relation is flatter than the latent one.
Problem 17.6.5. In the Heckman model, suppose there is no exclusion restriction, so that \(z_i = x_i\). Explain why the two-step estimator is still identified in principle, and why it is unreliable in practice.
Show solution
Solution. The second step regresses \(w\) on \(x\) and \(\lambda (x'\hat \gamma )\). Since \(\lambda \) is a non-linear function, \(\lambda (x'\hat \gamma )\) is not an exact linear combination of the columns of \(x\), so the coefficients are identified. But over the range of \(x'\gamma \) found in most samples, \(\lambda \) is close to linear, so \(\hat \lambda \) is nearly collinear with \(x\), the variance of the estimates is very large, and the results depend heavily on the normality assumption that gives \(\lambda \) its exact shape. A variable that shifts participation but not wages breaks the collinearity.
Problem 17.6.6. Show that in a Poisson regression with an intercept the fitted counts have the same mean as the observed counts, and interpret the coefficient of a dummy variable whose estimate is \(0.162\).
Show solution
Solution. The score equation for the intercept is \(\sum (y_i - \hat \mu _i) = 0\), so \(\bar {\hat \mu } = \bar y\). A dummy coefficient of \(0.162\) means that the expected count is \(e^{0.162} = 1.18\) times as large when the dummy is one, \(18\%\) higher, other things equal; in Software 17.5.5 this is the effect of being male on days absent, which the robust standard error shows to be insignificant.
Questions on this section
Stuck on something here? Ask below and it stays attached to this topic.