isflat: Model checking functions

View source: R/analysis.R

isflatR Documentation

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


ggdmc documentation built on April 13, 2025, 5:09 p.m.