Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ggdmc (version 0.2.6.2)

isflat: Model checking functions

Description

The function tests whether Markov chains converge prematurelly:

Usage

isflat(
  x,
  p1 = 1/3,
  p2 = 1/3,
  cut_location = 0.25,
  cut_scale = Inf,
  verbose = FALSE
)

Arguments

x

posterior samples

p1

the range of the head of MCMC chains

p2

the range of the tail of the MCMC chains

cut_location

how far away a location chains been considered as stuck

cut_scale

how far away a scale chains been considered as stuck

verbose

print more information