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