Is there any option which we can give to get the correct censored summary while using weighted statement in proc life test?
It usually helps to show the code you are currently using. That way we can tell if any of your current options are conflicting with what you want to create. Copy you code and paste into a text or code box opened with the </> or "running man" icons above the message window.
For example, having your code would tell me immediately if this from the online documentation of the Weight statement for Proc Lifetest applies:
You can use the WEIGHT statement only for the Kaplan-Meier curves. Other methods of estimating the survival curves using weights are not available.
I am using below code. Output which got from below code sounds correct except censored summary output
ods output CensoredSummary = CENSUM
Quartiles=QUARTS
means = _mean
ProductLimitEstimates = KMEST1;
proc lifetest data=tte_os /*timelist= 3 , 6, 9, 12, 15, 21*/
outsurv=surv2 conftype=loglog /*reduceout*/ ;
time aval*CNSR(1);
strata trtn;
weight imt;
run;
Perhaps you are confusing the WEIGHT statement with the FREQ statement.
The FREQ statement identifies a variable that contains the frequency of occurrence of each observation.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.