You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Fast and essential linear regression (https://www.mathworks.com/matlabcentral/fileexchange/74669-fast-and-essential-linear-regression), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (1.81 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
