Skip to content
Prev 11047 / 20628 Next

Doubt about including random effects or not

On 13-11-11 07:45 AM, V. Coudrain wrote:
You can mix offsets and random effects: see e.g. the Owls example at
https://groups.nceas.ucsb.edu/non-linear-modeling/projects (although
this is also zero-inflated, which adds an additional level of complexity
you don't need).  A couple of comments though:

 * I don't quite understand why you don't just calculate average
specialization per site; presumably Isolation and habitat amount are
site-level covariates?  If you have different sample sizes per site, you
could calculate the mean and std. dev. of specialization and use the
weights= argument to inverse-variance weight ... (see Murtaugh 2007
_Ecology_ for arguments in favor of aggregating when analyzing nested
designs). (It's possible that one of your covariates varies within site,
which would make this aggregation infeasible.)
 * I also don't quite understand why you expect specialization to be
directly proportional to abundance?  Is abundance a species:site-level
covariate, or an overall (site-level) covariate (I think the latter)?  I
would consider just putting insect abundance in as a covariate (i.e.
allow for some dependence, don't require direct proportionality)... ?

  Ben Bolker