What formula for r-squared does fitlm use in the weighted linear regression case?
9 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!