This is the second part of the series on Instrumental Variables. For other parts of the series follow the tag instrumental variables.
In this exercise set we will build on the example from part-1.
We will now consider an over-identified case i.e. we have multiple IVs for an endogenous variable. We will also look at tests for endogeneity and over-identifying restrictions.
Answers to the exercises are available here.
Load the AER package (package description: here). Next, load
PSID1976 dataset provided with the AER package. This has data regarding labor force participation of married women.
Define a new data-frame that has data for all married women that were employed. This data-frame will be used for the following exercises.
We will use a more elaborate model as compared to the previous set.
Previously, we identified
meducation as possible IVs for
meducation. Comment on your results.
Test the hypothesis that
meducation are jointly equal to zero.
Use 2SLS to estimate the IV based return to education.
ivreg command to get the same results as in Exercise-5. Note that standard errors would be different.
There is a short form for the
ivreg command which saves time when we are dealing with numerous variables.
Try the short format and check that you get the same results as in Exercise-6.
experience^2 and residuals from the model estimated in Exercise-3.
Use your result to test for the endogeneity of
Regress the residuals from exercise-7 on
Use your result to test for over-identifying restrictions.
The two tests we did in exercises 8 and 9 can be conveniently obtained using the
summary command with diagnostics turned on. Verify that you get the same test results with the