The PROC LIFETEST statement invokes the LIFETEST procedure. Optionally, this statement identifies an input data set and an output data set, and specifies the computation details of the survivor function estimation. Table 58.1 summarizes the options available in the PROC LIFETEST statement. These options are described in alphabetic order.
ODS Graphics is the preferred method of creating graphs. Many new features have been added to the ODS Graphics plots. For example, you can display the number of subjects at risk in a survival plot. For information about ODS Graphics options, see the PLOTS= option.
If no plotting options are specified, PROC LIFETEST displays a table that shows the product-limit estimate of the survivor function. If ODS Graphics is enabled, PROC LIFETEST also displays a plot of the estimated survivor function. Other options for displaying the estimated survivor function are documented in the section Plot Options Superseded by ODS Graphics.
Table 58.1: Options Available in the PROC LIFETEST Statement
Option |
Description |
---|---|
Input and Output Data Sets |
|
Specifies the input SAS data set |
|
Names an output data set to contain survival estimates and confidence limits |
|
Names an output data set to contain rank test statistics for association of survival time with covariates |
|
Nonparametric Estimation |
|
Specifies interval endpoints for life-table estimates |
|
Adds the Nelson-Aalen estimates |
|
Specifies the method to compute survivor function |
|
Specifies the number of intervals for life-table estimates |
|
Specifies the width of intervals for life-table estimates |
|
Confidence Limits for Survivorship |
|
Sets the confidence level for interval estimation estimates |
|
Specifies the maximum time for confidence band |
|
Specifies the minimum time for confidence band |
|
Specifies the type of confidence band in the OUTSURV= data set |
|
Specifies the transformation applied to the survivor function to obtain confidence limits |
|
ODS Graphics |
|
Specifies the maximum time value for plotting |
|
PLOTS = |
Specifies plots to display |
Control Output |
|
Adds the number of subjects at risk to the survival estimate table |
|
Suppresses the display of printed output |
|
Suppresses the display of survival function estimates |
|
Displays only the estimate for the smallest time in each interval |
|
Suppresses the Number Left column in the survival estimate table |
|
Specifies a list of time points to display the survival estimate |
|
Specifies that only INTERVAL= or TIMELIST= observations be listed in the OUTSURV= data set |
|
Miscellaneous |
|
Sets the confidence level for survival time quartiles |
|
Allows missing values to be a stratum level |
|
Sets the tolerance for testing singularity of covariance matrix of rank statistics |
|
Outputs the standard error for the survival estimators to the OUTSURV= data set |
|
Specifies the time limit used to estimate the mean survival time and its standard error |