SAVE Subcommand (PLUM command)

The SAVE subcommand puts casewise post-estimation statistics back into the active file.

  • The new variables must have valid variable names that are not in use in the working file.
  • The rootname must be a valid variable name.
  • The new variables are saved to the working file in the order the keywords are specified on the subcommand.

ESTPROB. Estimated probabilities of classifying a factor/covariate pattern into the response categories. The predicted probabilities of the first n categories are saved. The default number of categories is 25. To specify a number of categories without a rootname, put a colon before the number.

PREDCAT. The response category that has the maximum expected probability for a factor/covariate pattern.

PCPROB. Estimated probability of classifying a factor/covariate pattern into the predicted category. This probability is the maximum of the estimated probabilities of the factor/covariate pattern.

ACPROB. Estimated probability of classifying a factor/covariate pattern into the actual category.

Example

PLUM
  chist  BY numcred othnstal
  /CRITERIA = CIN(95) DELTA(0) LCONVERGE(0) MXITER(100) MXSTEP(5)
              PCONVERGE(0)
  /SAVE = ACPROB(correct) PRPROB.
  • SAVE specifies that the estimated probabilities of correctly classifying each case should be saved to the variable correct. The estimated probabilities of classifying each case into the predicted category are saved to the default variable pcp_k, where k is the smallest integer for which pcp_k does not already exist.