# How can I obtain null and residual deviance/degrees of freedom for assessing model significance?

I am trying to determine model significance using:

1-pchisq(null deviance-residual deviance, null df- residual df)


I have 5 models:

• Four models were estimated with GLMs, which gave me null and residual DFs in the summary.
• The fifth model was estimated with the lmer function because of the nested structure of my data. This does not give me degrees of freedom for null or residuals.

How do I get my null and residual deviances and degrees of freedoms?

Thanks!