# When to use an offset in a Poisson regression?

Does anybody know why offset in a Poisson regression is used? What do you achieve by this?

-

Here is an example of application.

Poisson regression is typically used to model count data. But, sometimes, it is more relevant to model rates instead of counts. This is relevant when, e.g., individuals are not followed the same amount of time. For example, six cases over 1 year should not amount to the same as six cases over 10 years. So, instead of having

$\log \mu_x = \beta_0 + \beta_1 x$

(where $\mu_x$ is the expected count for those with covariate $x$), you have

$\log \tfrac{\mu_x}{t_x} = \beta'_0 + \beta'_1 x$

(where $t_x$ is the exposure time for those with covariate $x$). Now, the last equation could be rewritten

$\log \mu_x = \log t_x + \beta'_0 + \beta'_1 x$

and $\log t_x$ plays the role of an offset.

-
Hey Thanks much! So did I get it right that it is neccessary to use an offset, when you compare counts over different times? – MarkDollar May 24 '11 at 19:34
@MarkDollar: Yep! – ocram May 26 '11 at 5:17
You should weight by $t_x$ when you model the rates. More generally, you use offsets because the units of observation are different in some dimension (different populations, different geographic sizes) and the outcome is proportional to that dimension. – Dimitriy V. Masterov Oct 4 '13 at 2:36
What happens if $t_x=1 \ \forall x$ but the counts, i.e., steps from one day to another, can be more then one? – Druss2k Oct 25 '13 at 7:01
Are we always setting the continuous variable as the offset? Or it can be anything? – Yilun Zhang Jun 30 '14 at 19:48