Bootstrap confidence intervals for the intercept and regression coefficients of a fast AME fit.
Arguments
- object
a
boot_ameobject.- parm
character vector of parameter names, or integer indices. If
NULL(default), all coefficients are returned.- level
confidence level (default 0.95).
- ci_type
interval type:
"percentile"(default) uses the replicate quantiles directly (for a block bootstrap, those at the expanded percentile levels ofame_als_bootstrap) and matches the intervals reported bysummary()andtidy()on the same fit;"basic"reflects the replicate quantiles about the point estimate (\(2\hat\theta - q\)), which corrects first-order bias and can be preferable for binary and Poisson fits on small samples.- which
which uncertainty channel to return:
"all"(default, intercept + regression coefficients + variance components + sender effectsreceiver effects + multiplicative U/V), or a single channel:
"beta","vc","a","b","U","V".
- ...
ignored.
Value
A matrix with one row per parameter and lower/upper bound columns.
The rows of the U and V columns whose singular values are
not separated from a neighbour's, of a coefficient or variance component
whose replicates are not centred on it (coef_uncentred,
vc_uncentred), and of a parameter the bootstrap returns no
interval for (withheld), are the analytic Wald intervals of the fit
(se_source); see ame_als_bootstrap.