Learn R Programming

DeepLearningCausal (version 0.0.106)

complier_predict: Complier model prediction

Description

Predict Compliance from control group in experimental data

Usage

complier_predict(complier.mod, exp.data, treat.var, compl.var)

Value

data.frame object with true compliers, predicted compliers in the control group, and all compliers (actual + predicted).

Arguments

complier.mod

output from trained ensemble superlearner model

exp.data

data.frame object of experimental dataset

treat.var

string specifying the binary treatment variable

compl.var

string specifying binary complier variable