348
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Estimation of median survival time and its 95% confidence interval using SAS PROC LIFETEST

Pages 366-378 | Received 29 Aug 2022, Accepted 18 Apr 2023, Published online: 05 May 2023
 

ABSTRACT

Estimation of median survival and its 95% confidence interval depends on the choice of the survival function, standard error, and a method for constructing the confidence interval. This paper outlines several available possibilities in SAS® (version 9.4) PROC LIFETEST and compares them on theoretical grounds and using simulated data, with criteria: ability to estimate the 95% CI, coverage probability, interval width, and appropriateness for practical use. Data are generated with varying hazard patterns, N, % censoring, and censoring patterns (early, uniform, late, last visit). LIFETEST was run using the Kaplan–Meier and Nelson–Aalen estimators and the transformations available (linear, log, logit, complementary log–log, and arcsine square root). Using the Kaplan–Meier estimator with the logarithmic transformation as well as with the logit leads to a high frequency of LIFETEST not being able to estimate the 95% CI. The combination of Kaplan–Meier with the linear transformation is associated with poor coverage achieved. For small samples, late/last visit censoring has a negative effect on being able to estimate the 95% CI. Heavy early censoring can lead to low coverage of the 95% CI of median survival for sample sizes up to and including N = 40. The two combinations that are optimal for being able to estimate the 95% CI and having adequate coverage are the Kaplan–Meier estimator with complementary log–log transformation, and the Nelson–Aalen estimator with linear transformation. The former fares best on the third criterion (smaller width) and is also the SAS® default and validates the choice of default.

Disclosure statement

No potential conflict of interest was reported by the author.

Additional information

Funding

The author(s) reported that there is no funding associated with the work featured in this article.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.