Linear regression with statistics for multiple category data

This function does linear regression with statistics for multiple category data (OLS and RMA)

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/38955-linear-regression-with-statistics-for-multiple-category-data), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0