The DTREE Procedure

TREEPLOT Statement

  • TREEPLOT / options;

The TREEPLOT statement plots the current decision tree (a diagram of the decision problem). Each path in the decision tree represents a possible scenario of the problem. In addition to the nodes and links on the decision tree, the information for each link that can be displayed on the diagram is listed in Table 10.

Table 10: Information on Decision Tree Diagram

Information Labeled by
Stage name for the successor of the link NLcubed
Outcome name for the link NLcubed
Probability of the outcome p=
Value can be expected from the successor EV=
Instant reward of the outcome r=
Cumulative rewards of outcomes on the path that leads to the successor cr=


Superscript 3NL denotes that this information is not labeled.

If necessary, the outcome names and the stage names are displayed above the link, and other information (if there is any) is displayed below the link. The DISPLAY= option can be used to control which information should be included in the diagram. The NOLABEL can be used to suppress the displaying of the labels.

If the LINEPRINTER option is used, the decision nodes, chance nodes, and the end nodes are represented by the characters 'D', 'C', and 'E', respectively. The links are displayed using the specifications of the FORMCHAR= option. See the section PROC DTREE Statement for more details. In graphics mode, the control of the appearances of nodes and links is more complex. See the section Displaying the Decision Tree for more information.

The following options that can appear in the PROC DTREE statement can also be specified in the TREEPLOT statement:

DISPLAY=(information-list) GRAPHICS LABEL
LINEPRINTER MAXPREC=d MAXWIDTH=mw
NOLABEL NWIDTH=nw YBETWEEN=ybetween <units>

The following line-printer options that can appear in the PROC DTREE statement can also be specified in the TREEPLOT statement if the LINEPRINTER option is specified:

FORMCHAR<(syni-list)>='formchar-string'

Moreover, the following graphics options that can appear in the PROC DTREE statement can also be specified in the TREEPLOT statement if the GRAPHICS option is specified:

The options specified in this statement are in effect only for this statement, and they may override the options specified in the PROC DTREE statement.

Last updated: April 11, 2025