Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: rate with count data with maximum

From   "Airey, David C" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: rate with count data with maximum
Date   Fri, 22 Oct 2010 14:29:09 -0500


I'm using -nbreg- for count data in which I'm interested in rate, say, events per 60 minutes.

The count is made at 60 minutes for all observations, so I don't have an exposure variable.

What's different is that all observations have a maximum count that differs for each observation, that can be experimentally determined only after the observation is made, but not before. Because of the chosen time of observation, the maximum should occur after 60 minutes for most of the observations, but for a subset it may occur before. It is only known that it did occur, based on determining the maximum after the observation was made. If it occurs at 30 minutes or 59 minutes, it cannot be determined.

Typical data at 60 minutes might be:

0/15 possible events in 60 minutes
1/15 possible events
4/15 possible events
12/13 possible events

etc., but also

14/14 possible events measured at 60 minutes but possibly occurred at 30 min
14/14 possible events measured at 60 minutes but possibly occurred at 59 min

10/10 possible events

I was planning on throwing out data for which the maximum had been reached within the 60 minutes, because either they started with fewer events possible (10/10 vs 14/14) or I could not determine the rate (14/14 unobserved at 30 minutes or 59 minutes).

Has anyone had count data like this? is not known if the maximum correlates with rate.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index