Extracts the best-fitting model from a roams_SSM_list object according to
a chosen information criterion, while excluding models with more than 50% outlying observations.
Usage
best_BIC_model(model_list, ic = c("BIC", "AIC", "HQIC"), k = NULL)Arguments
- model_list
An object of class
roams_SSM_list.- ic
Character string specifying the information criterion. One of
"BIC"(default),"AIC", or"HQIC"(Hannan-Quinn). Ignored ifkis supplied.- k
Optional numeric penalty multiplier per model parameter, as in
step. Overridesicwhen non-NULL. Common values:2(AIC),log(n)(BIC),2 * log(log(n))(HQIC).
Value
A single roams_SSM object corresponding to the model with the smallest
value of the chosen information criterion among those with fewer than 50% outlying observations.
