Predict Compliance from control group in experimental data
deep_predict(
deep.complier.mod,
complier.formula,
exp.data,
treat.var,
compl.var
)data.frame object with true compliers, predicted compliers in the
control group, and all compliers (actual + predicted).
model object from deep.complier.mod()
formula to fit compliance model (c ~ x) using complier variable and covariates
data.frame object of experimental dataset
string specifying the binary treatment variable
string specifying binary complier variable