calculate_WAIC: WAIC calculation

Description Usage Arguments Value

View source: R/analyses.R

Description

Given an MCMC chain, calculates the WAIC

Usage

1
calculate_WAIC(chain, parTab, dat, f)

Arguments

chain

the MCMC chain to be tested

parTab

the parameter table used for this chain

dat

the data

f

the posterior calculating function

Value

a single WAIC value


jameshay218/lazymcmc documentation built on Sept. 16, 2021, 12:14 a.m.