Instrumental Variables and Two-stage least squares in Python. The field of econometrics, which aims at causal inference or interpretation, oftentimes uses an IV (instrumental variable approach) or 2SLS (2 stage least squares approach) to handle endogenous variables. Instead of using the conventional programs used by economists, such as STATA or Matlab, I show you how to run this regression analysis in Python.

Download data:
https://docs.google.com/file/d/0BwogTI8d6EEiY3FhOThmT0xVMEE/edit?usp=sharing

#python

IV and 2SLS in Python
3.70 GEEK