BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ejulianne
Calcite | Level 5

Hello, I am trying to use proc iclifetest statement to obtain KM estimates and their 95% pointwise bootstrap confidence interval. I have already been able to obtain my KM estimates survival curve using proc lifetest. The problem is my code is not working based on the options given by SAS for proc iclifetest and there are no examples of using this procedure to obtain the bootstrap confidence interval, only specified options. 

 

My code:

proc iclifetest data=A  bootstrap(nboot=500) (seed=0);
time survival*died(0);
run;

 

This is the code I used to produce my survival curve: 

 

proc lifetest data=A(where=(B<>'High')) plot=survival(cl cb=hw);
time survival*died(0);
run;

 

Any help is appreciated. Thank you. 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

The Getting Started example from the procedure's documentation is worth reading.

Put all bootstrap options inside the paentheses:

proc iclifetest data=A  bootstrap(nboot=500 seed=123) plots=(survival);

 

The TIME statement requires that you specify two variables in parentheses:

time (Left, Right);

The first variable gives the left-hand bounds and the second variable gives the right-hand bounds of the interval for the event, with missing values used to represent censored values.

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

The Getting Started example from the procedure's documentation is worth reading.

Put all bootstrap options inside the paentheses:

proc iclifetest data=A  bootstrap(nboot=500 seed=123) plots=(survival);

 

The TIME statement requires that you specify two variables in parentheses:

time (Left, Right);

The first variable gives the left-hand bounds and the second variable gives the right-hand bounds of the interval for the event, with missing values used to represent censored values.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1510 views
  • 2 likes
  • 2 in conversation