Final Exam

Hi guys,

here is my code. Please call TreatmentEffect.py to run the code.

I used 2 different approaches to get ATE, ATT, and ATU :
  1) Using a control function approach (the Inverse Mills Ratio)
  2) Using a simulation approach (I simulated the unobservables)

I did not really know how you wanted us to compute those treatment effects.

Using parallel implementation, It should display those results:

Treatment Effects Using the Control Function Approach
the ATE is 0.189707787789
the ATT is 0.237581634169
the ATU is 0.141835486867

Treatment Effects Using the Simulation Approach
the ATE is 0.200852119989
the ATT is 0.23835914057
the ATU is 0.1482846434

Thanks,
Bocar