« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-23 10:51 UTC

Check a fitted count model with DHARMa-style residuals using appraise(type = "dharma"). gratia simulates responses from the model and compares each observation with its simulated values. The QQ plot then uses a uniform reference. #RStats

2 pictures (not shown on this phone): library("gratia") library("mgcv") fit <- gam(count ~ spray, family = poisson(), data = InsectSprays, method = "REML") a…

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @gsimpson.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup