Learn R Programming

BGVAR (version 2.0.1)

summary.bgvar: Summarizing Bayesian Global Vector Autoregression Fits

Description

Output gives model information as well as some descriptive statistics on convergence properties, likelihood, serial autocorrelation in the errors and the average pairwise autocorrelation of cross-country residuals.

Usage

# S3 method for bgvar
summary(object, ...)

Arguments

object

an object of class bgvar.

...

other arguments.

Value

No return value.

See Also

bgvar to estimate a bgvar object.

avg.pair.cc to compute average pairwise cross-country correlation of cross-country residuals separately.

resid.corr.test to compute F-test on first-order autocorrelation of cross-country residuals separately.

Examples

Run this code
# NOT RUN {
set.seed(571)
library(BGVAR)
data(eerData)
model.ssvs <- bgvar(Data=eerData,W=W.trade0012,plag=1,saves=100,burns=100,
                    prior="SSVS",thin=1,SV=TRUE,trend=TRUE)
summary(model.ssvs)
# }

Run the code above in your browser using DataLab