PMAP 8521 • Example: Instrumental variables with R: 7: Validity + 2SLS (real data)
Channel: Andrew Heiss
Date: 2020-10-28

Demonstration of how to check instrument validity and run two-stage least squares (2SLS) regression with control variables, using real data (wages ~ education + controls | distance to college + controls)

Download the data and see the polished code at https://evalf20.classes.andrewheiss.com/example/iv/