Linear regression for multiple category data with different slopes for each

The function does OLS and RMA regression on data that is categorized into two different categories

Ahora está siguiendo esta publicación

The function does OLS and RMA regression on data that is categorized into two different categories. The OLS and RMA regression is done on both categories combined and on each category individually. The function also plots three regression lines - combined and one for each category.

Citar como

Dr. Soumya Banerjee (2026). Linear regression for multiple category data with different slopes for each (https://la.mathworks.com/matlabcentral/fileexchange/40151-linear-regression-for-multiple-category-data-with-different-slopes-for-each), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Linear and Nonlinear Regression en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.1.0.0

Automatically combines two categories of data (fewer input parameters needed)

1.0.0.0