bsamGP: R-Package for Bayesian Spectral Analysis Models using Gaussian Process Priors
by Seongil Jo, Taeryon Choi, Beomjo Park, and Peter Lenk,  May. 2018.

bsamGP implements Bayesian Spectral Analysis Models that include regression with/without shape restrictions [2], quantile regression with/without shape restrictions [3], additive models, generalized linear models and density estimation [4]. For detailed description for the package, please check the manual and the paper [1]. The package is availabe on CRAN (link)To install package, use R command install.packages("bsamGP").

We provide a simple example. To carry out examples, install bsamGP into R and run following example R-code.

Bayesian Spectral Analysis Regression (BSAR)
  • Example for mean regression of function with monotone increasing and convex constraint.
Bayesian Spectral Analysis Quantile Regression (BSAQ)
  • Example for median regression of function with monotone convex to concave increasing constraint
Bayesian Spectral Analysis Generalized Linear Regression (GBSAR)
  • Example for probit regression of function with monotone increasing and convex constraint
Bayesian Spectral Analysis Density Estimation (BSAD)
  • Example for semiparametric density estimation with truncated gamma distribution and sigmoid density.

[1] Jo, S., Choi, T., Park, B., & Lenk, P. (2018) "bsamGP: An R package for Bayesian Spectral
 Analysis Models using Gaussian Process Priors", To appear in Journal of Statistical Software
[2] Lenk P, Choi T (2017).“Bayesian analysis of shape-restricted functions using Gaussian process
priors.” Statistica Sinica, 27(1), 43–69.
[3] Jo S, Roh T, Choi T (2016). “Bayesian spectral analysis models for quantile regression with
Dirichlet process mixtures.” Journal of Nonparametric Statistics, 28(1), 177–206.
[4] Lenk P (2003). “Bayesian semiparametric density estimation and model verification using a
logistic-Gaussian process.” Journal of Computational and Graphical Statistics, 12(3), 548–565