Programming the statistical procedures from SAS

How SAS calculates median survival time

Reply
New Contributor
Posts: 4

How SAS calculates median survival time

 

On page 3130 of the SAS 9.2 Proc Lifetest user's guide, the median survival time is defined as the minimum time in which the survival probability is less than but does not include 50%.

 

What I learned from graduate school and online sources is that median survival time is the minimum time in which the survival probability is less than or equal to 50%.

 

Why does SAS define median survival time as when survival probability is less than 50% while other sources define median survival time as less than or equal to 50%?

 

Grand Advisor
Posts: 16,875

Re: How SAS calculates median survival time

Can you point to the reference in the online docs? Not many people will have the 9.2 PDF or paper version. 

New Contributor
Posts: 4

Re: How SAS calculates median survival time

Valued Guide
Posts: 2,108

Re: How SAS calculates median survival time

I've seen it both ways.  For instance, "It means that the chance of surviving beyond that time is 50 percent." (https://www.verywell.com/median-survival-ms-2252158) would use the <50% than approach.

 

The problem is that the definition is based on a continuous distribution and the data are discrete, so the people who implement the definition have to make a choice.  The choice doesn't matter very much unless you have so few failures that the distribution is unstable to begin with.

New Contributor
Posts: 4

Re: How SAS calculates median survival time

Thanks. How would having very few failures specifically affect what is the median survival time?

Valued Guide
Posts: 2,108

Re: How SAS calculates median survival time

Basically few failures means few subjects.  Anytime you have a small sample size you risk an unstable estimator or, more precisely, one with a wide confidence or credible interval.

New Contributor
Posts: 4

Re: How SAS calculates median survival time

Does this mean that the median survival time could be inaccurate when the sample size is small?

Grand Advisor
Posts: 16,875

Re: How SAS calculates median survival time

It's not a matter of accurate vs inaccurate they're all estimates. But look at the confidence intervals when you have a large N vs small N. 

Ask a Question
Discussion stats
  • 7 replies
  • 165 views
  • 1 like
  • 3 in conversation