What formula for r-squared does fitlm use in the weighted linear regression case?
Mostra commenti meno recenti
If I use fitlm as:
mdl = fitlm(X,Y,'Weights',W);
can someone tell me the formula used in computing the r-squared that's here:
mdl.Rsquared.Ordinary
I am seeing a different result when compared to JMP. Thanks.
Risposte (1)
Matt J
il 7 Feb 2024
0 voti
It is as described here,
Categorie
Scopri di più su Resampling Techniques in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!