Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
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 3.24.

Table 3.24: Information on Decision Tree Diagram
Information Labeled by
stage name for the successor of the linkNL*
outcome name for the linkNL*
probability of the outcomep=
value can be expected from the successorEV=
instant reward of the outcomer=
cumulative rewards of outcomes on the path that leads to the successorcr=

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)GRAPHICSLABEL
LINEPRINTERMAXPREC=dMAXWIDTH=mw
NOLABELNWIDTH=nwYBETWEEN=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-setCBEST=colorCLINK=color 
COMPRESSCSYMBOLC=colorCSYMBOLD=color 
CSYMBOLE=colorCTEXT=colorDESCRIPTION=`string' 
DOANNOTATEFTEXT=nameGOUT=SAS-catalog 
HSYMBOL=hHTEXT=hIMAGEMAP=SAS-data-set 
LEGENDLINKA=iLINKB=j 
LINKC=kLSTYLE=lLSTYLEB=l2 
LSTYLEC=l3LWIDTH=w2LWIDTHB=w2 
NAME=`string'NOANNOTATENOCOMPRESS 
NOLEGENDNORCRC 
SYMBOLC=mSYMBOLD=dSYMBOLE=n 
VSYMBOLC=symbolc-nameVSYMBOLD=symbolc-nameVSYMBOLE=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
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.