Gov 2002: Problem Set 9
Submission instructions | PDF | Rmd |
Problem Set Instructions
This problem set is due on November 29, 11:59 pm Eastern time. Please upload a PDF of your solutions to Gradescope. We will accept hand-written solutions but we strongly advise you to typeset your answers in Rmarkdown. Please list the names of other students you worked with on this problem set.
Question 1 (30 points)
Often our data is collected with error, which we refer to as measurement error. For instance, for a dependent variable \(Y\) you’re trying to measure in a survey, respondents may randomly mis-click, or they may systematically lie about having a socially undesirable trait. In this question, we will explore the impact of measurement error in regression analysis in the most favourable case where the measurement error is independent of the true values. Consider the linear projection:
\[ L[Y \mid 1, X] = \beta_0 + \beta_1X \]
with the projection error denoted as \(e = Y - L[Y \mid 1, X]\), and \(\mathbb{V}[X] = \sigma_X^2\). Unfortunately, we do not observe \(Y\) or \(X\) but instead noisy proxies for them \(\{\tilde{Y}, \tilde{X}\}\), where
\[ \tilde{Y} = Y + v, \quad \tilde{X} = X + w \]
Where \(v\) is one realization from \(V \sim \mathcal{N}\left(0, \sigma_{v}^{2}\right)\) and \(w\) is one realization from \(W \sim \mathcal{N}\left(0, \sigma_{w}^{2}\right)\), where \(W\) and \(V\) are independent of \(X\) and \(Y\). This implies that \(\operatorname{Cov}(v,X)=\operatorname{Cov}(v, e)=\operatorname{Cov}(v, w)=\operatorname{Cov}(w, X)=\operatorname{Cov}(w, e)=\operatorname{Cov}(w, v)=0\). This is commonly referred to as classical measurement error.
Consider the linear projection of these observable variables, \(L[\tilde{Y} \mid 1, \tilde{X}]=\alpha_{0}+\alpha_{1} \tilde{X}\). Find \(\alpha_{1}\) in terms of \(\left\{\beta_{1}, \sigma_{w}^{2}, \sigma_{v}^{2}, \sigma_{X}^{2}\right\}\). Hint: first derive an expression of the coefficients in terms of the \(\tilde{X}\) and \(\tilde{Y}\).
From your expression in part (a), briefly explain (1-2 sentences) the effect of this type of measurement error in \(X\) on the sign and magnitude of the coefficient \(\alpha_{1}\) compared to \(\beta_{1}\). Hint: what parameter controls the amount of measurement error in \(X\)?
From your expression in part (a), briefly explain (1-2 sentences) the effect of this type of measurement error in \(Y\) on the sign and magnitude of the coefficient \(\alpha_1\) compared to \(\beta_1\). Hint: what parameter controls the amount of measurement error in \(Y\)?
Question 2 (20 points)
Decide whether each of the following statements are true or false and explain your reasoning briefly.
If \(Y = X\beta + e\), \(X \in \mathbb{R}\), and \(E[e|X] = 0\), then \(E[e] = 0\).
If \(Y = X\beta + e\), \(X \in \mathbb{R}\), and \(E[e|X] = 0\), then \(E[X^3 e] = 0\).
If \(Y = X\beta + e\), \(X \in \mathbb{R}\), and \(E[Xe] = 0\), then \(E[X^2 e] = 0\).
If \(Y = X\beta + e\), \(X \in \mathbb{R}\), and \(E[e|X] = 0\), then \(e\) and \(X\) are independent.
Question 3 (30 points)
In most linear regression models, the dependent variable \(Y\) is expressed as a function of independent variables \(X_1, X_2, ..., X_k\) (or to use the vector notation, just \(X\) as a vector in \(\mathbb{R}^k\)). That is, \[ Y = X\beta + e \] where \(\beta\) is a \(k \times 1\) coefficient vector and \(e\) is the error.
Explain briefly what it means for \(g(X)\), a function of \(X\), to be the best predictor of \(Y\).
Show that for \(g(X)\) to be the best predictor, \(g(X)\) must be equal to the conditional expectation function \(E[Y|X]\). ( You can assume that, for the CEF error \(e = Y - E[Y|X]\), we have \(E\big|e\{E[Y|X] - g(X)\}\big| < \infty\)).
Now, for unifying definition, we also need to consider an model, where there is no \(X\) and \(\alpha\) is simply a constant: \[ Y = \alpha + e \]
- Find \(\underset{\alpha}{\operatorname{argmin}} E[(Y - \alpha)^2]\).
Question 4 (20 points)
Suppose you are interested in the association between income and race, gender, and education. The dependent variable \(Y\) is income in USD. The independent variables are age, gender, and education, whereYou are especially interested in interactions among these variables, and run a linear regression model only with a three-way interaction term: \[ Y = \beta_0 + \beta_1 X_aX_gX_e \]
- Derive the marginal effects of \(X_a, X_g\), and \(X_e\).
Determine whether the following statements (b-d) are true or false and explain your reasoning briefly.
Comparing (i) men whose age is 30 years and (ii) men whose age is 50 years, we find that (ii) men whose age is 50 years earn \(\beta_1\) dollars more than (i) men whose age is 30 years.
Comparing (i) women whose age is 30 years and who has no college degree and (ii) women whose age is 50 years and who has no college degree, we find that (ii) women whose age is 50 years and who has no college degree earn \(\beta_1\) dollars more than (i) women whose age is 30 years and who has no college degree.
Comparing (i) women whose age is 30 years and who has a college degree and (ii) women whose age is 50 years and who has a college degree, we find that (ii) women whose age is 50 years and who has a college degree earn \(20 \times \beta_1\) dollars more than (i) women whose age is 30 years and who has a college degree.