tsp.granger: Granger Causality test for multivariate VAR models

View source: R/tsp.granger.R

tsp.grangerR Documentation

Granger Causality test for multivariate VAR models

Description

Perform Granger causality block test based on Wald Chi-Squared

Usage

tsp.granger(model)

Arguments

model

VAR object created with vars::VAR()

Value

tibble class data with causality test for each pair

Examples

library(tseries.plot)
library(vars)
data("Canada")
tsp.granger(VAR(Canada,2))

espher1987/tseries.plot documentation built on Nov. 2, 2022, 5:48 p.m.