@amstatnews.bsky.social www.tandfonline.com/doi/full/10....
@amstatnews.bsky.social www.tandfonline.com/doi/full/10....
library(mgcv)
ggplot(mtcars) +
aes(x = hp, y = disp) +
geom_point() +
stat_smooth(
aes(color = "vanilla gam"),
method = "gam"
) +
stat_smooth(
aes(color = "monotonic constraint"),
method = mgcv::scasm,
formula = y ~ s(x, bs = "sc", xt = c("m+"))
)
library(mgcv)
ggplot(mtcars) +
aes(x = hp, y = disp) +
geom_point() +
stat_smooth(
aes(color = "vanilla gam"),
method = "gam"
) +
stat_smooth(
aes(color = "monotonic constraint"),
method = mgcv::scasm,
formula = y ~ s(x, bs = "sc", xt = c("m+"))
)
Compatibility with ggplot2 4.0.0 + usability improvements + bug fixes.
#Rstats #mgcv #gam #statistics
Compatibility with ggplot2 4.0.0 + usability improvements + bug fixes.
#Rstats #mgcv #gam #statistics
www.annualreviews.org/content/jour...
www.annualreviews.org/content/jour...
#mgcvchat #ggplot2
On March 3, 2026 (17:00–19:00 CET) I’ll be livestreaming an updated introduction to Generalized Additive Models in R
📺 YouTube livestream link: youtube.com/live/A9U8e1K...
#RStats #mgcv #GAMs #gratia #statistics 🧪
On March 3, 2026 (17:00–19:00 CET) I’ll be livestreaming an updated introduction to Generalized Additive Models in R
📺 YouTube livestream link: youtube.com/live/A9U8e1K...
#RStats #mgcv #GAMs #gratia #statistics 🧪
Our new review highlights useful links (and differences) between Bayesian and frequentist approaches to smoothing, in an accessible way, with a focus on the mgcv implementation. Read more here 👇
Our new review highlights useful links (and differences) between Bayesian and frequentist approaches to smoothing, in an accessible way, with a focus on the mgcv implementation. Read more here 👇
Now has a paper in JOSS — please cite 📄 doi.org/10.21105/jos...
Experimental parallel processing ⚡
New assemble() for building plots 🎨
Better support for complex families + new diagnostics 🧪
Lots of bug fixes + polish ✨
👉 gavinsimpson.github.io/gratia/
#Rstats
Now has a paper in JOSS — please cite 📄 doi.org/10.21105/jos...
Experimental parallel processing ⚡
New assemble() for building plots 🎨
Better support for complex families + new diagnostics 🧪
Lots of bug fixes + polish ✨
👉 gavinsimpson.github.io/gratia/
#Rstats
gif from @gsimpson.bsky.social intro to GAMs slide deck (fromthebottomoftheheap.net/slides/gam-i...)
gif from @gsimpson.bsky.social intro to GAMs slide deck (fromthebottomoftheheap.net/slides/gam-i...)
Generalised Additive Models (GAMs) in R with @gsimpson.bsky.social
📅 8–11 Dec (Online)
Learn how to model complex relationships using GAMs, splines & more with mgcv and gratia.
Details & registration 👉 www.physalia-courses.org/courses-work...
#Rstats #DataScience #GAMs #Statistics
Generalised Additive Models (GAMs) in R with @gsimpson.bsky.social
📅 8–11 Dec (Online)
Learn how to model complex relationships using GAMs, splines & more with mgcv and gratia.
Details & registration 👉 www.physalia-courses.org/courses-work...
#Rstats #DataScience #GAMs #Statistics
woke: MGCV (mandatory fire code violation)
woke: MGCV (mandatory fire code violation)
Join me at 1700 (CET; 1600 UCT) today for two hours of GAM goodness 🤤
📽️ Youtube: youtube.com/live/A9U8e1K...
Hit the Notify me 🔔 to get a reminder when I go live
#RStats #mgcv #statistics #GAMs #DataScience 🧪
Join me at 1700 (CET; 1600 UCT) today for two hours of GAM goodness 🤤
📽️ Youtube: youtube.com/live/A9U8e1K...
Hit the Notify me 🔔 to get a reminder when I go live
#RStats #mgcv #statistics #GAMs #DataScience 🧪
• what GAMs are and how they work
• recent mgcv updates (incl. Hierarchical GAMs)
• new features in gratia
• deeper inference with marginaleffects
• what GAMs are and how they work
• recent mgcv updates (incl. Hierarchical GAMs)
• new features in gratia
• deeper inference with marginaleffects
doi.org/10.7717/peer...
Thanks for writing @ericjpedersen.bsky.social, D. Miller, @gsimpson.bsky.social @noamross.net
doi.org/10.7717/peer...
Thanks for writing @ericjpedersen.bsky.social, D. Miller, @gsimpson.bsky.social @noamross.net
maths.ed.ac.uk/~swood34/cor...
maths.ed.ac.uk/~swood34/cor...