View source: R/galamm_control.R
galamm_control | R Documentation |
This function can be called for controling the optimization
procedure used when fitting GALAMMs using galamm
.
galamm_control(
optim_control = list(),
method = c("L-BFGS-B", "Nelder-Mead"),
maxit_conditional_modes = 10,
pirls_tol_abs = 0.01,
reduced_hessian = FALSE
)
optim_control |
List containing optimization parameters. If |
method |
Character string defining the algorithm to be used for
maximizing the marginal log-likelihood. The default is |
maxit_conditional_modes |
Maximum number of iterations in penalized
iteratively reweighted least squares algorithm. Ignored if |
pirls_tol_abs |
Absolute convergence criterion for penalized iteratively reweighted least squares algorithm. Defaults to 0.01, which means that when the reduction in marginal likelihood between two iterations is below 0.01, the iterations stop. |
reduced_hessian |
Logical value. Defaults to |
Object of class galamm_control
, which typically will be
provided as an argument to galamm
.
batesFittingLinearMixedEffects2015galamm
\insertRefbroydenConvergenceClassDoublerank1970galamm
\insertRefbyrdLimitedMemoryAlgorithm1995galamm
\insertReffletcherNewApproachVariable1970galamm
\insertRefgoldfarbFamilyVariablemetricMethods1970galamm
\insertRefnelderSimplexMethodFunction1965galamm
\insertRefshannoConditioningQuasiNewtonMethods1970galamm
galamm()
Other optimization functions:
extract_optim_parameters.galamm()
# Define control object with quite a high degree of verbosity (trace = 6)
# and using the last 20 BFGS updates to estimate the Hessian in L-BFGS-B.
control <- galamm_control(optim_control = list(trace = 6, lmm = 20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.