Please address questions to Jeff Liebner (liebnerj@lafayette.edu). Help with installation can be found at The Comprehensive R Archive Network.
Questions about the Matlab version should be addressed to Ryan Kelly (rkelly@cs.cmu.edu).
BARS (Bayesian Adaptive Regression Splines) solves the generalized nonparametric regression (curve-fitting) problem
A substantial literature has demonstrated the power of spline-based generalized curve-fitting. See Hansen and Kooperberg (2002, Statist. Science) for a review. The difficult part of the problem is to allow aspects of the spline to vary (adaptively to the data) across the domain of . DiMatteo, Genovese, and Kass (2001, Biometrika) proposed BARS and contributed an initial implementation and study of the method.
BARS
DiMatteo et al. compared BARS to two recently successful methods of solving the usual curve-fitting problem.
A typical data set simulated from a true curve, together with fits for each of DMS, SARS, and BARS are shown in the following figure. The fits are all a bit more wiggly than the true curve, but BARS provides a smoother fit while still capturing the sudden jump. Mean-squared errors in several examples were much smaller for BARS than for DMS or SARS.
The next figure shows a BARS Poisson regression fit (thick curve) to neuronal data, providing the kind of smoothing we believe to be desirable; also shown is a Gaussian kernel density (Gaussian filter) estimate (thin curve). Taken from Kass, Ventura, Cai (2003, NETWORK: Computation in Neural Systems).