This is a tutorial aimed at students of the Inference for Statistics and Data Science course from Hasselt University's Master of Statistics and Data Science. It covers estimators of the average treatment effect (ATE) using the NHEFS dataset.
The following estimators are covered:
- Naive estimator
- Propensity scores
- Inverse probability of treatment weighting (IPTW) and marginal structural models (MSM)
- Standardisation and g-formula
- Doubly robust estimator
All scripts are written in R markdown.
Clone or download the repository and start working your way through the scripts in the exercises folder. More specifically, try to replace '### MISSING CODE HERE' with the correct code.