- response.formula
formula specifying the response variable and covariates.
- compl.var
string specifying the name of the compliance variable.
- treat.var
string specifying the name of the treatment variable.
- exp.data
data frame containing the experimental data.
- pop.data
data frame containing the population data.
- compl.algorithm
string for name of optimizer algorithm for complier model. For optimizers available see keras package.
- response.algorithm
string for name of optimizer algorithm for response model. For optimizers available see keras package.
- compl.hidden.layer
vector specifying the hidden layers in the complier model and the number of neurons in each hidden layer.
- response.hidden.layer
vector specifying the hidden layers in the response model and the number of neurons in each hidden layer.
- compl.hidden_activation
string or vector for name of activation function for hidden layers complier model. Defaults to "relu" (Rectified Linear Unit)
- response.hidden_activation
string or vector for name of activation function for hidden layers complier model. Defaults to "relu" (Rectified Linear Unit)
- response.output_activation
string for name of activation function for output layer of response model.
"linear" is recommended for continuous outcome variables, and "sigmoid" for binary outcome variables.
For activation functions available see keras package.
- response.output_units
integer for units in output layer. Defaults to 1 for continuous and binary outcome variables. In case of multinomial outcome variable, set to the number of categories.
- response.loss
string for loss function in response model. "mean_squared_error" recommended for linear models,
"binary_crossentropy" for binary models.
- response.metrics
string for metrics in response model. "mean_squared_error" recommended for linear models,
"binary_accuracy" for binary models.
- ID
optional string specifying the name of the identifier variable.
- weights
optional string specifying the name of the weights variable.
- cluster
optional string specifying the name of the clustering variable.
- compl.epoch
Integer for the number of epochs for complier model.
- response.epoch
integer for the number of epochs for response model.
- compl.validation_split
double for the proportion of test data to be split as validation in complier model. Defaults to 0.2.
- response.validation_split
double for the proportion of test data to be split as validation in response model. Defaults to 0.2.
- compl.patience
integer for number of epochs with no improvement after which training will be stopped in complier model.
- response.patience
integer for number of epochs with no improvement after which training will be stopped in response model.
- compl.dropout_rate
double or vector for proportion of hidden layer to drop out in complier model.
- response.dropout_rate
double or vector for proportion of hidden layer to drop out in response model.
- verbose
integer specifying the verbosity level during training. Defaults to 1.
- batch_size
integer specifying the batch size for training the deep learning models. Default is 32.
- nboot
integer specifying the number of bootstrap samples if bootstrap is TRUE. Default is 1000.
- seed
random seed