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
Latent Class analyses and repeated measuresGood Morning, I'm Tommaso Salvitti, a researcher at ISS I am attempting to develop a latent growth c…
Latent Class analyses and repeated measures Good Morning, I'm Tommaso Salvitti, a researcher at ISS I am attempting to develop a latent growth …
Keep variables if they contain at least one word of a given listHello Stata Community I have a very big number of observations and I want to filter out the ones wh…
Can someone tell me why the variable 'id' can't be found please?sum HH1 HH2 LN // HH1=cluster number, HH2=household number, LN=line number (child in household) gen …
Serial correlation test with unbalanced panel data (stock prices)Hi, I am new to Stata and wanting to test for serial correlation in stock prices across the years 1…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping to obtain confidence intervals around differences in failure functions
Post a Comment