Learn R Programming

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

BLiSS

Bayesian functional Linear regression with Sparse Step functions (BLiSS)

A method for the Bayesian Functional Linear Regression model (functions-on-scalar), including two estimators of the coefficient function and an estimator of its support. A representation of the posterior distribution is also available.

https://pmgrollemund.github.io/bliss/

Installation

To install the bliss package, the easiest is to install it directly from GitHub. Open an R session and run the following commands:

library(remotes) 
install_github("pmgrollemund/bliss", build_vignettes=TRUE)

Usage

Once the package is installed on your computer, it can be loaded into a R session:

library(bliss)
help(package="bliss")

Citation

As a lot of time and effort were spent in creating the bliss method, please cite it when using it for data analysis:

Grollemund, Paul-Marie; Abraham, Christophe; Baragatti, Meïli; Pudlo, Pierre. Bayesian Functional Linear Regression with Sparse Step Functions. Bayesian Anal. 14 (2019), no. 1, 111--135. doi:10.1214/18-BA1095. https://projecteuclid.org/euclid.ba/1524103229

You should also cite the bliss package:

citation("bliss")

See also citation() for citing R itself.

Copy Link

Version

Install

install.packages('bliss')

Monthly Downloads

303

Version

1.0.2

License

GPL-3

Maintainer

Paul-Marie Grollemund

Last Published

May 17th, 2021

Functions in bliss (1.0.2)

choose_beta

choose_beta
Bliss_Simulated_Annealing

Bliss_Simulated_Annealing
compute_beta_sample

compute_beta_sample
build_Fourier_basis

build_Fourier_basis
compute_chains_info

compute_chains_info
BIC_model_choice

BIC_model_choice
change_grid

change_grid
Bliss_Gibbs_Sampler

Bliss_Gibbs_Sampler
fit_Bliss

fit_Bliss
determine_intervals

determine_intervals
image_Bliss

image_Bliss
sigmoid_sharp

sigmoid_sharp
data1

a list of data
corr_matrix

corr_matrix
compute_beta_posterior_density

compute_beta_posterior_density
sim

sim
sim_x

sim_x
interpretation_plot

interpretation_plot
dposterior

dposterior
lines_bliss

lines_bliss
integrate_trapeze

integrate_trapeze
plot_bliss

plot_bliss
support_estimation

support_estimation
res_bliss1

A result of the BliSS method
sigmoid

sigmoid
%between%

between
compute_starting_point_sann

compute_starting_point_sann
pdexp

pdexp
compute_random_walk

compute_random_walk
param1

A list of param for bliss model
printbliss

Print a bliss Object
bliss

bliss: Bayesian functional Linear regression with Sparse Step functions