Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: cumulative rates


From   [email protected]
To   [email protected]
Subject   st: cumulative rates
Date   Mon, 23 Jun 2003 12:39:43 +0200

Hi,

We have survey data on injury counts and want to calculate annual incidence 
rates at different time points (& 95% CIs) adjusting for clustering.

We have a variable (time) which represents time since injury (1-12 months).

I need to first accumulate the injury counts at each time point and then 
calculate the incidence rates. The data is at individual level.

I tried the following code:

collapse (sum) injury time, by(area)


but could not get the accumulated counts.


I would appreciate some help on this.

Thanks


Candida

-- 
Candida Moshiro
University of Bergen
Center for International Health
Armauer Hansen Building
N-5021 Bergen
Norway.
Tel: +47 5597 4691
Fax: +47 5597 4979 (Specify attn.)
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index