I have the following model
fit1 <- glmer(Res~FA+FB+FC+(1|fsite), family=binomial(), data=DATA)
the result of summary()
is:
summary(fit1)
Generalized linear mixed model fit by maximum likelihood
(Laplace Approximation) ['glmerMod']
Family: binomial ( logit )
Formula: Res ~ FA + FB + FC + (1 | fsite)
Data: DATA
AIC BIC logLik deviance df.resid
202.3 229.9 -92.1 184.3 150
Scaled residuals:
Min 1Q Median 3Q Max
-2.1768 -0.6167 -0.4967 0.6815 2.0132
Random effects:
Groups Name Variance Std.Dev.
fsite (Intercept) 0 0
Number of obs: 159, groups: fsite, 28
Fixed effects:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 1.55573 0.55830 2.787 0.005327 **
FA2 -0.11914 0.37344 -0.319 0.749692
FB2 -1.38652 0.39967 -3.469 0.000522 ***
FC2 -0.14976 0.61984 -0.242 0.809076
FC3 -0.06794 0.63171 -0.108 0.914350
FC4 -1.20114 0.61670 -1.948 0.051452 .
FC5 -1.44951 0.62817 -2.308 0.021025 *
FC6 -1.13590 0.65427 -1.736 0.082538 .
---
Signif. codes: 0 ?**?0.001 ?*?0.01 ??0.05 ??0.1 ??1
Correlation of Fixed Effects:
(Intr) fspcs2 FB2 FC2 FC3 FC4 FC5
FA2 -0.466
FB2 -0.456 0.169
FC2 -0.572 -0.021 0.017
FC3 -0.596 0.050 0.036 0.506
FC4 -0.582 -0.005 0.020 0.519 0.509
FC5 -0.558 0.019 -0.038 0.508 0.500 0.511
FC6 -0.391 -0.101 -0.288 0.485 0.467 0.486 0.492
- Why are the variance and Std.Dev of the random effects zero?
- How do I check for overdispersion in this model?
- What should do if there is overdispersion?
res
? Is it a vector of1
a &0
s, or is each entry a count of 'successes' out of multiple trials? $\endgroup$[r]
tag provides syntax highlighting. That's 1 of the reasons I added it. I'm not sure if[mixed-model]
adds much, given[lme4]
&[glmer]
. Maybe I'll try[glmm]
for both[mixed-model]
&[glmer]
, & put[r]
back for the syntax highlighting. $\endgroup$