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
infix usingHi, I am working with HCUP NIS data files. I get "using required". I don't know why! /**********…
Extracting subset date from a timestamp date variableDear Colleagues Please help: I am trying to extract the first 8 characters (NEWdate) from a date fo…
Extracting subset date from a timestamp date variableDear Colleagues Please help: I am trying to extract the first 8 characters (NEWdate) from a date fo…
Calculate Difference between Last and First Observation in Time Series DataHello Statalist members, I want to calculate the difference between the last and first observations…
bsqreg with fixed effectHi everyone, Is there an alternative to xtqreg with Bootstrapped errors? When I use bsqreg, I can n…
Subscribe to:
Post Comments (Atom)
0 Response to Difference in cumulative incidence and confidence interval
Post a Comment