Bland-Altman and Correlation Plot
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.
Cite As
Ran Klein (2023). Bland-Altman and Correlation Plot (https://www.mathworks.com/matlabcentral/fileexchange/45049-bland-altman-and-correlation-plot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis >
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Statistical Visualization > Box Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
BlandAltman
Version | Published | Release Notes | |
---|---|---|---|
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).
|
||
1.9.0.0 | Changes include:
|
||
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:
|
||
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 |