fitglm and its Properties (LogLikelihood....)
조회 수: 4 (최근 30일)
이전 댓글 표시
How can I insert the properties (i.e LogLikelihood and coefficientCovarience) of "fitglm" in matlab for the following example:
load hospital
ds = hospital; % just to use the ds name
modelspec = 'Smoker ~ Age*Weight*Sex - Age:Weight:Sex';
mdl = fitglm(ds,modelspec,'Distribution','binomial')
댓글 수: 1
Brendan Hamm
2016년 5월 10일
These are read-only properties which are determined at the time of the fit. You would never want to supply these as they are calculated from the data.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!