HWconverg1 {bmk} | R Documentation |
Determine if a specific chain has converged. This takes a chain and divides it into batches and calculates the Hellinger distance between consecutive batches.
HWconverg1(chain1, batchsize1 = 1000)
chain1 |
A vector of a single MCMC chain. |
batchsize1 |
An integer that defines the size of the batches. |
c2 A vector of Hellinger distances between consecutive batches.