target.psrf | R Documentation |
When the sample diagnostic reaches the psrf threshold calculated in this function, sufficient samples have been obtained.
target.psrf(p, m, epsilon = 0.05, delta = NULL, alpha = 0.05)
p |
dimension of the estimation problem. |
m |
number of chains. |
epsilon |
relative precision level. Values less than .10 are recommended. |
delta |
desired delta value - the cutoff for potential scale reduction factor. If specified, then the corresponding |
alpha |
significance level for confidence regions for the Monte Carlo estimators. |
psrf |
The desired PSRF cutoff to stop the simulation. |
epsilon |
The epsilon value used to calculate the PSRF threshold. |
Vats, D. and Knudson, C. Revisiting the Gelman-Rubin Diagnostic. arXiv:1812.09384
Vats, D. and Flegal, J. Lugsail lag windows and their application to MCMC. arXiv: 1809.04541.
Flegal, J. M. and Jones, G. L. (2010) Batch means and spectral variance estimators in Markov chain Monte Carlo. The Annals of Statistics, 38, 1034–1070.
Gelman, A and Rubin, DB (1992) Inference from iterative simulation using multiple sequences, Statistical Science, 7, 457-511.
Brooks, SP. and Gelman, A. (1998) General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics, 7, 434-455.
target.psrf(p = 2, m = 3, epsilon = .05, alpha = .05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.