CLASSPLOT Subcommand (LOGISTIC REGRESSION command)

CLASSPLOT generates a classification plot of the actual and predicted values of the dichotomous dependent variable at each step.

  • Keyword CLASSPLOT is the only specification.
  • If CLASSPLOT is not specified, plots are not generated.

Example

LOGISTIC REGRESSION VARIABLES = PROMOTED WITH JOBTIME RACE
 /CATEGORICAL RACE
 /CLASSPLOT.
  • A logistic regression model is constructed for the dichotomous dependent variable PROMOTED and the independent variables JOBTIME and RACE.
  • CLASSPLOT produces a classification plot for the dependent variable PROMOTED. The vertical axis of the plot is the frequency of the variable PROMOTED. The horizontal axis is the predicted probability of membership in the second of the two levels of PROMOTED.