adapt {borrowr} | R Documentation |
A simulated data set used in the package vignette. Data generating mechanism is adapted from Hill (2011). Includes 3 data sources to illustrate borrowing information in estimate the population average treatment effect.
adapt
A data frame with 180 rows and 5 variables
the outcome
a variable associated with y and treatment
character variable with 3 levels: "Primary", "Supp1", "Supp2"
treatment variable. 1 = treated, 0 = untreated
compliance indicator. 1 = compliant to treatment, 0 = noncompliant to treatment
Hill, Jennifer L. (2011) Bayesian Nonparametric Modeling for Causal Inference. Journal of Computational and Graphical Statistics, 20:1, 217-240.
data(adapt)
head(adapt)