Restrict a set of fitted hierarchical models
subsetmat.RdRestricts previously calculated model fits by maximum interaction order and original-data BIC rank, without repeating any fits. Bootstrap and jackknife matrices already present in the input are subsetted in parallel.
Arguments
- z
A result from
assemble_bic(), optionally augmented bybootstrapcal()andjackknifecal().- ntopmodels
Maximum number of models to retain after applying the interaction-order restriction. The default
Infretains all available models.- maxorder
Maximum interaction order to retain. The default
Infimposes no additional restriction.
Value
The input list z, subsetted to the retained models. Its
possible components are:
resThe original-data model results.
modelsEncoded models subsetted in the same order.
xdataThe original capture history data.
maxorderThe largest retained interaction order.
best_neginfparsEncoded minus-infinity effects for the original best-BIC model, passed through unchanged.
jackabund,jackbicJackknife population estimates and BIC values, if present in the input.
countsobservedCapture history counts, if present in the input.
bootabund,bootbicBootstrap population estimates and BIC values, if present in the input.