« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-23 10:51 UTC

How much of the variation in the fitted values comes from each term? variance_comp(type = "terms") estimates the proportions while accounting for covariance between terms. In this CO₂ uptake model, the concentration smooth and plant origin account for the largest shares. #RStats

2 pictures (not shown on this phone): library("gratia") library("mgcv") fit <- gam(uptake ~ s(conc, k = 6) + Type + Treatment + s(Plant, bs = "re"), data = C…

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