I have a longitudinal dataset with 2 matched cohorts (Cohort==1 & Cohort==0) in a ratio of 1:3 that I am following longitudinally until a failure/event occurs.
I want to compare failure functions (cumulative incidence) at a time _t between the 2 cohorts
To set my data I use:
stset timeelapsed, failure(failure) id(id)
then I use
sts list, failure by(Cohort) saving(KM)
to get the failure function result for each cohort at a time _t
I want to sample from these cohorts 500 matched individuals and do 500 bootstraps of the difference in failure functions to get an estimate of the difference in cumulative incidence and related 95% confidence interval at each time point _t.
Any advice?
Related Posts with Bootstrapping to obtain confidence intervals around differences in failure functions
How to replace an observations if one date variable is after another date variableHi all, Can anyone please assist with the following problem? I am currently working on a hospital …
various small questionsHello, first of all I would like to thank you all for all the help I have been getting through this…
T-tests and dummy variablesHi! I'm pretty new to Stata and statistical analyses in general, so sorry in advance if something I…
First non zero integerHi, I have a sample with 667 variables. I want to replace the observations of variable 3 till varia…
Heckman selection model with Blinder-Oaxaca DecompositionI am trying to decompose the log wage gap between the non-disabled (DISTYPE = 1) and work-limited di…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping to obtain confidence intervals around differences in failure functions
Post a Comment