Using Generalize​dLinearMod​el.stepwis​e

5 visualizzazioni (ultimi 30 giorni)
stephen
stephen il 12 Giu 2012
Has anybody else had trouble using this function? I am getting an error saying:
Undefined variable "GeneralizedLinearModel" or class "GeneralizedLinearModel.stepwise".
Here is my code: logit_step = GeneralizedLinearModel.stepwise(X_train,Y_train);
I have the statistics toolbox installed. I am able to use other functions like mnrfit.m. Any help would be appreciated.
Stephen

Risposte (1)

Sean de Wolski
Sean de Wolski il 12 Giu 2012
What version of MATLAB are you using?
The statistical model classes were introduced in R2012a.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by