complier_mod {DeepLearningCausal} | R Documentation |
Train complier model using ensemble methods
Description
Train model using group exposed to treatment with compliance as binary outcome variable and covariates.
Usage
complier_mod(
exp.data,
complier.formula,
treat.var,
ID = NULL,
SL.learners = c("SL.glmnet", "SL.xgboost", "SL.ranger", "SL.nnet", "SL.glm")
)
Arguments
exp.data |
list object of experimental data. |
complier.formula |
formula to fit compliance model (c ~ x) using complier variable and covariates |
treat.var |
string specifying the binary treatment variable |
ID |
string for name of indentifier variable. |
SL.learners |
vector of strings for ML classifier algorithms. If left
|
Value
model object of trained model.
[Package DeepLearningCausal version 0.0.104 Index]