Respiratory physiology (Bland & Altman 1986)

Bland–Altman example: confidence intervals and proportional bias

Add 95% confidence intervals to the bias and limits of agreement, and check for proportional bias with a regression of differences on means.

Open this example in the editorStart from scratch

−150−100−50050100150200300400500600700Mean of Wright and Mini Wright, l/minWright − Mini Wright, l/min+1.96 SD 73.9Mean −2.1−1.96 SD −78.1
The peak flow data with shaded 95% confidence intervals, a zero line and the regression of differences on means (dash-dot).

About this example

With only 17 people the limits of agreement are themselves uncertain. The shaded bands are their 95% confidence intervals, using the approximation of Bland and Altman (standard error SD·√(3/n) for each limit): the upper limit could lie anywhere from 39 to 108 l/min. Many journals and reporting guidelines ask for these intervals.

The dash-dot line is a least-squares regression of the differences on the means. Its slope is 0.03 (95% CI −0.16 to 0.22, p = 0.75), so the differences do not visibly grow or shrink with the size of the reading. A clear slope would suggest proportional bias; then limits that vary with the mean, or percentage differences, describe agreement better.

Sources: Bland & Altman (1999), Measuring agreement in method comparison studies

The data

SubjectWrightMini Wright
1494512
2395430
3516520
4434428
5476500
6557600
7413364
8442380
9650658
10433445
11417432
12656626
13267260
14478477
15178259

…and 2 more rows. Open the example to see all of them.

One row per subject, first reading on each meter (Bland & Altman 1986). Bias, limits of agreement and their 95% CIs match base R and BlandAltmanLeh. Open the example, replace the data with your own, and export the figure as SVG, PDF, PNG or TIFF.

More examples