« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-23 10:51 UTC

Run several Metropolis–Hastings chains from a GAM and inspect trace or rank plots with sampling_diagnostics(). Here n_draws = 1000 retains 250 per chain after burn-in. Chain IDs carry through to smooth and predictive draws. #RStats

2 pictures (not shown on this phone): library("gratia") library("mgcv") d <- data_sim("additive", n = 300, seed = 42) fit <- gam(y ~ s(x0, k = 6), data = d, …

A reply in a thread.

0 likes, 0 reposts, 1 replies

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