Package: surbayes 0.1.2
Ethan Alt
surbayes: Bayesian Analysis of Seemingly Unrelated Regression Models
Implementation of the direct Monte Carlo approach of Zellner and Ando (2010) <doi:10.1016/j.jeconom.2010.04.005> to sample from posterior of Seemingly Unrelated Regression (SUR) models. In addition, a Gibbs sampler is implemented that allows the user to analyze SUR models using the power prior.
Authors:
surbayes_0.1.2.tar.gz
surbayes_0.1.2.tar.gz(r-4.5-noble)surbayes_0.1.2.tar.gz(r-4.4-noble)
surbayes_0.1.2.tgz(r-4.4-emscripten)surbayes_0.1.2.tgz(r-4.3-emscripten)
surbayes.pdf |surbayes.html✨
surbayes/json (API)
NEWS
# Install 'surbayes' in R: |
install.packages('surbayes', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ethan-alt/surbayes/issues
Last updated 4 years agofrom:6b218abfb2. Checks:OK: 1 NOTE: 1. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 07 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 07 2024 |
Exports:sur_samplesur_sample_dmcsur_sample_powerprior
Dependencies:data.tablejsonlitelatticeMatrixRcppRcppArmadillorlistXMLyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Sample from predictive posterior density C++ helper | predict_surbayes_cpp |
Get one sample from predictive posterior of SUR | predict_surbayes_helper |
Get predictive posterior samples | predict.surbayes |
Sample Sigma via Gibbs for SUR model | sample_sigma |
Sample from seemingly unrelated regression | sur_sample |
Helper function to sample covariance | sur_sample_cov_helper_cpp |
Sample from SUR via Direct Monte Carlo (C++ version) | sur_sample_cpp |
Sample SUR model via direct Monte Carlo | sur_sample_dmc |
Power Prior Gibbs sampling | sur_sample_gibbs_cpp |
Sample from SUR posterior via power prior | sur_sample_powerprior |