spillover: calculate the spillover relationship between two time series

Description Usage Arguments Value

View source: R/spillover.r

Description

calculate the spillover relationship between two time series

Usage

1
spillover(r1, r2, VaR1, VaR2, M, BETA, weighted = TRUE)

Arguments

r1

a time series

r2

a time series

VaR1

the VaR of r1, calculate by the caviarOptim function

VaR2

the VaR of r2

M

the lag parameter use to calculate the spillover

BETA

the significant threshold for the causality test

weighted

logic value, default TRUE, return the spillover value or not

Value

a vector with two element, 1 or 0 if weighted=FALSE, otherwise return the spillover value


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.