Fast and essential linear regression

Essential, fast and efficient simple linear regression
174 Downloads
Updated Sun, 22 Mar 2020 12:21:31 +0000

View License

Essential, fast and efficient simple linear regression implementation.
Returns estimated coefficients and p-values for linear regressions of the form y~a.*X+c.
The function is easy to adapt for returning less simplistic and/or structured outputs.

This is meant to be used e.g. in complex scripts, large-scale problems, or loops, where only the estimates and optionally p-values are of interest. On the contrary, built-in functions like 'fitlm' return complex structs and several additional information that might not be of interest, affecting the execution time.

Cite As

Martin Magris (2024). Fast and essential linear regression (https://www.mathworks.com/matlabcentral/fileexchange/74669-fast-and-essential-linear-regression), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Typos

1.0.0