Description Usage Arguments Value Author(s) Examples
View source: R/BUS_Rfunctions.R
When Gibbs sampler attains stationary, the distances between multiple chains (with multiple initial values) should be small. The EPSR factors are calculated to help decide the iteration number of Gibbs sampler.
1 | calculate_EPSR_sigma_sq(sigma_sq_PosterSamp_chain1, sigma_sq_PosterSamp_chain2)
|
sigma_sq_PosterSamp_chain1 |
posterior samples of variances from chain 1. |
sigma_sq_PosterSamp_chain2 |
posterior samples of variances from chain 2. |
EPSR_sigma_sq |
The EPSR factors for sigma_sq, a G by B matrix. |
Xiangyu Luo
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.