controlSel {nonprobsvy} | R Documentation |
Control parameters for selection model
Description
controlSel
constructs a list with all necessary control parameters
for selection model.
Usage
controlSel(
method = "glm.fit",
epsilon = 1e-04,
maxit = 500,
trace = FALSE,
optimizer = c("maxLik", "optim"),
maxLik_method = "NR",
optim_method = "BFGS",
dependence = FALSE,
key = NULL,
est_method_sel = c("mle", "gee"),
h = c(1, 2),
penalty = c("SCAD", "lasso", "MCP"),
a_SCAD = 3.7,
a_MCP = 3,
lambda = -1,
lambda_min = 0.001,
nlambda = 50,
nfolds = 10,
print_level = 0,
start_type = c("glm", "naive", "zero")
)
Arguments
method |
estimation method. |
epsilon |
Tolerance for fitting algorithms by default |
maxit |
Maximum number of iterations. |
trace |
logical value. If |
optimizer |
|
maxLik_method |
maximisation method that will be passed to |
optim_method |
maximisation method that will be passed to |
dependence |
logical value - |
key |
binary key variable |
est_method_sel |
Method of estimation for propensity score model. |
h |
Smooth function for the generalized estimating equations methods taking the following values
|
penalty |
The penanlization function used during variables selection. |
a_SCAD |
The tuning parameter of the SCAD penalty for selection model. Default is 3.7. |
a_MCP |
The tuning parameter of the MCP penalty for selection model. Default is 3. |
lambda |
A user-specified \(\lambda\) value during variable selection model fitting. |
lambda_min |
The smallest value for lambda, as a fraction of |
nlambda |
The number of |
nfolds |
The number of folds for cross validation. Default is 10. |
print_level |
this argument determines the level of printing which is done during the optimization (for propensity score model) process. |
start_type |
|
Value
List with selected parameters.
Author(s)
Łukasz Chrostowski, Maciej Beręsewicz
See Also
nonprob()
– for fitting procedure with non-probability samples.