BSAM: R-Package for Bayesian Spectral Analysis Models with Shape Restrictions
by Taeryon Choi, Peter Lenk, and Seongil Jo December. 2015.   
This R-package complements the paper "PyBSAM : Python-Based Bayesian Spectral Analysis Models" Taeryon Choi,Peter Lenk, Seongil Jo, Hyungjoon Kim, and Hyotae Kim 
(in preparation)

BSAM implementing a Bayesian Spectral Analysis Models that include regression with/without shape restrictions, quantile regression with/without shape restrictions, additive models, generalized linear models and density estimation. To install windows binary, use RGui menu "Package/Install package(s) from local zip files..." or R command "install.packages".

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

Bayesian Spectral Analysis Regression (BSAR)
  • Readme
  • Example for mean regression of function with monotone convex increasing constraint
Bayesian Spectral Analysis Quantile Regression (BSAQ)
  • Readme
  • 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 convex increasing constraint
Bayesian Spectral Analysis Density Estimation (BSAD)
  • Example for parametric normal distribution.