Learn R Programming

MSBVAR (version 0.9-2)

A02mcmc: Converts A0 objects to coda MCMC objects

Description

Converts A0 objects from gibbs.A0.BSVAR into mcmc objects for analysis with coda

Usage

A02mcmc(x)

Arguments

x
$N2 x$ number of free parameters in A(0) MCMC Gibbs sample object for the B-SVAR model $A(0)$ from gibbs.A0. This matrix is a column major to row major version of A(0) that can be used to diagnose covergence and summarize the elements of A(0)

Value

Object with class mcmc

Details

Returns an object of the class mcmc, an N2 x number free parameters in A(0) matrix. This can then be fed into coda for further analysis of the posterior.

See Also

gibbs.A0,mcmc