How can I obtain the regression statistics for weighted least squares regression in MATLAB?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 18 Oct 2013
Answered: MathWorks Support Team
on 12 Nov 2014
I am performing weighted least squares regression using "lscov", and want the function to return the diagnostic statistics in the output. These statistics are available in "regstats", but "regstats" does not do weighted regression.
Accepted Answer
MathWorks Support Team
on 18 Oct 2013
The ability to retrieve diagnostic statistics for weighted least squares regression in "lscov" is not available in MATLAB.
In the Statistics and Machine Learning Toolbox, these statistics are available by using the "fitlm", "fitglm", and "fitnlm" functions.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!