Large N & Leeuwenhoek (70700173)
How can you specify things wrong?
Measurement Issues
Specification Issues
Interpretation Issues
True model: Y = β0 + β1X1 + β2X2 + β3X3* + ε, ε ~ Φ(0, σε2).
Outcome of proxy variable
Only when cov(ε, X3) = cov(ν, X1) = cov(ν, X2) = 0, can the model produce unbiased estimates.
Relation with proxy variable
Proxy variable is a source of measurement error (random error, specifically).
\[\begin{align} cov(\epsilon, X_1) =& E(\epsilon X_1) - E(\epsilon)E(X_1) = E(\epsilon X_1), \\ =& E[\epsilon (X_1^* + v)] = E(\epsilon X_1^*) + E(\epsilon v) = \sigma_\epsilon^2\neq0.\\ cov(\epsilon - \beta_1\nu, X_1) =& cov(-\beta_1\nu, X_1) = -\beta_1cov(\nu, X_1) = -\beta_1\sigma_\nu^2.\\ \Rightarrow\ plim(\hat\beta_1) =& \beta_1 + \frac{cov(\epsilon - \beta_1\nu, X_1)}{var(X_1)},\\ =& \beta_1 + \frac{-\beta_1\sigma_\nu^2}{\sigma_{X_1}^2} = \beta_1 + \frac{-\beta_1\sigma_\nu^2}{\sigma_{X_1}^{*2} + \sigma^2_\epsilon} = \frac{\sigma_{X_1}^{*2}}{\sigma_{X_1}^{*2} + \sigma^2_\nu}\beta_1. \end{align}\]
\[plim(\hat\beta_1) = \frac{\sigma_{X_1}^{*2}}{\sigma_{X_1}^{*2} + \sigma^2_\nu}\beta_1.\]
Warning
In OLS, there is no requirement (assumption) for Xs (but the parameter) to be linear.
You saw log(GDP) or log(income), right? What does the logarithm transformation do?
The problem to solve: Violation of A3 (“Linearity in the parameter”)
Critical criterion: Skewness
Rule of thumb:
Example data:
$body
[1] 6.249429
$brain
[1] 4.828829
When there are two ways to specify the model:
\[\begin{align} Y =& f_1(X_1, X_2, X_3) =\beta_1X_1 + \beta_2X_2 + \beta_3X_3 + \epsilon, \\ Y =& f_2(X_1, X_2, X_3) =\beta_4X_1^2 + \beta_5X_2^3 + \beta_6X_3^4 + \epsilon. \end{align}\]
Which specification is correct?
Test out:
β1 in Y = f1(X) + f2(X) + ε
Conduct a joint test:
H0: β1 = β2 = β3 = 0 or
β4 = β5 = β6 = 0
Statistics: Davidson-Mackinnon test
\[\begin{align} True: Y_i =& \beta_0 + \beta_1X_{1i} + \beta_2X_{2i} + \epsilon_i;\\ Specified: Y_i =& \tilde\beta_0 + \tilde\beta_1X_{1i} + \tilde \epsilon_i, \end{align}\]
How does \(\tilde\beta_1\) compare to \(\beta_1\)?
\[\begin{align} Y_i =& \beta_0 + \beta_1X_{1} + \beta_2X_{2} + \epsilon_i,\\ Y_i -\bar Y =& \beta_1(X_{1} - \bar X_1) + \beta_2(X_{2} - \bar X_2) + (\epsilon_i - \bar \epsilon),\\ (Y_i -\bar Y)(X_1 - \bar X_1) =& \beta_1(X_{1} - \bar X_1)^2 + \beta_2(X_{2} - \bar X_2)(X_1 - \bar X_1)\\ &+ (\epsilon_i - \bar \epsilon)(X_1 - \bar X_1),\\ \frac{(Y_i -\bar Y)(X_1 - \bar X_1)}{\sum(X_1 - \bar X_1)^2} =& \beta_1\frac{\sum(X_{1} - \bar X_1)^2}{\sum(X_1 - \bar X_1)^2} + \beta_2\frac{\sum(X_{2} - \bar X_2)(X_1 - \bar X_1)}{\sum(X_1 - \bar X_1)^2} + \frac{\sum \epsilon_i(X_1 - \bar X_1)}{\sum(X_1 - \bar X_1)^2}.\\ \text{That is, } \tilde\beta_1 =& \beta_1 + \beta_2\hat\delta_1 + \frac{\sum \epsilon_i(X_1 - \bar X_1)}{\sum(X_1 - \bar X_1)^2},\\ \Rightarrow E(\tilde\beta_1|X_1) =& E(\beta_1|X_1) + E(\beta_2\hat\delta_1|X_1) + E[\frac{\sum \epsilon_i(X_1 - \bar X_1)}{\sum(X_1 - \bar X_1)^2}|X_1],\\ =& \hat\beta_1 + \hat\beta_2E(\hat\delta_1|X_1) + \frac{\sum(X_1 - \bar X_1)}{\sum(X_1 - \bar X_1)^2}E(\epsilon_i|X_1),\\ =& \hat\beta_1 + \hat\beta_2\delta_1. \end{align}\]
\[E(\tilde\beta_1|X_1) = \hat\beta_1 + \hat\beta_2\delta_1,\] in which \(\hat\delta_1\) is the regression coefficient of \(X_2\) on \(X_1\) ( \(X_1 = \delta_0 + \delta_1X_2 + r\)).
Examples:
Believe or not, still unbiased & efficient linear estimates, but what does β1 mean?
Marginal Effects💫
Discrete:
\[Pr(Y|x = X_{n + 1}) - Pr(Y|x = X_n)\]
Continuous:
\[\lim_{\Delta x\to0} \frac{ f(x + \Delta x) - f(x)}{\Delta x}\]
That’s to say, every value in X (n > 1) has a marginal effect (Δx). Which one should we use?
Average Marginal Effect (AME)
Marginal Effect at the Mean (MEM)
Calculate the marginal effect of each variable x for each’s mean value.
\[e.g., Y = \beta_0 + \beta_1X + \beta_2X^2 + u.\]
Statistics:
\[\begin{align} \frac{\beta_1 + 2\beta_2X - 0}{SE(\beta_1 + 2\beta_2X)}\sim& t_{n - 3}.\\ SE(\beta_1 + 2\beta_2X) =& \sqrt{var(\beta_1 + 2\beta_2X)}, \\ =& \sqrt{var(\beta_1) + 4X^2var(\beta_2) + 4Xcov(\hat\beta_1,\hat\beta_2)}. \end{align}\]
Statistics:
\[\begin{align} \frac{\beta_1 + 2\beta_2X - 0}{SE(\beta_1 + 2\beta_2X)}\sim& t_{n - 3}.\\ \end{align}\]
Interpretation issue
Can’t simply say whether the null hypothesis is rejected, because there may not be a coherent effect over the entire domain of X due to the nonlinearity.