I want to compare cumulative incidence for two arms of a cohort at time _t and generate confidence interval for the difference.
I have used the following commands to obtain the cumulative incidence for each cohort:
stset timeelapsed, failure(failure) id(hcno)
sts list, failure by(Cohort)
How can I calculate the difference in cumulative incidence (that is the failure function) for Cohort==1 and Cohort==0 and generate a confidence interval for that difference using 500 resamples? Any advice is greatly appreciated
Related Posts with Difference in cumulative incidence and confidence interval
Loops: Creating Dummy Variables from List of Drug NamesI have a list of over 500 drug names, and I'm trying to write a loop to create a dummy variable for …
Help: Multiple constraints for clogitHi, I was wondering if someone could help with defining multiple constraint using clogit. I have St…
Growth model (random slope & intercept) with group interaction - model specificationDear all, I am just learning about multilevel growth models and am still a bit confused about the r…
Survival analysis (failure event)Hello all, I'm a new STATA user and I come to seek for some help. I'm trying to model access to u…
Issues with Dynamic Panel Data with Fixed EffectsGood evening all, I am trying to determine the effect of financialisation on inequality. I have pan…
Subscribe to:
Post Comments (Atom)
0 Response to Difference in cumulative incidence and confidence interval
Post a Comment