/lxsplines

Bayesian Local Extremum Splines

Primary LanguageFortran

Bayesian Local Extremum Splines

M. W. Wheeler, D. B. Dunson, A. H. Herring (2017), Biometrika 104(4), pp. 939–952

We consider shape-restricted nonparametric regression on a closed set X in R, where it is reasonable to assume that the function has no more than H local extrema interior to X⁠. Following a Bayesian approach we develop a nonparametric prior over a novel class of local extremum splines. This approach is shown to be consistent when modelling any continuously differentiable function within the class considered, and we use itto develop methods for testing hypotheses on the shape of the curve. Sampling algorithms are developed, and the method is applied in simulation studies and data examples where the shape of the curve is of interest.