This repository provides R code implementing Gibbs sampler for Bayesian boundary trend filtering (BBTF), as proposed by the following paper.
Onizuka. T., Iwashige. F. and Hashimoto. S. (2023), Bayesian Boundary Trend Filtering. arXiv:2304.11491.
The repository includes the following files.
-
BBTF-HS-function.R: Implementation of Gibbs sampler for BBTF under horseshoe prior. -
BBTF-example.R: One-shot example of fitting BBTF-HS.