Does anybody know why offset in a Poisson regression is used? What do you achieve by this?
1 Answer
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.
-
2$\begingroup$ Hey Thanks much! So did I get it right that it is neccessary to use an offset, when you compare counts over different times? $\endgroup$ Commented May 24, 2011 at 19:34
-
5$\begingroup$ 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. $\endgroup$– dimitriyCommented Oct 4, 2013 at 2:36
-
2$\begingroup$ @ocram. I think yours is a nice answer and I was wondering, do you (or does anybody else) know a literature reference where the issue is explained as it is here? Thank you in advance $\endgroup$– jmjrCommented Dec 14, 2015 at 11:26
-
1$\begingroup$ @ocram what do you mean by $x$ and $t_x$? what is the response variable for each $x_i$? $\endgroup$– MetariatCommented Jul 18, 2016 at 16:44
-
1$\begingroup$ I would just mention that a now-deleted answer refers to Faraway Extending the Linear Model with R 2d ed. p. 70 (an example on rates of chromosomal abnormalities, using the
dicentric
data set from thefaraway
package $\endgroup$ Commented Jul 10, 2020 at 20:34