I have a dataset that contains:
- the counts of successes, $Y_i$
- the length of observation, $\text{length}_i$
- few predictors, $X_1, X_2, \text{etc}$
Since the counts are observed at different lengths I need a rate model. For the Poisson regression we achieve this by writing:
$\log(\mu_i /\text{length}_i) = \beta_0 + \beta_1 X_1 +\beta_2X_2$
which is then rewritten as:
$\log(\mu_i) = \beta_0 + \beta_1 X_1 +\beta_2X_2 + \log(\text{length}_i)$
The $\text{length}_i$ is the offset and it has a fixed coefficient of 1. In R we specify it using the offset
method. Something like this:
model <- glm(Y ~ offset(log(LENGTH)) + x1 + x2, data = data, family = "poisson")
However, I get better prediction results when I specify the offset as having a coefficient -0.5. That is:
model <- glm(Y ~ offset(-0.5 * log(LENGTH)) + x1 + x2, data = data, family = "poisson")
This would mean that the mean is related to the predictor variables like:
$\log(\mu_i * \sqrt{\text{length}_i}) = \beta_0 + \beta_1 X_1 +\beta_2X_2$
I have a few questions:
- Why am I getting better results using negative coefficient?
- What are the possible theoretical explanation for a negative offset?
- Should I try some other model?