High-Performance Open-Source Archive
Estimation of Bayesian spatial models.
bsreg is available on CRAN. The development version can be installed from GitHub.
install.packages("bsreg")
devtools::install_github("nk027/bsreg")# 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)Nikolas Kuschnig (2021). Bayesian spatial econometrics and the need for software. Working Paper, DOI: 10.13140/RG.2.2.11269.68328.
Need mirroring services?
Contact our team at info@vpspulse.com.
Mirror powered by VPSpulse
Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.