Question
#1 a. Regress Birthweight on Smoker. What is the estimated effect of smoking on birth weight? b. Regress Birthweight on Smoker, Alcohol, and Nprevist. i.
#1
a. Regress Birthweight on Smoker. What is the estimated effect of smoking on birth weight?
b. Regress Birthweight on Smoker, Alcohol, and Nprevist.
i. Using the two conditions in Key Concept 6.1, explain why the exclusion of Alcohol and Nprevist could lead to omitted variable bias in the regression estimated in (a).
ii. Is the estimated effect of smoking on birth weight substantially different from the regression that excludes Alcohol and Nprevist? Does the regression in (a) seem to suffer from omitted variable bias?
iii. Jane smoked during her pregnancy, did not drink alcohol, and had 8 prenatal care visits. Use the regression to predict the birth weight of Jane's child.
iv. Compute R2 and R 2. Why are they so similar
c.Estimate the coefficient on Smoking for the multiple regression model in (b), using the three-step process in Appendix (6.3) (the Frisch-Waugh theorem). Verify that the three-step process yields the same estimated coefficient for Smoking as that obtained in (b
d. An alternative way to control for prenatal visits is to use the binary variables Tripre0 through Tripre3. Regress Birthweight on Smoker, Alcohol, Tripre0, Tripre2, and Tripre3.
i. Why is Tripre1 excluded from the regression? What would happen if you included it in the regression?
ii. The estimated coefficient on Tripre0 is large and negative. What does this coefficient measure? Interpret its value.
iii. Interpret the value of the estimated coefficients on Tripre2 and Tripre3.
iv. Does the regression in (d) explain a larger fraction of the variance in birth weight than the regression in (b)?
Please answer the questions using R code. Thank you
The data for is questions is on the following document https://docs.google.com/spreadsheets/d/16we4d2_Qv31teo9E7_IQLEMCByzI7ht_gikSenHDR0I/edit?usp=sharing
Here are the variables