fitglm and its Properties (LogLikelihood....)

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
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개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

태그

질문:

2016년 5월 6일

댓글:

2016년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by