I am analyzing differences of a binary variable (presence / absence) between 3 wetlands with different pollution using a Generalized Linear Mixed-Effects Models with package lme of software R.
My model in software R is:
glmer (data $ binary ~ data $ wetland + data $ predictive1 + data $ predictive2 + data $ predictive3 + (1 | data $ date), data = data, family = binomial ())
My queries:
- Is it correct to treat the date as a random effect?
- Should you also consider wetlands as another random effect?
- Should I include interaction between wetland and date? (my model has a nested design)
It should be noted that for all predictive variables there is statistical significance, there is also no autocorrelation between the variables, and the GVIF is correct.