Learn R Programming

ConnectednessApproach (version 1.0.4)

JointConnectedness: Lastrapes and Wiesen (2021) joint connectedness approach

Description

This function calculates the Lastrapes and Wiesen (2021) joint connectedness measures.

Usage

JointConnectedness(Phi, Sigma, nfore)

Value

Get connectedness measures

Arguments

Phi

VAR coefficient matrix

Sigma

Residual variance-covariance matrix

nfore

H-step ahead forecast horizon

Author

David Gabauer

References

Lastrapes, W. D., & Wiesen, T. F. (2021). The joint spillover index. Economic Modelling, 94, 681-691.

Examples

Run this code
# \donttest{
data("lw2021")
fit = VAR(lw2021, configuration=list(nlag=2))
dca = JointConnectedness(Phi=fit$B, Sigma=fit$Q, nfore=30)
dca$TABLE
# }

Run the code above in your browser using DataLab