Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: Negative Binomial: Exposure vs. Offset

From   "Lachenbruch, Peter" <>
To   "''" <>
Subject   st: RE: Negative Binomial: Exposure vs. Offset
Date   Tue, 4 May 2010 09:39:43 -0700

There basically is no difference.  For exposure, you generally don't need to do anything. For offset, you usually take the log.  This comes from modeling a Poisson regression in which you have a model
Transposing you get log(mu)=log(exposure)+X*beta


Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001

-----Original Message-----
From: [] On Behalf Of Downey, Patrick
Sent: Tuesday, May 04, 2010 9:35 AM
Subject: st: Negative Binomial: Exposure vs. Offset


I'm using a negative binomial regression through the nbreg command in Stata
to estimate crimes committed by a certain population. Different
observations were "on the street" different lengths of time, so I want to
account for that.

I'm confused about the difference between the exposure option and the
offset option. They appear to be doing the same thing. In the online
documentation, it says:

    offset(varname) specifies that varname be included in the model with
        coefficient constrained to be 1.

    exposure(varname) specifies a variable that reflects the amount of
        exposure over which the depvar events were observed for each
        observation; ln(varname) with coefficient constrained to be 1 is
        entered into the log-link function.

Could someone please explain the difference between the two or send some
documentation which formalizes the difference mathematically.


*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index