« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-23 10:51 UTC

For supported mgcv::scasm() fits, both interval limits can follow the fitted shape. A curve that obeys the constraints fits inside the reshaped band at every grid point exactly when it fits inside the original. Support for scam::scam() also expands. #RStats

2 pictures (not shown on this phone): library("gratia") library("mgcv") set.seed(1701) d <- data.frame(x = runif(200)) d$y <- 2 * d$x + 4 * d$x^2 + rnorm(200…

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