Performs a Bland-Altman analysis comparing two measurement methods or two time points. Computes the bias (mean difference), limits of agreement, and confidence interval for the bias.
Value
A list with components:
- bias
Mean difference (x - y)
- lower_loa
Lower limit of agreement
- upper_loa
Upper limit of agreement
- sd_diff
Standard deviation of differences
- ci_bias
Two-element vector with lower and upper CI for the bias
Details
The Bland-Altman method assesses agreement between two measurements by plotting their difference against their mean. The limits of agreement are: $$LoA = \bar{d} \pm z \times SD_d$$ where \(\bar{d}\) is the mean difference (bias) and \(SD_d\) is the SD of differences.
References
Bland JM, Altman DG (1986). Statistical methods for assessing agreement between two methods of clinical measurement. Lancet, 327(8476), 307-310.
See also
icc() for intraclass correlation reliability analysis,
benchmarkAgreement() for benchmark validation agreement metrics, and
plotBlandAltman() in the PhysioMoCap package to visualize the agreement.