Previous Page | Next Page

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 7.24.

Table 7.24 Information on Decision Tree Diagram

Information

Labeled by

Stage name for the successor of the link

NL

Outcome name for the link

NL

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=

NL 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:

ANNOTATE=SAS-data-set

CBEST=color

CLINK=color

COMPRESS

CSYMBOLC=color

CSYMBOLD=color

CSYMBOLE=color

CTEXT=color

DESCRIPTION='string'

DOANNOTATE

FTEXT=name

GOUT=SAS-catalog

HSYMBOL=h

HTEXT=h

IMAGEMAP=SAS-data-set

LEGEND

LINKA=i

LINKB=j

LINKC=k

LSTYLE=l

LSTYLEB=l2

LSTYLEC=l3

LWIDTH=w2

LWIDTHB=w2

NAME='string'

NOANNOTATE

NOCOMPRESS

NOLEGEND

NOPAGENUM

NORC

PAGENUM

RC

SYMBOLC=m

SYMBOLD=d

SYMBOLE=n

VSYMBOLC=symbolc-name

VSYMBOLD=symbold-name

VSYMBOLE=symbole-name

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.

Previous Page | Next Page | Top of Page