You can select one of the following three types of graphics in PROC LIFETEST: ODS, traditional, and line printer. ODS Graphics is the preferred method of creating graphs, superseding the other two.
When ODS Graphics is enabled, you can use the PLOTS= option in the PROC LIFETEST statement to create plots by using ODS Graphics. For more information about ODS Graphics options, see the PLOTS= option in the section PROC LIFETEST Statement.
If ODS Graphics is not enabled and you specify the LINEPRINTER option, line printer plots are produced; otherwise traditional graphics are produced.
Table 70.4 summarizes the ways in which you can request graphics.
Table 70.4: Ways of Displaying Graphics
PLOTS= |
LINEPRINTER |
||
---|---|---|---|
Graphics Result |
ODS Graphics |
Option Specified? |
Option Specified? |
ODS Graphics |
Enabled |
Yes |
No |
ODS Graphics survival plot |
Enabled |
No |
No |
Traditional graphics |
Disabled |
Yes |
No |
Line printer plot |
Enabled |
Yes |
Yes |
Line printer plot |
Disabled |
Yes |
Yes |
No graphics |
Disabled |
No |
No |
No graphics |
Disabled |
No |
Yes |
No graphics |
Enabled |
No |
Yes |
Table 70.5 summarizes the options available in the PROC LIFETEST statement for line printer and traditional graphics.
Table 70.5: Line Printer and Traditional Graphics Options Available in the PROC LIFETEST Statement
Option |
Description |
---|---|
Line Printer Plots |
|
Defines the characters to be used for line printer plot axes |
|
Specifies that plots be produced by a line printer |
|
Specifies the maximum time value for plotting |
|
Suppresses the plot of censored observations |
|
Specifies the plots to display |
|
Traditional Graphics |
|
Specifies an Annotate data set that adds features to plots |
|
Defines the symbol to be used for censored observations in plots |
|
Specifies the string that appears in the description field of the PROC GREPLAY master menu for the plots |
|
Specifies the symbol to be used for event observations in plots |
|
Specifies the graphics catalog name for saving graphics output |
|
Specifies an input data set that contains variables for local annotation |
|
Specifies the maximum time value for plotting |
|
Specifies the plots to display |
The following options are used to produce line printer and traditional graphics:
Line Printer PLOTS= Option
Traditional Graphics PLOTS= Option