remove_from_parlist
is designed to manipulate structured lists of parameters, such as a list with elements phi
, lambda
, and corrPars
, the latter being itself a list structured as the return value of get_ranPars(.,which="corrPars")
. remove_from_parlist
may have an attribute type
, also with elements phi
, lambda
, and corrPars
... If given, removand
must have the same structure (but typically not all the elements of parlist
); otherwise, rm_names
must have elements which match names of unlist(names(parlist))
.
The bias estimated by bootstrap is one of two terms included in the get_cPredVar
computation, which together account for uncertainty in fixed effects and dispersion parameters. The computation does not account for uncertainty in correlation parameters “outer-optimized” by fitme
or corrHLfit
. The bias computation would not be sufficient to account for the latter uncertainty, and thus the correlation parameters are fixed when the model is refitted on the bootstrap replicates. To account for uncertainty in correlation parameters, one should rather perform a parametric boostrap of the full model (typically using spaMM_boot(., type="residual")
), which may take much more time.