Hello everyone!

I'm trying to construct several GLMMs with my thesis data and I can't solve this question. I have data on pollinator abundance and fruit set from plants sampled at six study sites and during two consecutive years. The problem is that not all individuals (plants) were sampled in both years.

My question is: How should i use "Year", as random effect or as fixed effect?

I constucted three candidate models and compared the AIC:

a) Response variable ~Predictor variables + (1 | year/plant) + (1 | site/plant)

b) Response variable ~Predictor variables + (1 | year) + (1 | site/plant)

c) Response variable ~Predictor variables * year + (1 | site/plant)

Option a) had the lowest AIC, but I read in some papers that is not correct use a variable with less than five levels as random effect...so, anyone could help me?

Thank you,

Raquel

More Raquel Muñoz-Gallego's questions See All
Similar questions and discussions