Example of counterfactual data, where we have two groups of athletes,
those who played basketball and control. Besides observed Height,
this data set provides potential-outcomes Height_0 and Height_1,
which represent counterfactuals. This data set was used to demonstrate
causal inference, average treatment effects and individual treatment effects
data(basketball_data)
A data frame with 30 rows and 6 variables:
Name of the athlete
Either Basketball or Control
Potential outcome (Height) if basketball was not played
Potential outcome (Height) if basketball was played
Observed Height
Difference between Height_1 and Height_0