gelman.R: Calculate Gelman's R statistic

View source: R/bayou-mcmc-utilities.R

gelman.RR Documentation

Calculate Gelman's R statistic

Description

Calculate Gelman's R statistic

Usage

gelman.R(parameter, chain1, chain2, freq = 20, start = 1, plot = TRUE, ...)

Arguments

parameter

The name or number of the parameter to calculate the statistic on

chain1

The first bayouMCMC chain

chain2

The second bayouMCMC chain

freq

The interval between which the diagnostic is calculated

start

The first sample to calculate the diagnostic at

plot

A logical indicating whether the results should be plotted

...

Optional arguments passed to gelman.diag(...) from the coda package


uyedaj/bayou documentation built on Jan. 28, 2024, 5:09 a.m.