Machine Learning and Causal Inference Codes

Bootstraping

In this Python Script, we will use bootstrapping tools on the data obtained from the Pennsylvania re-employment bonus experiment. In this case, group 4 ($T4$) is used as the treatment group.

Prediction wage: basic vs flexible model

In this Python Script, we use two different prediction rules for the hourly wage $Y$ using OLS: the basic model and the flexible model. Also, we use the partilliang out using lasso tool in both models and the idea of sample splitting.

Causal Trees

In this R Script, we applicated honest causal tree estimation using the Pennsylvania re-employment bonus experiment data.