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.7)stableGR_1.2.zip(r-4.6)stableGR_1.2.zip(r-4.5)
stableGR_1.2.tgz(r-4.6-any)stableGR_1.2.tgz(r-4.5-any)
stableGR_1.2.tar.gz(r-4.7-any)stableGR_1.2.tar.gz(r-4.6-any)
stableGR_1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:6972621044. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 130 | ||
| source / vignettes | OK | 163 | ||
| linux-release-x86_64 | OK | 154 | ||
| macos-release-arm64 | OK | 142 | ||
| macos-oldrel-arm64 | OK | 150 | ||
| windows-devel | OK | 104 | ||
| windows-release | OK | 101 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 111 |
Exports:asym.varmvn.gibbsn.effstable.GRtarget.psrf
Dependencies:briocallrclicrayondescdiffobjellipseevaluatefftwtoolsfsgluejsonlitelifecyclemagrittrmcmcsemvtnormpkgbuildpkgloadpraiseprocessxpsR6RcppRcppArmadillorlangrprojroottestthatwaldowithr
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 |
