Bayesian Spatial Regression Models

Fit Bayesian models with a focus on the spatial econometric models.


bsreg: Bayesian Spatial Regression Models

CRAN month total

Estimation of Bayesian spatial models.

Installation

bsreg is available on CRAN. The development version can be installed from GitHub.

install.packages("bsreg")
devtools::install_github("nk027/bsreg")

Demonstration

# Load the package
library("bsreg")

# Estimate a Bayesian linear model using cigarette demand data
x <- blm(log(sales) ~ log(price), data = cigarettes, lags = 1)

# Check convergence via trace and density plots
plot(x)

References

Nikolas Kuschnig (2021). Bayesian spatial econometrics and the need for software. Working Paper, DOI: 10.13140/RG.2.2.11269.68328.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bsreg")

0.0.2 by Nikolas Kuschnig, 5 years ago


Browse source code at https://github.com/cran/bsreg


Authors: Nikolas Kuschnig [aut, cre]


Documentation:   PDF Manual  


GPL-3 | file LICENSE license


Imports R6, Matrix, stats, graphics, utils, grDevices

Suggests stochvol, coda


See at CRAN