where is fitglm function in statistic Toolbox of 2013a

1 visualización (últimos 30 días)
Bassam
Bassam el 16 de Oct. de 2013
Respondida: Shi Shu el 7 de En. de 2014
The Matlab doc online refers to 'fitglm'. However, I can't seem to find this function in the statistic Toolbox of 2013a. What am I missing?
I have the statistics toolbox installed. Other functions like lassoglm and glmfit work. but fitglm doesn't seem to exist when I type 'which fitglm'
  1 comentario
Shi Shu
Shi Shu el 7 de En. de 2014
I have the same problem and I found a way around. In 2013a, there is no fitlm, nor fitglm. The function to use are: LinearModel.fit and GeneralizedLinearModel.fit. Good luck!

Iniciar sesión para comentar.

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 16 de Oct. de 2013
fitglm was introduced in R2013b release. Here is the release notes:
fitglm is a convenience function that enables you to fit generalized linear models. Alternatively you can call: GeneralizedLinearModel.fit

Más respuestas (2)

sixwwwwww
sixwwwwww el 16 de Oct. de 2013
Dear Bassam, Use "ver" at command window to check whether you have statistics Toolbox installed or not. If it is not installed then try to install it and then you can use "fitglm"
  2 comentarios
Bassam
Bassam el 16 de Oct. de 2013
I have the statistics toolbox installed, sorry if that wasn't clear. other functions like lassoglm and glmfit work. but fitglm doesn't seem to exist when I type 'which fitglm'
sixwwwwww
sixwwwwww el 16 de Oct. de 2013
Dear Bassam, it's ok. I am not sure what could be the issue. Maybe there was some install time problem. I checked and I have fitglm.m. Maybe you can try to uninstall and install stats toolbox again can solve the issue

Iniciar sesión para comentar.


Shi Shu
Shi Shu el 7 de En. de 2014
I have the same problem and I found a way around. In 2013a, there is no fitlm, nor fitglm. The function to use are: LinearModel.fit and GeneralizedLinearModel.fit. Good luck!

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by