You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Simple function to calculate the r square of a dataset y (vector or matrix form) and the corresponding estimates yhat calculated using a regression.
Uses r2 = 1 - SSe/SSt
Input can contain NaNs.
Cite As
Felix Hebeler (2026). rsquare (https://www.mathworks.com/matlabcentral/fileexchange/13872-rsquare), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (713 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Better deletion of NaNs |
