When I do survival analysis,all strata have events, but why still got this warning: "The likelihood ratio test for strata homogeneity is questionable since some strata have no events." ?
Log as below:
Output Added:
-------------
Name: HomTests
Label: Homogeneity Tests
Template: Stat.Lifetest.HomTests
Path: Lifetest.ByGroup3.StrataHomogeneity.HomTests
-------------
WARNING: The likelihood ratio test for strata homogeneity is questionable since some strata have no events.
My code as below, in my dataset cnsr value inclued (0 1), and all trt01an have events(0 1). Why still got this warning? What the meaning?
Does it affect other analyses like ProductLimitEstimates, Quartiles etc. ? Is this survival analysis still valid?
proc lifetest data=adtte timelist=(0 to 20 by 2) atrisk outsurv=surviv reduceout;
by TYPEN;
time aval*cnsr(1);
strata trt01an;
run;
Thanks for your reply, 'aval' and 'cnsr' both have no missing value, but some 'TYPEN' dosn't has all trt01an*cnsr, is that what's causing this? If so how to solve it?
For example,trt01an value inclued(1 2), cnsr value inclued(0 1). I mean some 'TYPEN' only has (trt01an=1 and cnsr=0) ,(trt01an=1 and cnsr=1) ,(trt01an=2and cnsr=0) , dosn't has (trt01an=2and cnsr=1), right?
If so, but in aother dataset, it's a similar situation, The log has no warning.
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.