Azzera filtri
Azzera filtri

fitglm and its Properties (LogLikelihood....)

4 visualizzazioni (ultimi 30 giorni)
Susan Arnold
Susan Arnold il 6 Mag 2016
Commentato: Brendan Hamm il 10 Mag 2016
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 Commento
Brendan Hamm
Brendan Hamm il 10 Mag 2016
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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by