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
create loopHello, I am new to stata and I can't figure out how to use loop (if it is the case) for the followi…
nwcommands: handling survey based network data for several hundred respondentsHello there: I'm preparing to process data for a survey of 500 people. Alongside other standard soci…
Attaching a value label to an integer variable with values greater than Stata’s maximum for long integersI have a CSV file with a field storing SNOMED codes. This is an encoded collection of medical terms,…
Difference-in-Difference, with three treatment groups and one control groupHello everyone, I am trying to do the analysis with diff-in-diff estimation method and bumped into …
No Cointegration with Johansen but VECM shows significant coefficient.Greetings Stata Users. I have one simple question. It exist cointegration betwen variables when the…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping to obtain confidence intervals around differences in failure functions
Post a Comment