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 CenterFile Exchange에서 Statistics 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