Skip to content
Prev 20087 / 20628 Next

Odd ANOVA degrees of freedom with ZI component of glmmTMB model

???? The difference in 'Df' between the two components, which appear to 
have the same fixed-effect model specification, is definitely surprising.

 ???? It's not surprising that chisq=9.46 with 2 df could have a lower 
p-value than chisq=9.89 with 3 df; the larger the df (i.e. the larger 
the difference in the number of parameters/complexity between the two 
models implicitly being compared), the more dispersed the null 
distribution of the deviance difference (=='chisq').

 ?? To troubleshoot I would look at the guts of glmmTMB:::Anova.glmmTMB 
and see what's going on. I'm not claiming that will be obvious: if you 
can post a *reproducible* example to the glmmTMB issues list I'd be 
happy to take a look.
On 2023-01-11 12:14 PM, Elliot Johnston wrote: