The weight statement in proc lifetest can not output weighted ods table of CENSOREDSUMMARY.
Any clue?
Thanks!
ods exclude PRODUCTLIMITESTIMATES;
ODS OUTPUT QUARTILES = SURVQTLE CENSOREDSUMMARY = SURVNUM;
ods graphics on;
PROC LIFETEST DATA=_adtte METHOD=KM ALPHA = 0.05 plots=survival(atrisk);
strata trtpn;
TIME aval1*CNSR(1);
weight ipw;
RUN;
ods graphics off;
Hello,
Not sure if there's a "way around" here...
Documentation WEIGHT statement (LIFETEST procedure) says :
You can use the WEIGHT statement only for the Kaplan-Meier curves. Other methods of estimating the survival curves using weights are not available.
Documentation "CensoredSummary" ODS Table Name (LIFETEST procedure) says :
CensoredSummary | Number of event and censored observations | PROC | METHOD=BRESLOW | FH | PL |
I am / was looking at SAS 94 M7 documentation.
Regards,
Koen
From the documentation it appears that the CensoredSummary depends on Method used and your method is not one of them.
CensoredSummary |
Number of event and censored observations |
PROC LIFETEST METHOD=PL | B | FH |
Hello,
Not sure if there's a "way around" here...
Documentation WEIGHT statement (LIFETEST procedure) says :
You can use the WEIGHT statement only for the Kaplan-Meier curves. Other methods of estimating the survival curves using weights are not available.
Documentation "CensoredSummary" ODS Table Name (LIFETEST procedure) says :
CensoredSummary | Number of event and censored observations | PROC | METHOD=BRESLOW | FH | PL |
I am / was looking at SAS 94 M7 documentation.
Regards,
Koen
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.