Does 'fitglm' use least squares or maximum likelihood to form the fit?
조회 수: 9 (최근 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!