Bland-Altman and Correlation Plot

版本 1.12.0.0 (14.6 KB) 作者: Ran Klein
Plots a Bland-Altman and correlation plot for two data sets, including data grouping.
14.1K 次下载
更新时间 2024/1/17

查看许可证

This customizable data analysis tools generates a Bland-Altman and correlation scatter plot. Data can be displayed using color and shape coding of groups using a 2D or 3D matrix notation. Data points can also be displayed using serial numbering, facilitating further interrogation of outliers.
Analysis results (e.g. correlation coefficients, line of best fit, reproducibility coefficient, etc.) can be displayed on the figure. Statistical results are returned as a structured output argument.
An example is included.

引用格式

Ran Klein (2024). Bland-Altman and Correlation Plot (https://www.mathworks.com/matlabcentral/fileexchange/45049-bland-altman-and-correlation-plot), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023b
兼容 R2012b 到 R2023b 的版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.12.0.0

Added coefficient of correlation and coefficient of determination options as suggested by Tomasz Czernuszewicz.

1.11.0.0

Two SSE and RMSE values are now available: for the linear regression on the correlation plot, and for the difference between paired data on the Bland-Altman plot.
Added example multiple Bland-Altman plots in a single figure.
Improved error messages.

1.10.0.0

Fixed non-parametric comparison to use signrank instead of ranked sum (credits to Smilla for bringing this issue to my attention).
Also includes minor comment improvements.

1.9.0.0

Changes include:
- Explicit support (including demo) for correlation analysis only with correlationPlot.m.
- Improved support for titles and legend with multiple analyses on a figure.
- Legend on/off.
- Text remains on plots when resized.

1.8.0.0

Corrected code typos as reported by Andrew Stephens. Thank you, Andrew.

1.7.0.0

Addressed bugs indicated by Rik Wisselink and Cheryl Sital in version 1.7.

1.6.0.0

Added support for data containing nan values.

1.5.0.0

Minor comment updates.

1.4.0.0

Corrected bug with wrong labelling of Bland-Altman x-axis when using data1Mode = 'Truth'.

1.3.0.0

Added mynum2str and fixed bug with equation option not showing intercept default. Thank you everyone for your comments.

1.2.0.0

New feature include:
- Parameter-value pair input arguments (incompatible with V1.1).
- Gaussian/non-parametric statistics (including warning for data that may violate this assumption)
- Absolute/relative differences
- Correction of SSE calculation

1.1.0.0

Added more default colours and the option to specify colours both as code characters and RGB table. See the demo file for and example.

1.0.0.0