Borrar filtros
Borrar filtros

fitglm and its Properties (LogLikelihood....)

4 visualizaciones (últimos 30 días)
Susan Arnold
Susan Arnold el 6 de Mayo de 2016
Comentada: Brendan Hamm el 10 de Mayo de 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 comentario
Brendan Hamm
Brendan Hamm el 10 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by