stableGR

A Stable Gelman-Rubin Diagnostic for Markov Chain Monte Carlo

CRAN Package

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

  • Version1.2
  • R version≥ 3.5
  • LicenseGPL-3
  • Needs compilation?No
  • Last release10/07/2022

Team


Insights

Last 30 days

This package has been downloaded 256 times in the last 30 days. Enough downloads to make a small wave in the niche community. The curiosity is spreading! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 15 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 16, 2025
0 downloadsMar 17, 2025
15 downloadsMar 18, 2025
5 downloadsMar 19, 2025
10 downloadsMar 20, 2025
13 downloadsMar 21, 2025
7 downloadsMar 22, 2025
2 downloadsMar 23, 2025
7 downloadsMar 24, 2025
5 downloadsMar 25, 2025
5 downloadsMar 26, 2025
5 downloadsMar 27, 2025
14 downloadsMar 28, 2025
4 downloadsMar 29, 2025
7 downloadsMar 30, 2025
3 downloadsMar 31, 2025
15 downloadsApr 1, 2025
4 downloadsApr 2, 2025
6 downloadsApr 3, 2025
4 downloadsApr 4, 2025
8 downloadsApr 5, 2025
6 downloadsApr 6, 2025
10 downloadsApr 7, 2025
5 downloadsApr 8, 2025
7 downloadsApr 9, 2025
5 downloadsApr 10, 2025
10 downloadsApr 11, 2025
23 downloadsApr 12, 2025
5 downloadsApr 13, 2025
15 downloadsApr 14, 2025
16 downloadsApr 15, 2025
15 downloadsApr 16, 2025
0 downloadsApr 17, 2025
0 downloadsApr 18, 2025
0 downloadsApr 19, 2025
2
23

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 2,921 times in the last 365 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The day with the most downloads was Sep 11, 2024 with 32 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Imports1 package
  • Reverse Imports1 package