HDistSize {bmk}R Documentation

Hellinger distance between two MCMC chains using a specified grid size.

Description

This function determines the Hellinger distance between two MCMC chains via kernel density estimates.

Usage

  HDistSize(b1, b2, n2)

Arguments

b1

vector of first MCMC chain.

b2

vector of second MCMC chain.

n2

is the number of divisions to run for the kernel density estimator

Value

res1 The Hellinger distance between the kernel density estimates for b1 and b2.

Note

The chains need to be the same length.


[Package bmk version 1.0 Index]