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.

2.22 score 1 packages 55 scripts 254 downloads 5 exports 30 dependencies

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

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winOKNov 22 2024
R-4.5-linuxOKNov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

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

Dependencies:briocallrclicrayondescdiffobjdigestellipseevaluatefftwtoolsfsgluejsonlitelifecyclemagrittrmcmcsemvtnormpkgbuildpkgloadpraiseprocessxpsR6RcppRcppArmadillorlangrprojroottestthatwaldowithr