« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-23 10:51 UTC

How do you get a simultaneous band that covers a smooth between the plotted points? For supported cubic splines, simultaneous_method = "tube" calibrates a Gaussian band over a continuous interval. Here that interval runs from x = 0 to x = 1. #RStats

2 pictures (not shown on this phone): library("gratia") library("mgcv") set.seed(4) x <- seq(0, 1, length.out = 100) y <- sin(6 * x) + rnorm(100, sd = 0.2) f…

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