« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-23 10:51 UTC

What does x do when it interacts with a correlated predictor? ale() averages small changes in fitted values where the data lie and adds them up. Here the curve includes the tensor interaction, with a simultaneous band at the evaluated points. #RStats

2 pictures (not shown on this phone): library("gratia") library("mgcv") set.seed(42) d <- data.frame(x = runif(500, -1, 1)) d$z <- d$x + rnorm(500, sd = 0.25…

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