I am trying to calculate a survival rate and corresponding 95% CI from PROC LIFETEST. Is there an ODS data set I can grab that has these?
As I understand it, the survival rate should be the rate at the last observation, right? If so, my survival rate is .0938. But how can I get an 95% CI to go along with that?
Thanks
| 50.000 | 0.9167 | 0.0833 | 0.0798 | 1 | 11 | |
| 51.000 | 0.8333 | 0.1667 | 0.1076 | 2 | 10 | |
| 52.000 | 0.7500 | 0.2500 | 0.1250 | 3 | 9 | |
| 53.000 | * | 3 | 8 | |||
| 106.000 | 0.6563 | 0.3438 | 0.1402 | 4 | 7 | |
| 114.000 | 0.5625 | 0.4375 | 0.1482 | 5 | 6 | |
| 120.000 | 0.4688 | 0.5313 | 0.1503 | 6 | 5 | |
| 126.000 | 0.3750 | 0.6250 | 0.1466 | 7 | 4 | |
| 162.000 | 0.2813 | 0.7188 | 0.1367 | 8 | 3 | |
| 163.000 | 0.1875 | 0.8125 | 0.1190 | 9 | 2 | |
| 164.000 | 0.0938 | 0.9063 | 0.0891 | 10 | 1 | |
| 168.000 | * | 10 | 0 |
Try the OUTSURV option on the PROC LIFETEST statement.
Try the OUTSURV option on the PROC LIFETEST statement.
Thanks, Reeza, it was there!
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.