- Download the press tool (https://ch.mathworks.com/matlabcentral/fileexchange/14564-press?s_tid=srchtitle)
Does Matlab provide the predicted R-squared value?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In Regression analysis the predictied R-Squared value gives information regarding overfittting and prediction of a model. This information is additional to the adjusted R-Squared value. However I can not find a Matlab function that provides the Predicted R-Squared value (Neither in the Curve fitting toolbox nor in the statistical toolbox)!
0 Commenti
Risposte (2)
Richard Ott
il 1 Feb 2019
I found a workaround for this issue:
Then:
lm = fitlm(X,'Y~x1+x2)
pr = press(X)
rPred = 1-pr/lm.SST
0 Commenti
Vedere anche
Categorie
Scopri di più su Linear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!