Skip to content
Prev 20135 / 20628 Next

glmmTMB deviance enquiry

The deviance is twice the negative log-likelihood; if the deviance 
is D for a model with p parameters, then AIC = D + 2*p.  The deviance is 
an *unpenalized* measure of goodness of fit (badness of fit actually - 
lower deviance means better fit).

    There's no need to report deviance in a paper if it's not useful to 
you or your readers. The deviance for a model alone is not particularly 
useful; you can use the deviances for several nested models to compute 
likelihood ratio rests (via anova()), or you can use deviance as the 
basis for computing AIC or BIC.

   Hope that helps.

   Ben Bolker
On 2023-03-07 9:08 a.m., Rion Lerm via R-sig-mixed-models wrote: