I have a quite simple problem that I do not succeed to resolve.
I have a cohort of about 500 patients followed at a kidney stone clinic with a variable indicating the time of follow up and two additional variables with the number of renal colics and stones these patients developed during the follow up period.
I want to calculate incidence rates of both colics and stones with 95% confidence intervals.
When I use the STATA ir command this is only possible when entering an exposure variable but not for the overall population. Therefore, it is not possible to obtain the incidence rates with 95% CI for the overall cohort.
Calculation of incidence rates is also possible with the stptime and strate commands after st setting the data. However, stset considers all colic or stone events >0 and <. as a single failure event. Incidence rates are therefore calculated as if patients with colics or stones had only a single event during follow up. This underestimates true incidence rates as many patients had several events. Is there a possibility in STATA to calculate IR while taking all events into account.
Any suggestion would be welcome.
Martin
I have a cohort of about 500 patients followed at a kidney stone clinic with a variable indicating the time of follow up and two additional variables with the number of renal colics and stones these patients developed during the follow up period.
I want to calculate incidence rates of both colics and stones with 95% confidence intervals.
When I use the STATA ir command this is only possible when entering an exposure variable but not for the overall population. Therefore, it is not possible to obtain the incidence rates with 95% CI for the overall cohort.
Calculation of incidence rates is also possible with the stptime and strate commands after st setting the data. However, stset considers all colic or stone events >0 and <. as a single failure event. Incidence rates are therefore calculated as if patients with colics or stones had only a single event during follow up. This underestimates true incidence rates as many patients had several events. Is there a possibility in STATA to calculate IR while taking all events into account.
Any suggestion would be welcome.
Martin
Comment