An Implementation of Bayesian Adaptive Regression Splines (BARS) in C with S and R Wrappers
Garrick Wallstrom,
Jeffrey Liebner and
Robert E. Kass
Journal of Statistical Software, 2008, vol. 026, issue i01
Abstract:
BARS (DiMatteo, Genovese, and Kass 2001) uses the powerful reversible-jump MCMC engine to perform spline-based generalized nonparametric regression. It has been shown to work well in terms of having small mean-squared error in many examples (smaller than known competitors), as well as producing visually-appealing fits that are smooth (filtering out high-frequency noise) while adapting to sudden changes (retaining high-frequency signal). However, BARS is computationally intensive. The original implementation in S was too slow to be practical in certain situations, and was found to handle some data sets incorrectly. We have implemented BARS in C for the normal and Poisson cases, the latter being important in neurophysiological and other point-process applications. The C implementation includes all needed subroutines for fitting Poisson regression, manipulating B-splines (using code created by Bates and Venables), and finding starting values for Poisson regression (using code for density estimation created by Kooperberg). The code utilizes only freely-available external libraries (LAPACK and BLAS) and is otherwise self-contained. We have also provided wrappers so that BARS can be used easily within S or R.
Date: 2008-06-25
References: View complete reference list from CitEc
Citations: View citations in EconPapers (4)
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v026i01/v26i01.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... v026i01/barsN.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... v026i01/barsP.tar.gz
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:026:i01
DOI: 10.18637/jss.v026.i01
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum (baum@bc.edu).