sim_data {causaldrf} | R Documentation |
Simulated data from Schafer and Galagate (2015)
Description
Simulated data used in the paper "Causal inference with a continuous treatment and outcome: alternative estimators for parametric dose-response models".
Usage
data(sim_data)
Format
A data frame with 1000 rows and 20 variables:
Details
A dataset containing sim_data.
Value
(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 |
Source
use the draw_sample
function
References
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.
Examples
## Example from Schafer (2015).
data(sim_data)
head(sim_data)
[Package causaldrf version 0.4.2 Index]