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
Help for DCCE-GMM Stata commandHello ! I have a panel data with cross sectional dependence.and I want to estimate dynamic heterogen…
Dealing with line breaks in observationsI have data where each drug ID corresponds to multiple patent numbers in a single observation, for i…
Generating continuous variable indicating child's age.Hello Statalist, My dataset includes variables indicating: Birth year of child (q7004y) Survey yea…
Match each treated country to a non-treat country that is adjacent and has the closest crime rate in year t-1Dear StataList-ers! Help! I need somebody! My question is very basic but I’m absolutely lost. I am …
Group by order of event occurrenceHi, It may be a relatively simple problem to order dates, but I cannot find an elegant solution. I h…
Subscribe to:
Post Comments (Atom)
0 Response to Difference in cumulative incidence and confidence interval
Post a Comment