neuralnet_pattc_counterfactuals | R Documentation |
Create counterfactual datasets in the population for compliers and
noncompliers. Then predict potential outcomes using trained model from
neuralnet_response_model
.
neuralnet_pattc_counterfactuals(
pop.data,
neuralnet.response.mod,
ID = NULL,
cluster = NULL,
binary.outcome = FALSE
)
pop.data |
population data. |
neuralnet.response.mod |
trained model from.
|
ID |
string for identifier variable. |
cluster |
string for clustering variable (currently unused). |
binary.outcome |
logical specifying predicted outcome variable will take binary values or proportions. |
data.frame
of predicted outcomes of response variable from
counterfactuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.