Previous Page | Next Page

The LIFETEST Procedure

OUTSURV= Data Set

You can specify the OUTSURV= option in the PROC LIFETEST statement to create an output data set containing the following columns:

  • any specified BY variables

  • any specified STRATA variables, their values coming from either their original values or the midpoints of the stratum intervals if endpoints are used to define strata (semi-infinite intervals are labeled by their finite endpoint)

  • STRATUM, a numeric variable that numbers the strata

  • the time variable as given in the TIME statement. In the case of the product-limit estimates, it contains the observed failure or censored times. For the life-table estimates, it contains the lower endpoints of the time intervals.

  • SURVIVAL, a variable containing the survivor function estimates

  • CONFTYPE, a variable containing the name of the transformation applied to the survival time in the computation of confidence intervals (if the OUT= option is specified in the SURVIVAL statement)

  • SDF_LCL, a variable containing the lower limits of the pointwise confidence intervals for the survivor function

  • SDF_UCL, a variable containing the upper limits of the pointwise confidence intervals for the survivor function

If the estimation uses the product-limit method, then the data set also contains the following:

  • _CENSOR_, an indicator variable that has a value 1 for a censored observation and a value 0 for an event observation

  • SDF_STDERR, a variable containing the standard error of the survivor function estimator (if the STDERR option is specified in the PROC LIFETEST statement)

  • HW_LCL, a variable containing the lower limits of the Hall-Wellner confidence bands (if the CONFBAND=HW option or the CONFBAND=ALL option is specified in the PROC LIFETEST statement)

  • HW_UCL, a variable containing the upper limits of the Hall-Wellner confidence bands (if the CONFBAND=HW option or the CONFBAND=ALL option is specified in the PROC LIFETEST statement)

  • EP_LCL, a variable containing the lower limits of the equal-precision confidence bands (if the CONFBAND=EP option or the CONFBAND=ALL option is specified in the PROC LIFETEST statement)

  • EP_UCL, a variable containing the upper limits of the equal-precision confidence bands (if the CONFBAND=EP option or the CONFBAND=ALL option is specified in the PROC LIFETEST statement)

If the estimation uses the life-table method, then the data set also contains the following:

  • MIDPOINT, a variable containing the value of the midpoint of the time interval

  • PDF, a variable containing the density function estimates

  • PDF_LCL, a variable containing the lower endpoints of the PDF confidence intervals

  • PDF_UCL, a variable containing the upper endpoints of the PDF confidence intervals

  • HAZARD, a variable containing the hazard estimates

  • HAZ_LCL, a variable containing the lower endpoints of the hazard confidence intervals

  • HAZ_UCL, a variable containing the upper endpoints of the hazard confidence intervals

Each survival function contains an initial observation with the value 1 for the SDF and the value 0 for the time. The output data set contains an observation for each distinct failure time if the product-limit method is used or an observation for each time interval if the life-table method is used. The product-limit survival estimates are defined to be right continuous; that is, the estimates at a given time include the factor for the failure events that occur at that time.

Labels are assigned to all the variables in the output data set except the BY variable and the STRATA variable.

Previous Page | Next Page | Top of Page