Learn R Programming

⚠️There's a newer version (1.2.6) of this package.Take me there.

bsamGP (version 1.0)

Bayesian Spectral Analysis Models using Gaussian Process Priors

Description

Contains functions to perform Bayesian inference using a spectral analysis of Gaussian process priors. Gaussian processes are represented with a Fourier series based on cosine basis functions. Currently the package includes parametric linear models, partial linear additive models with/without shape restrictions, generalized linear additive models with/without shape restrictions, and density estimation model. To maximize computational efficiency, the actual Markov chain Monte Carlo sampling for each model is done using codes written in FORTRAN 90.

Copy Link

Version

Install

install.packages('bsamGP')

Monthly Downloads

628

Version

1.0

License

GPL (>= 2)

Maintainer

Beomjo Park

Last Published

August 5th, 2017

Functions in bsamGP (1.0)

Elec.demand

Electricity demand data
London.Mortality

Daily Moratlity in London
bsaqdpm

Bayesian Shape-Restricted Spectral Analysis Quantile Regression with Dirichlet Process Mixture Errors
bsar

Bayesian Shape-Restricted Spectral Analysis Regression
bsad

Bayesian Semiparametric Density Estimation
bsaq

Bayesian Shape-Restricted Spectral Analysis Quantile Regression
bsardpm

Bayesian Shape-Restricted Spectral Analysis Regression with Dirichlet Process Mixture Errors
fitted.blm

Compute fitted values for a blm object
blq

Bayesian Quantile Regression
blr

Bayesian Linear Regression
plot.blm

Plot a blm object
plot.bsam

Plot a bsam object
plot.bsamdpm

Plot a bsamdpm object
plot.fitted.bsad

Plot a fitted.bsad object
intsim

Numerical integration using Simpson's rule
plasma

A Data Set for Plasma Levels of Retinol and Beta-Carotene
plot.fitted.bsam

Plot a fitted.bsam object
plot.fitted.bsamdpm

Plot a fitted.bsamdpm object
fitted.bsad

Compute fitted values for a bsad object
fitted.bsam

Compute fitted values for a bsam object
gblr

Generalized Bayesian Linear Models
gbsar

Bayesian Shape-Restricted Spectral Analysis for Generalized Partial Linear Models
rald

The asymmetric Laplace distribution
traffic

Monthly traffic accidents data
fitted.bsamdpm

Compute fitted values for a bsamdpm object
function.shape

Shape of Nonlinear Function
wage.union

Wage-Union data