- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a data with the Time and Survival variables. I am wondering how I can calculate the 95% confidence interval of the Survival probabilities. I found this in Excel ( http://www.real-statistics.com/survival-analysis/kaplan-meier-procedure/confidence-interval-for-the-...), but I am curious if it can be done with SAS in an easier way?
My data looks like this:
Time Survival
0 1
1 0.99212
2 0.93231
3 0.91655
4 0.96456
…
Thanks,
gib
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you're using PROC LIFETEST then you can use the SURVOUT option on PROC LIFETEST. This will output a dataset with the KM estimates and the confidence intervals. There's similar options if you're using LIFEREG or PHREG procedures.
@Gib wrote:
Hi,
I have a data with the Time and Survival variables. I am wondering how I can calculate the 95% confidence interval of the Survival probabilities. I found this in Excel ( http://www.real-statistics.com/survival-analysis/kaplan-meier-procedure/confidence-interval-for-the-...), but I am curious if it can be done with SAS in an easier way?
My data looks like this:
Time Survival
0 1
1 0.99212
2 0.93231
3 0.91655
4 0.96456
…
Thanks,
gib