Programming the statistical procedures from SAS

Proc Lifetest Output : is there a ODS Table for Deciles (10%, 20%, etc.) like there is for Quartiles ?

Reply
N/A
Posts: 1

Proc Lifetest Output : is there a ODS Table for Deciles (10%, 20%, etc.) like there is for Quartiles ?

I gather there is no such ODS Table.  So does anyone know how the Confidence Intervals are calculated for the Quartiles when expressed in time?  We are trying to replicated the ODS Table for Quartiles and expand it for additional timepoints (10%, 20%, etc.).

Grand Advisor
Posts: 16,931

Re: Proc Lifetest Output : is there a ODS Table for Deciles (10%, 20%, etc.) like there is for Quartiles ?

Tables that might get what you want are ODS LifetableEstimates/ProductLimitEstimates, or the OUTSURV= dataset depending on the method used. I think those estimates should have the CI around them, if not the definition is in the manual, under details>computation formulas, but it depends on the method specified.

The data in the quartiles table will correspond to one of those tables as well, though the exact one escapes me at the moment.

Super Contributor
Posts: 339

Re: Proc Lifetest Output : is there a ODS Table for Deciles (10%, 20%, etc.) like there is for Quartiles ?

Could you provide a sample data and program to tinker with?

In theory, you can modify the template for stat.lifetest.quartiles table to achieve the 10%, 20% etc setup directly with the existing template rather than rebuilding from scratch using the same method to calculate your intervals manually.

I'm not yet familiar enough with proc template and I am still waiting for the proc template book to arrive back at the library at work so I can't be of much further help but if you can provide a working small set of data (it can be one of sashelp datasets) with a basic proc lifetest, I would gladly try to tinker around and provide you with findings.

*at least that's what I understood from proc template

Vincent

Grand Advisor
Posts: 16,931

Re: Proc Lifetest Output : is there a ODS Table for Deciles (10%, 20%, etc.) like there is for Quartiles ?

I don't think you can just change the template here as if there are values that are missing, eg. the curve never actually hits 25% it uses the next largest value, so the data has to be prepared first I would guess.

EDIT: You'd be changing the source data is what I mean to say, and I suppose its possible, but seems way more work than necessary.

Ask a Question
Discussion stats
  • 3 replies
  • 213 views
  • 6 likes
  • 3 in conversation