Bayesian Generalized Additive Model Selection

Generalized additive model selection via approximate Bayesian inference is provided. Bayesian mixed model-based penalized splines with spike-and-slab-type coefficient prior distributions are used to facilitate fitting and selection. The approximate Bayesian inference engine options are: (1) Markov chain Monte Carlo and (2) mean field variational Bayes. Markov chain Monte Carlo has better Bayesian inferential accuracy, but requires a longer run-time. Mean field variational Bayes is faster, but less accurate. The methodology is described in He and Wand (2024) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gamselBayes")

2.0-3 by Matt P. Wand, a year ago


Browse source code at https://github.com/cran/gamselBayes


Authors: Virginia X. He [aut] , Matt P. Wand [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, methods

Suggests Ecdat

Linking to Rcpp, RcppArmadillo


See at CRAN