-
ARRANGE=name
ARRANGEMENT=name
METHOD=name
-
specifies the algorithm for laying out the variables in the path diagram. You can specify the following names:
- FLOW
specifies the process-flow algorithm.
- GRIP
specifies the graph drawing with intelligent placement (GRIP) algorithm.
- GROUPEDFLOW
specifies the grouped-flow algorithm.
By default, ARRANGE=GRIP. For more information and for general uses of these layout algorithms, see the section The Process-Flow, Grouped-Flow, and GRIP Layout Algorithms in Chapter 33, The CALIS Procedure.
-
DESIGNHEIGHT=h
DH=h
sets the height of the path diagram, in number of pixels, where h is between 100 and 10,922. The default height is 600 pixels. Typically, you might want to set a larger design height and width when your path diagram contains more nodes or variables.
-
DESIGNWIDTH=w
DW=w
sets the width of the path diagram, in number of pixels, where w is between 100 and 10,922. The default width is 600 pixels. Typically, you might want to set a larger design width and height when your path diagram contains more nodes or variables.
-
DIAGRAMLABEL=name
DLABEL=name
-
specifies the label of the path diagram. You can use any valid SAS name or quoted string of up to 256 characters for name. However, ODS uses only up to 40 characters of the label. The following statements show two example label specifications:
pathdiagram diagramlabel=MyCausalModel;
pathdiagram diagramlabel="Model of the Data Generating Process";
If you do not specify this option, PROC CAUSALGRAPH uses the name that the TITLE= option provides. If you specify neither the DIAGRAMLABEL= option nor the TITLE= option, PROC CAUSALGRAPH uses "Path Diagram: model-label" for the path diagram label, where model-label is the label for the model that is depicted in the diagram.
-
LABEL= [varlabel <, varlabel …>] | {varlabel <, varlabel …>}
-
specifies the labels of variables to be displayed in path diagrams, where each varlabel has the following form:
You can use any valid SAS names or quoted strings of up to 256 characters for labels. The labels provide alternative text for the corresponding variables in the causal model. For example, instead of using original variable names such as x1 in the path diagram, the following statement specifies the use of more meaningful labels:
pathdiagram label=[x1="Math Ability"];
If you do not specify a label for a variable, the name of the variable is used in the output path diagram.
-
MODEL={label <, label …>}
MODEL=[label <, label …>]
MODEL=(label <, label …>)
MODEL=label
requests path diagrams for a list of models, which are specified by their associated labels. By default, each PATHDIAGRAM statement produces a path diagram for all models in the analysis. This option is useful if you want to restrict the path diagram output to a particular set of models.
-
NOTITLE
suppresses the display of the default title. You can use the TITLE= option to provide your own title.
-
SCALE=n
DIAGRAMSCALE=n
-
specifies the scaling factor, n, for the node size relative to the dimensions of the path diagram. Valid values of n are between 0 and 6, inclusive. This option applies to the ARRANGE=GRIP layout only.
PROC CAUSALGRAPH uses certain default pixel dimensions for the nodes in path diagrams that have default design dimensions (see the DESIGNHEIGHT= and DESIGNWIDTH= options for the default design dimensions). The ratio of this node dimension to the design dimension defines the point at which SCALE=1. Values of n greater than 1 enlarge the nodes (relative to the design dimensions), and values of n less than 1 shrink the nodes (relative to the design dimensions). Hence, you can accommodate more nodes (variables) in your path diagram by specifying smaller SCALE= option values.
If you use the GRIP layout algorithm, PROC CAUSALGRAPH automatically adjusts the SCALE= option value according to the number of nodes in the path diagram, as shown in the following table:
| Number of Nodes |
SCALE= |
| 14 or less |
1.00 |
| 15–19 |
0.95 |
| 20–24 |
0.90 |
| 25–29 |
0.85 |
| 30–34 |
0.80 |
| 35–39 |
0.75 |
| 40–44 |
0.70 |
| 45–49 |
0.65 |
| 50–59 |
0.60 |
| 60–69 |
0.55 |
| 70 or more |
0.50 |
These default values are also applied if you specify DIAGRAMSCALE=0. Although these values yield reasonable relative node sizes in most situations, you can always adjust the relative node size by setting the SCALE= option value manually. For example, if your path diagram contains 33 nodes and some nodes appear to be overlapping, then you can consider setting a SCALE= option value of less than 0.8. When you are satisfied with the SCALE= option value, you can improve the resolution of the path diagram by using the DESIGNHEIGHT= and DESIGNWIDTH= options.
-
TEXTSIZEMIN=i
specifies the minimum text size, i, in the output path diagram. Valid values of i are between 4 and 40. The default is 10, for the 10-point font size.
-
TITLE=name
specifies the title of the path diagram. You can use any valid SAS name or a quoted string of up to 256 characters for name. If you do not specify this option, PROC CAUSALGRAPH uses "Path Diagram: model-label" for the diagram title, where model-label is the label for the model that is depicted in the diagram.