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

st: RE: cumulative rates

From   "Sayer, Bryan" <>
To   "' '" <>, "' '" <>
Subject   st: RE: cumulative rates
Date   Mon, 23 Jun 2003 12:05:53 -0400

If you have true survey data, you don't want to try and calculate CIs from
aggregate data.  You need to figure out a way to do it with the survey

Bryan Sayer
Statistician, SSS Inc. 

-----Original Message-----
Sent: 6/23/03 6:39 AM
Subject: st: cumulative rates


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

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

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.



Candida Moshiro
University of Bergen
Center for International Health
Armauer Hansen Building
N-5021 Bergen
Tel: +47 5597 4691
Fax: +47 5597 4979 (Specify attn.)
*   For searches and help try:
*   For searches and help try:

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