treatmentEffect function

Endogenous switching regression