The confidence intervals are calculated with a percentile parametric bootstrap (see lme4::confint.merMod()
for details).
Arguments
- ba_obj
Bland-Altman analysis object
- level
Confidence level (default is 0.95)
- nsim
Number of bootstrap samples
- boot.type
Type of interval (one of
"perc"
(default),"basic"
,"norm"
). Passed toboot::boot.ci()
- .progress, PBargs
see
lme4::bootMer()
Details
Note that when calculating confidence intervals for percentage errors, the mean value is treated as a known value
rather than an estimate. Any uncertainty in the estimate of the mean is not included in the confidence intervals
for percentage errors. This is a technical limitation, since the bootstrap analysis is based on a single mixed model
(diff ~ 1 + (1|id)
) which has no information about the mean value.