Does 'fitglm' use least squares or maximum likelihood to form the fit?

4 ビュー (過去 30 日間)
Richard
Richard 2020 年 9 月 23 日
コメント済み: Richard 2020 年 9 月 28 日
When I run test code, it appears to me that 'fitglm' is using least squares and NOT maximum likelihood. Can you confirm?

採用された回答

Pratyush Roy
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:
  1 件のコメント
Richard
Richard 2020 年 9 月 28 日
Thanks very much for the confirmation. I was surprised that the fitting method was not at least mentioned in the documentation (with references).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by