Chapter Contents |
Previous |
Next |
The DTREE Procedure |
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 3.24.
Table 3.24: Information on Decision Tree DiagramInformation | 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= |
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. Please see the "Displaying the Decision Tree" section 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 | NORC | RC | |
SYMBOLC=m | SYMBOLD=d | SYMBOLE=n | |
VSYMBOLC=symbolc-name | VSYMBOLD=symbolc-name | VSYMBOLE=symbolc-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.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.