File Exchange

image thumbnail

Bland Altman Plot

version 1.0.0.0 (1.64 KB) by David Cumin
Plots a Bland Altman plot. You can control what is and what is not plotted through 'flag'.

3K Downloads

Updated 05 Jul 2009

View License

%%%Plots a Bland-Altman Plot
%%%INPUTS:
%%% 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
%%%
%%%OUTPUTS:
%%% 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

Cite As

David Cumin (2021). Bland Altman Plot (https://www.mathworks.com/matlabcentral/fileexchange/24645-bland-altman-plot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!