proc surveyphreg data= data varmethod = TAYLOR;
strata SDMVSTRA;
cluster SDMVPSU;
weight weight6;
model PERMTH_int*dead(0) =CLASS4/ eventcode=1 rl;
run;
@Rick_SAS I am also wondering if there is a way in SAS to implement competing risk for survey data? I will be working on survey data and there doesn't seem to be much information online.
unfortunately, PROC SURVEYPHREG does not have the EVENTCODE= option (like PROC PHREG does) to enable a competing risks analysis. You could try using PHREG with a WEIGHT statement; the parameter estimates would be the same but not the standard errors as from SURVEYPHREG.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.