Code covered by the BSD License  

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

» Watch video

Highlights from
Bland Altman plot

2.5 | 2 ratings Rate this file 4 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 (3)
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