Does 'fitglm' use least squares or maximum likelihood to form the fit?
5 次查看(过去 30 天)
显示 更早的评论
When I run test code, it appears to me that 'fitglm' is using least squares and NOT maximum likelihood. Can you confirm?
0 个评论
采纳的回答
Pratyush Roy
2020-9-28
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:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!