SAVE Subcommand (CSLOGISTIC command)
The SAVE
subcommand
writes optional model variables to the active dataset.
- Specify one or more temporary variables, each variable followed by an optional new name in parentheses.
- The optional names must be unique, valid variable names.
- If new names are not specified,
CSLOGISTIC
generates a name using the temporary variable name with a suffix.
PREDPROB. Predicted probability. The user-specified or default name is treated as the rootname, and a suffix is added to get new unique variables names. The rootname can be followed by a colon and a positive integer giving the number of predicted probabilities to save. The predicted probabilities of the first n response categories are saved. One predicted probability variable can be saved for each category of the dependent variable. The default rootname is PredictedProbability. The default n of predicted probabilities to save is 25. To specify n without a rootname, enter a colon before the number.
PREDVAL. Predicted value. The class or value that is predicted by the model. The optional variable name must be unique. If the default name is used and it conflicts with existing variable names, a suffix is added to the default name to make it unique. The default variable name is PredictedValue.