Package: stableGR 1.2
stableGR: A Stable Gelman-Rubin Diagnostic for Markov Chain Monte Carlo
Practitioners of Bayesian statistics often use Markov chain Monte Carlo (MCMC) samplers to sample from a posterior distribution. This package determines whether the MCMC sample is large enough to yield reliable estimates of the target distribution. In particular, this calculates a Gelman-Rubin convergence diagnostic using stable and consistent estimators of Monte Carlo variance. Additionally, this uses the connection between an MCMC sample's effective sample size and the Gelman-Rubin diagnostic to produce a threshold for terminating MCMC simulation. Finally, this informs the user whether enough samples have been collected and (if necessary) estimates the number of samples needed for a desired level of accuracy. The theory underlying these methods can be found in "Revisiting the Gelman-Rubin Diagnostic" by Vats and Knudson (2018) <arxiv:1812:09384>.
Authors:
stableGR_1.2.tar.gz
stableGR_1.2.zip(r-4.5)stableGR_1.2.zip(r-4.4)stableGR_1.2.zip(r-4.3)
stableGR_1.2.tgz(r-4.4-any)stableGR_1.2.tgz(r-4.3-any)
stableGR_1.2.tar.gz(r-4.5-noble)stableGR_1.2.tar.gz(r-4.4-noble)
stableGR_1.2.tgz(r-4.4-emscripten)stableGR_1.2.tgz(r-4.3-emscripten)
stableGR.pdf |stableGR.html✨
stableGR/json (API)
# Install 'stableGR' in R: |
install.packages('stableGR', repos = c('https://knudson1.r-universe.dev', 'https://cloud.r-project.org')) |
- titanic.complete - Titanic passenger data
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:6972621044. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
Exports:asym.varmvn.gibbsn.effstable.GRtarget.psrf
Dependencies:briocallrclicrayondescdiffobjdigestellipseevaluatefftwtoolsfsgluejsonlitelifecyclemagrittrmcmcsemvtnormpkgbuildpkgloadpraiseprocessxpsR6RcppRcppArmadillorlangrprojroottestthatwaldowithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
A Stable Gelman-Rubin Diagnostic for Markov Chain Monte Carlo | stableGR-package stableGR |
Asymptotic covariance matrix estimation for Markov chain Monte Carlo | asym.var |
Two block Gibbs sampler for a multivariate normal distribution | mvn.gibbs |
Effective sample size | n.eff |
Gelman-Rubin diagnostic using stable variance estimators | stable.GR |
Calculates a Gelman Rubin diagnostic threshold using effective sample size thresholds. | target.psrf |
Titanic passenger data | titanic.complete |