I ran some models for my count data, and did some diagnostics to check for overdispersion.
Here is a dharma graph, which as I understand, indicates no overdispersion.
And this is the result I get when running overdisp(model1)
dispersion ratio = 1.2987
Pearson's Chi-Squared = 496.1125
p-value = 0.0001
Overdispersion detected.
the model looks like this:
model1 <- glmmTMB(species~ var1 + var2 + var3 + var4 + var5 + var6 + var7 + var8 + (1|randomeffect), family = "poisson", data = plants)
Why does it happen? Which method should I trust?