Does 'fitglm' use least squares or maximum likelihood to form the fit?
5 views (last 30 days)
Show older comments
When I run test code, it appears to me that 'fitglm' is using least squares and NOT maximum likelihood. Can you confirm?
0 Comments
Accepted Answer
Pratyush Roy
on 28 Sep 2020
The 'fitglm' function makes use of the “Iteratively Reweighted Least Squares” method to find the regression coefficients in the maximum likelihood stage of the function.
The MATLAB documentation link of 'fitglm' lists a few reference books which have more information regarding this:
More Answers (0)
See Also
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!