Effacer les filtres
Effacer les filtres

fitglm and its Properties (LogLikelihood....)

4 vues (au cours des 30 derniers jours)
Susan Arnold
Susan Arnold le 6 Mai 2016
Commenté : Brendan Hamm le 10 Mai 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 commentaire
Brendan Hamm
Brendan Hamm le 10 Mai 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by