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