Skip to content

Repository files navigation

This repository provides R code implementing Gibbs sampler for Bayesian spatial quantile smoothing, as proposed by the following paper.

Onizuka, T., Hashimoto. S. and Sugasawa, S. (2022), Locally Adaptive Spatial Quantile Smoothing: Application to Monitoring Crime Density in Tokyo. arXiv:2202.09534.

The repository includes the following files.

  • BSQS-function.R: Implementation of Gibbs sampling for Bayesian spatial quantile smoothing methos: BQTF, SAR, and GP.

  • BSQS-example-plot.R: One-shot example of fitting Bayesian spatial quantile smoothing.

  • TrueSignal-function.R: The true signal functions such as two block structure and exponential function.

  • NoiseDistribution-function.R: The data-generating functions such as (I) Homogeneous, (II) Block heterogeneous, and (III) Smooth heterogeneous.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages