필터 지우기
필터 지우기

fitglm and its Properties (LogLikelihood....)

조회 수: 4 (최근 30일)
Susan Arnold
Susan Arnold 2016년 5월 6일
댓글: Brendan Hamm 2016년 5월 10일
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개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by