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:Christina Knudson [aut, cre], Dootika Vats [aut]

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'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

5 exports 0.36 score 37 dependencies 1 dependents 45 scripts 268 downloads

Last updated 2 years agofrom:6972621044. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 24 2024
R-4.5-winOKAug 24 2024
R-4.5-linuxOKAug 24 2024
R-4.4-winOKAug 24 2024
R-4.4-macOKAug 24 2024
R-4.3-winOKAug 24 2024
R-4.3-macOKAug 24 2024

Exports:asym.varmvn.gibbsn.effstable.GRtarget.psrf

Dependencies:briocallrclicrayondescdiffobjdigestellipseevaluatefansifftwtoolsfsgluejsonlitelifecyclemagrittrmcmcsemvtnormpillarpkgbuildpkgconfigpkgloadpraiseprocessxpsR6RcppRcppArmadillorematch2rlangrprojroottestthattibbleutf8vctrswaldowithr