The logistic regression procedures can fit models with:
Model continuous predictors as covariates and categorical predictors as factors. Here are some examples. A is a factor and X is a covariate.
A X A*X |
fits a full model with a covariate crossed with a factor |
A | X |
an alternative way to specify the previous model |
A X X*X |
fits a model with a covariate crossed with itself making a squared term |
A X(A) |
fits a model with a covariate nested within a factor |
The model for logistic regression is a generalization of the model used in Minitab's general linear model (GLM) procedure. Any model fit by GLM can also be fit by the logistic regression procedures. For a discussion of specifying models in general, see Specifying the Model Terms and Specifying Reduced Models. In the logistic regression commands, Minitab assumes any variable in the model is a covariate unless the variable is specified as a factor. In contrast, GLM assumes that any variable in the model is a factor unless the variable is specified as a covariate. Be sure to specify which predictors are factors in the main dialog box.
Logistic regression models in Minitab have the same restrictions as GLM models: