sim_data {causaldrf} | R Documentation |
Simulated data used in the paper "Causal inference with a continuous treatment and outcome: alternative estimators for parametric dose-response models".
data(sim_data)
A data frame with 1000 rows and 20 variables:
A dataset containing sim_data.
(A.1, A.2, A.3, A.4, A.5, A.6, A.7, A.8)
are the true measured covariates.
(B.1, B.2, B.3, B.4, B.5, B.6, B.7, B.8)
are the transformed covariates.
T |
treatment |
Theta.1 |
unit level intercept |
Theta.2 |
unit level slope |
Y |
outcome |
use the draw_sample
function
Schafer, J.L., Galagate, D.L. (2015). Causal inference with a continuous treatment and outcome: alternative estimators for parametric dose-response models. Manuscript in preparation.
## Example from Schafer (2015). data(sim_data) head(sim_data)