neuralnet_response_model {DeepLearningCausal} | R Documentation |
Modeling Responses from experimental data Using Deep NN
Description
Model Responses from all compliers (actual + predicted) in experimental data using neural network.
Usage
neuralnet_response_model(
response.formula,
exp.data,
neuralnet.compliers,
compl.var,
algorithm = "rprop+",
hidden.layer = c(4, 2),
stepmax = 1e+08
)
Arguments
response.formula |
formula for response variable and covariates (y ~ x) |
exp.data |
|
neuralnet.compliers |
|
compl.var |
string of compliance variable |
algorithm |
neural network algorithm, default set to |
vector specifying hidden layers and number of neurons. | |
stepmax |
maximum number of steps for training model. |
Value
trained response model object
[Package DeepLearningCausal version 0.0.104 Index]