[R-sig-ME] How to activate the overdisp_fun function?

Adriaan de Jong Adr|@@n@de@Jong @end|ng |rom @|u@@e
Wed Mar 9 09:29:43 CET 2022


Dear Daniel,
Great! Thanks for your help.
Both alternatives work well (the second with the check_overdispersion function call instead of overdisp_fun).
Cheers,
Adjan

-----Original Message-----
From: Daniel Lüdecke <d.luedecke using uke.de>
Sent: den 9 mars 2022 08:44
To: Adriaan de Jong <Adriaan.de.Jong using slu.se>; r-sig-mixed-models using r-project.org
Subject: AW: [R-sig-ME] How to activate the overdisp_fun function?

Dear Adriaan,
the function is a code snippet that you need to copy/paste from the referenced FAQ. However, there's an implementation in the
performance-package:

https://easystats.github.io/performance/reference/check_overdispersion.html

You can install that package from CRAN:
https://cran.r-project.org/web/packages/performance/index.html

Best
Daniel

-----Ursprüngliche Nachricht-----
Von: R-sig-mixed-models <r-sig-mixed-models-bounces using r-project.org> Im Auftrag von Adriaan de Jong
Gesendet: Mittwoch, 9. März 2022 08:28
An: r-sig-mixed-models using r-project.org
Betreff: [R-sig-ME] How to activate the overdisp_fun function?

Dear list members,
For informed choices between poisson and negative binomial models, I've been advised to check preliminary poisson models with the overdisp_fun function in accordance with Ben Bolker's glmmFAQ github site (link below).
Unfortunately, I only receive the "Error in overdisp_fun(mod30) : could not find function "overdisp_fun" message (for poisson glmer model "mod30"). I've installed packages MASS, lme4, nlme, mgcv and glmmTMB and run my script under R 4.1.2. Model "mod30" runs and plots flawless. Internet searches haven't helped me. What am I doing wrong and/or where sits this overdisp_fun function?
Thanks in advance for hints and comments, Cheers, Adjan

Adriaan "Adjan" de Jong
Associate professor
Swedish University of Agricultural Sciences



https://bbolker.github.io/mixedmodels-misc/glmmFAQ.html




---
N?r du skickar e-post till SLU s? inneb?r detta att SLU behandlar dina personuppgifter. F?r att l?sa mer om hur detta g?r till, klicka h?r <https://www.slu.se/om-slu/kontakta-slu/personuppgifter/>
E-mailing SLU will result in SLU processing your personal data. For more information on how this is done, click here <https://www.slu.se/en/about-slu/contact-slu/personal-data/>

[[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models using r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

--

_____________________________________________________________________

Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg | www.uke.de
Vorstandsmitglieder: Prof. Dr. Burkhard Göke (Vorsitzender), Joachim Prölß, Prof. Dr. Blanche Schwappach-Pignataro, Marya Verdel _____________________________________________________________________

SAVE PAPER - THINK BEFORE PRINTING

---
När du skickar e-post till SLU så innebär detta att SLU behandlar dina personuppgifter. För att läsa mer om hur detta går till, klicka här <https://www.slu.se/om-slu/kontakta-slu/personuppgifter/>
E-mailing SLU will result in SLU processing your personal data. For more information on how this is done, click here <https://www.slu.se/en/about-slu/contact-slu/personal-data/>



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