View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Bland Altman plot

2.0 | 4 ratings Rate this file 19 Downloads (last 30 days) File Size: 1.58 KB File ID: #21589 Version: 1.0

Bland Altman plot



26 Sep 2008 (Updated )

Generates bland Altman plot

| Watch this File

File Information

Function to generate Bland Altman plots. Barry Greene, September 2008
Bland, J.M., Altman, D.G. 'Statistical methods for assessing agreement ...
between two methods of clinical measurement'(1986) Lancet, 1 (8476), pp. 307-310.
Inputs: data1: Data from first instrument
        data2: Data from second instument
Outputs: data_mean: Mean of data recorded by both instruments
data_diff: Difference of data recorded by both instruments
md: Mean difference
sd: Standard deviation of difference
Produces Bland Altman plot with mean difference and mean difference +/-
2*SD difference lines.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
14 Feb 2017 freshfreefish

The calculation for 1.96 SD level is wrong in the code. Easy to fix, please fix it.

24 Aug 2016 Erik

Erik (view profile)

Unfortunately, I cannot rate this entry positively. The input handling is bad (try e.g. bland_altman(1:10,1:10). Some required functions aren't provided. Therefore not useful, especially since there are other entries on the File Exchange offering the same functionality.

13 Mar 2014 Pete

Pete (view profile)

I think your calculation of the CR is off (standard deviation is usually corrected by N-1 when using the sample-population. Cf.

Comment only
21 May 2010 Dan

Dan (view profile)

Standard deviation lines are incorrect if the mean of the data is negative.

02 Oct 2008 Anonemous Anonemous

You didn't provide mean_nan.m and std_nan.m needed by bland_altman.m. Can you please also post them? Thanks.

Contact us