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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1526 views
  • 2 likes
  • 2 in conversation