File Exchange

image thumbnail

Bland Altman Plot

version 1.0 (1.64 KB) by

Plots a Bland Altman plot. You can control what is and what is not plotted through 'flag'.



View License

%%%Plots a Bland-Altman Plot
    %%% var1 and var2 - vectors of the measurements
    %%%flag - how much you want to plot
        %%% 0 = no plot
        %%% 1 = just the data
        %%% 2 = data and the difference and CR lines
        %%% 3 = above and a linear fit
    %%% means = the means of the data
    %%% diffs = the raw differences
    %%% meanDiff = the mean difference
    %%% CR = the 2SD confidence limits
    %%% linfit = the paramters for the linear fit

Comments and Ratings (2)


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.


Andy (view profile)

Good! I need it.

MATLAB Release
MATLAB 7.3 (R2006b)

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

» Watch video