Compare two linear regressions.
This function compares two least-square linear regression. Test are implemented as reported by Stanton A. Glantz book This routine uses MYREGR function. If it is not present on the computer, myregrcomp will try to download it from FEX. Syntax: x=myregrcomp(x1,y1,x2,y2)
x1,y1 - data of first regression
x2,y2 - data of second regression
- Summary of MYREGR function
- Global test
- Test on slopes (eventually)
- Test on intercepts (eventually)
Created by Giuseppe Cardillo
To cite this file, this would be an appropriate format: Cardillo G. (2007) MyRegressionCOMP: a simple routine to compare two LS regressions. http://www.mathworks.com/matlabcentral/fileexchange/15953
Giuseppe Cardillo (2022). MyRegrComp (https://github.com/dnafinder/myregrcomp), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!