theoretical ecology

notes from ecology, evolution and statistics by Florian Hartig

Menu

Skip to content
  • About me
  • RSS feed
  • Twitter @TheorEcolBlog
  • Ecology Jobs

Tag Archives: DHARMa

Simulated Likelihood Ratio Tests for (Generalised) Linear Mixed Models (GLMMs)

The latest update of the DHARMa R package (0.4.6) includes an option to perform simulated likelihood ratio tests (LRTs) for GLMMs based on a parametric bootstrap. I wanted to shortly comment on how this works and why this is useful. Why is this useful? A well-known issue with mixed models is that the df lost…

September 9, 2022 in Statistics.

Hurricanes and Himmicanes revisited with DHARMa

Do you remember the notorious hurricane / himmicane study (Jung et al., PNAS, 2014)? At the time, there was a heavy backlash against the study, and probably rightly so, as the statistical analysis turns out to be highly unstable against a change of the regression formula. You can find some links here. Over the years,…

April 17, 2021 in Statistics, Teaching.

How much overdispersion is too much in typical GLMMs?

tl;dr: DHARMa tests will pick up on overdispersion before you see a rise of Type I error. Overdispersion is a common problem in GL(M)Ms with fixed dispersion, such as Poisson or binomial GLMs. Here an explanation from the DHARMa vignette: GL(M)Ms often display over/underdispersion, which means that residual variance is larger/smaller than expected under the…

March 24, 2021 in R, Statistics.

Bayesian model checking via posterior predictive simulations (Bayesian p-values) with the DHARMa package

As I said before, I firmly side with Andrew Gelman (see e.g. here) in that model checking is dangerously neglected in Bayesian practice. The philosophical criticism against “rejecting” models (double-using data etc. etc.) is all well, but when using Bayesian methods in practice, I see few sensible alternatives to residual checks (both guessing a model and…

July 1, 2017 in Bayesian, Statistics.

Most accessed

  • A simple Metropolis-Hastings MCMC in R
  • Mediators, confounders, colliders - a crash course in causal inference
  • JCR 2016 impact factors for the top 40 ecology journals
  • MCMC chain analysis and convergence diagnostics with coda in R
  • DHARMa - an R package for residual diagnostics of GLMMs

Recent Comments

Florian Hartig on The BayesianTools R package wi…
Soham Mukherjee on The BayesianTools R package wi…
Florian Hartig on A simple Metropolis-Hastings M…
Isabella Stevens on A simple Metropolis-Hastings M…
Florian Hartig on A simple Metropolis-Hastings M…
Aditya on A simple Metropolis-Hastings M…
Florian Hartig on “Scientists in a war for…

Twitter Updates

  • The tail of application wagging the dog of knowledge: is ecological science fit for policy? theoreticalecology.wordpress.com/2022/10/24/the… 5 months ago
  • “Scientists in a war for a future of humanity” – I strongly disagree! theoreticalecology.wordpress.com/2022/10/24/sci… 5 months ago
  • Simulated Likelihood Ratio Tests for (Generalised) Linear Mixed Models (GLMMs) theoreticalecology.wordpress.com/2022/09/09/sim… 6 months ago
Follow @TheorEcolBlog

Enter your email address to follow this blog and receive notifications of new posts by email.

Tags

Academic journals Academic life Academic publishing Approximate bayesian computation (ABC) Article retraction Bayesian basics Bayesian inference Bayesian statistics Bibliometrics Big data Carsten Dormann Climate change Coexistence mechanisms Conservation biology DHARMa Diversity patterns Dynamic vegetation models (DVMs) Ecological modeling Ecosystem services Extinction risk Forest models Freiburg Generalized linear mixed model (GLMM) Hierachical Bayesian impact factor Individual-based models intractable likelihood Inverse modelling ISI JAGS Journal Citation Report Journal of Biogeography mcmc Model selection Nature open access OpenBugs Open data Peer review Phylogenetics pnas power law Psychology Publications Florian Hartig Reproducibility Residual diagnostics Science mag Scientific writing Scientometrics Simulation-based inference Special issue: the niche as a window to biodiversity Speciation Species distribution models (SDMs) State space models statistical inference Statistics stochastic simulation Submitted to R-bloggers Summer school Bayesian statistics Teaching

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Blogroll

  • Andrew Gelman
  • Darren Wilkinson
  • Dynamic Ecology
  • eco-evolutionary dynamics
  • Ecobloggers
  • Ecology is not a dirty word
  • EEB and Flow
  • i'm a chordata! urochordata!
  • Jabberwocky Ecology
  • Not Even Wrong
  • Of Particular Significance
  • PEGE Journal Club
  • PhD comics
  • R-bloggers
  • Reflections on papers past
  • Scientific B-sides
  • The Contemplative Mammoth
  • Three-Toed Sloth

Disclaimer

This is a private blog. The opinions expressed herein are my own personal opinions. They do not necessarily represent the views of either my employer, or any organization I am working with. Copyright see here.
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • theoretical ecology
    • Join 349 other followers
    • Already have a WordPress.com account? Log in now.
    • theoretical ecology
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...