|
Chapter Contents |
Previous |
Next |
| The LIFETEST Procedure |
| Task | Options | Description |
| Specify Data Set | DATA= | specifies the input SAS data set |
| OUTSURV= | names an output data set to contain survival estimates and confidence limits | |
| OUTTEST= | names an output data set to contain rank test statistics forassociation of survival time with covariates limits | |
| Specify Model | ALPHA= | sets confidence level for survival estimates |
| ALPHAQT= | sets confidence level for survival time quartiles | |
| INTERVALS= | specifies interval endpoints for life table calculations | |
| MAXTIME= | sets maximum value of time variable for plot | |
| METHOD= | specifies method to compute survivor function | |
| MISSING | allows missing values to be a stratum level | |
| NINTERVAL= | specifies number of intervals for life table estimates | |
| SINGULAR= | sets tolerance for testing singularity of covariance matrix of rank statistics | |
| WIDTH= | specifies width of intervals for life table estimates | |
| Control output | CENSOREDSYMBOL= | defines symbol used for censored observations in plots |
| EVENTSYMBOL= | specifies symbol used for event observations in plots | |
| FORMCHAR(1,2,7,9)= | defines characters used for line printer plot axes | |
| LINEPRINTER | specifies that plots are produced by line printer | |
| NOPRINT | suppresses display of output | |
| NOTABLE | suppresses display of survival function estimates | |
| PLOTS= | plots survival estimates |
formchar(1,2,7,9)='B3C4C5C0'x
or system option
formchar='B3C4DAC2BFC3C5B4C0C1D9'x
Refer to the chapter titled "The PLOT Procedure," in the SAS Procedures Guide or the section "System Options" in SAS Language Reference: Dictionary for further information.
| list separated by blanks | intervals=1 3 5 7 | |
| list separated by commas | intervals=1,3,5,7 | |
| x to y | intervals=1 to 7 | |
| x to y by z | intervals=1 to 7 by 1 | |
| combination of the above | intervals=1,3 to 5,7 |
For example, the specification
intervals=5,10 to 30 by 10
produces the set of intervals

By default, METHOD=PL.
By default, PROC LIFETEST does not use observations with missing values for any stratum variables.
Parentheses are required in specifying the plots. For example,
plots = (s)
requests a plot of the estimated survivor function versus time, and
plots = (s(name=Surv2), h(name=Haz2))
requests a plot of the estimated survivor function versus time and a plot of the estimated hazard function versus time, with Surv2 and Haz2 as their catalog names, respectively.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.