complier_predict: Complier model prediction

View source: R/patt_ensemble.R

complier_predictR Documentation

Complier model prediction

Description

Predict Compliance from control group in experimental data

Usage

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

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

Value

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


DeepLearningCausal documentation built on Sept. 11, 2024, 8:40 p.m.