geweke.diagTAR: Geweke's convergence diagnostic for 'mtar' objects

View source: R/wrapperfunctions.R

geweke.diagTARR Documentation

Geweke's convergence diagnostic for mtar objects

Description

This function computes Geweke's convergence diagnostic for Markov chain Monte Carlo (MCMC) output obtained from Bayesian estimation of multivariate TAR models. It is a wrapper around geweke.diag() that applies the diagnostic to the posterior chains returned by a call to mtar().

Usage

geweke.diagTAR(x, frac1 = 0.1, frac2 = 0.5)

Arguments

x

An object of class mtar returned by the function mtar().

frac1

A numeric value in (0,1) specifying the fraction of the initial part of each chain to be used in the diagnostic.

frac2

A numeric value in (0,1) specifying the fraction of the final part of each chain to be used in the diagnostic.

Value

A list containing the Geweke z-scores for the parameters of the mtar model.

See Also

geweke.diag


mtarm documentation built on Jan. 12, 2026, 1:07 a.m.

Related to geweke.diagTAR in mtarm...