Options For Use With the Stepwise Selection Method
stepwise_method_options(
force = NULL,
direction = c("backward", "forward"),
method = c("binary program", "projection"),
transport.method = transport_options(),
OTmaxit = 100,
epsilon = 0.05,
model.size = NULL,
display.progress = FALSE,
parallel = NULL,
calc.theta = TRUE,
...
)
A named list with the above arguments
Any covariates to force into the model? Should be by column number or NULL if no variables to force into the model.
"forward" or "backward" selection? Default is "backward"
Should covariates be selected as an approximate "binary program" or should a projection method be used. Default is the approximate binary program.
Method for Wasserstein distance calculation. Should be one the outputs of transport_options()
The number of iterations to run the Wasserstein distance solvers.
A value > 0 for the penalty parameter of if using the Sinkhorn method for optimal transport
How many coefficients should the maximum final model have?
Logical. Should intermediate progress be displayed? TRUE or FALSE. Default is FALSE.
A cluster backend to be used by foreach::foreach()
. See foreach::foreach()
for details about how to set them up. The WpProj
functions will register the cluster with the doParallel::registerDoParallel()
function internally.
Return the linear coefficients? Default is TRUE.
Not used