Learn R Programming

DeepLearningCausal (version 0.0.106)

neuralnet_predict: Predicting Compliance from experimental data

Description

Predicting Compliance from control group experimental data

Usage

neuralnet_predict(neuralnet.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

neuralnet.complier.mod

results from neuralnet_complier_mod

exp.data

data.frame of experimental data

treat.var

string for treatment variable

compl.var

string for compliance variable