[R-sig-ME] glmer not supported class for vuong()closeness test (non-nested models)

Mollie Brooks mo|||eebrook@ @end|ng |rom gm@||@com
Fri Feb 7 11:57:46 CET 2020

If you want to use vuong() to test for zero inflation, then an alternative would be to use testZeroinflation() from the DHARMa package which supports glmer models. It performs a different test using simulated residuals.

See documentation here
https://cran.r-project.org/web/packages/DHARMa/vignettes/DHARMa.html <https://cran.r-project.org/web/packages/DHARMa/vignettes/DHARMa.html>


> On 7Feb 2020, at 11:25, Souheyla GHEBGHOUB <souheyla.ghebghoub using gmail.com> wrote:
> Hi,
> I need to compare non-nested models fitted to the same DV using vuong()
> closeness test in pscl package. It appears that the test only supports glm
> class but not mixed models glmer.  I would like to retain glmer because my
> random effects explain much of the variation but vuong does not support it!
> Should I simply ignore the random effects at this point since they will be
> equally removed from both compared models in this sig test, is there a way
> to force the test to support this glmer class?
> Thanks a lot for your time reading/answering this,
> Souheyla GHEBGHOUB
> 4th year PhD student
> Education department - Research Centre for Social Science
> University of York
> 	[[alternative HTML version deleted]]
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

	[[alternative HTML version deleted]]

More information about the R-sig-mixed-models mailing list