Description Usage Arguments Author(s) References
View source: R/check_pre_conv.R
As suggested by Liang et al. (2016), when the auxiliary chain has converged, the number of visited auxiliary phi should be equal in theorem. Hence, this function provides a histogram to help visually check if every auxiliary phi has been equally visited in the auxiliary chain.
1 | check_pre_conv(pre_values,PhiC)
|
pre_values |
The initial condition for the SACut algorithm. It is obtained by running a preliminary chain. Hence, it should be an output from function Preliminary_SACut(). |
PhiC |
The auxiliary parameter set. It is obtained by calling function LoadNewPhi0() or LoadOldPhi0(). Note that, this should be the same as the PhiC in function Preliminary_SACut(). |
Yang Liu
Liang, F., I. H. Jin, Q. Song, and J. S. Liu (2016). An Adaptive Exchange Algorithm for Sampling from Distributions with Intractable Normalizing Constants. Journal of the American Statistical Association 111 (513), 377-393.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.