Linear regression with statistics for multiple category data
Takes six column vectors, a description, x label and y label and plots the data and outputs all the statistics (r squared, OLS slope, RMA slope, 95% CI intervals). Uses different colours for the two different categories. Both OLS and RMA slopes are output
Cite As
Dr. Soumya Banerjee (2026). Linear regression with statistics for multiple category data (https://au.mathworks.com/matlabcentral/fileexchange/38955-linear-regression-with-statistics-for-multiple-category-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Graphical User Interface for Solving Ordinary Differential Equations, Linear regression on log transformed data, Graphical User Interface for Solving Ordinary Differential Equations, A Graphical User Interface for Solving Delay Differential Equations and doing Local Search
Inspired: Linear regression for multiple category data with different slopes for each, Graphical User Interface for Solving Ordinary Differential Equations for In-Vitro Infection, healthy_disease_boxplot.zip, t-test and box plots for genes/compounds etc in healthy vs. disease, Wilcoxon rank-sum test and box plots for genes/compounds etc in healthy vs. disease
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
regress two categories for upload/html/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
