Skip to content

Independent variable dependent on offset in GLMM

2 messages · Jonas Josefsson, Ben Bolker

1 day later
#
Jonas Josefsson <jonas.josefsson <at> slu.se> writes:
(I was initially going to say that this question would probably be
better on r-sig-mixed-models at r-project.org, but now that I've been
through it I've changed my mind -- there aren't really any issues here
that are specific to mixed models ... it's really mostly a
*statistical* question rather than an R question, and as such might
belong on a statistics forum such as http://stats.stackexchange.com ...)
I'm not perfectly sure I understand your question, but as I understand
it you are right and the stat guy in your department is wrong (but
perhaps you misunderstood them?). The offset term is added to the linear
predictor of the model.
It makes quite a bit of sense to model abundance as directly
proportional to area (i.e., you are in effect modeling density rather
than total counts, but accounting for changes in Poisson sampling
variance appropriately).  I'm not so sure it makes sense to 
model species richness as directly proportional to area.  You might
want to consider adding log(area) as a covariate rather than as
an offset, which is then essentially assuming a power-law relationship
between area and species richness (log(richness) = beta_a*log(area)
-> richness = area^beta).
This doesn't make very much sense to me, but it will depend
on your general model of what's going on. I would have guessed that
abundance (for example) would depend on the number of crop types
available, not on whether the number of crop types was higher than
expected for a sample of a given area.  I suppose it's possible, though.