BookmarkSubscribeRSS Feed
yunfat
Calcite | Level 5

Hi,

I would like to estimate direct adjusted survival curve for interval censored data using ICPHREG.

Unlike PHREG, ICPHREG doesn't have an option DIRADJ.

I calculated the point estimate by simply taking the mean of all the estimated survival probability using covariates in the dataset. However, I have no idea how to calculate SE of the estimated survival probability...

Here is my code;

data cov;
set &DS;
keep age_at_1stvisit SBP HDLCh TG BS UA &VA;
if (SBP=. or HDLCh=. or TG=. or BS=. or UA=.) then delete;
&VA=0; output;
&VA=1; output;
run;

 

proc icphreg data=&DS ;
class &VA (ref=first);
model (lower, upper) = age_at_1stvisit &VA SBP HDLCh TG BS UA / basehaz=splines (DF=1);
baseline out=a covariates=cov timelist=10 survival=s ;
run;

 

proc sort data=a;
by &VA;
run;

 

proc means data=a;
class &VA;
var s ;
output out=b mean=;
run;

 

proc print data=a;
run;

 

Thank you in advance!

Mitsuko

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
  • 0 replies
  • 288 views
  • 0 likes
  • 1 in conversation