PLOT Subcommand (TREE command)

The PLOT subcommand generates charts that may help you evaluate your tree model. The subcommand name is followed by an equals sign (=) and any or all of the following chart types:

GAIN. Line chart of percentage gain. The chart shows percentage gain for each target category of the dependent variable. GAIN is available only for categorical dependent variables with target categories defined on the DEPCATEGORIES subcommand.

RESPONSE. Line chart of response. The chart shows percentage of responses for each target category of the dependent variable. RESPONSE is available only for categorical dependent variables with target categories defined on the DEPCATEGORIES subcommand.

INDEX. Line chart of index percent. The chart shows index percent (lift). INDEX is available only for categorical dependent variables with target categories defined on the DEPCATEGORIES subcommand.

MEAN. Line chart of mean value for scale dependent variables. If the dependent variable is categorical, this keyword is ignored and a warning is issued.

PROFIT. Line chart of average profit for categorical dependent variables. If profits are not defined or the dependent variable is scale, this keyword is ignored and a warning is issued. See the topic PROFITS Subcommand (TREE command) for more information.

ROI. Line chart of ROI (return on investment). ROI is computed as the ratio of profits to expenses. If profits are not defined or the dependent variable is scale, this keyword is ignored and a warning is issued.

IMPORTANCE. Bar chart of model importance by predictor. IMPORTANCE is available for CRT models only; otherwise the keyword is ignored and a warning is issued.

Example

TREE risk [o] BY income age creditscore
 /METHOD TYPE=CRT
 /DEPCATEGORIES TARGET=[1]
 /PLOT=IMPORTANCE GAIN INDEX INCREMENT=5.

INCREMENT Keyword

The INCREMENT keyword controls the width of percentile group charts.

  • The keyword is followed by an equals sign (=) and one of the following values: 1, 2, 5, 10, 20, or 25. If a different value is specified a warning is issued and the default increment is used.
  • INCREMENT is ignored for the predictor importance chart.