tests/test.r

library(FRAPO) # replace this package with own dataset
data("ESCBFX") # FX - data

tmp <- VAR(ESCBFX,p=6)

# Test the classical VAR

# whole series
test1 <- cv_connectedness(mydata = ESCBFX,rolling_window = 0, nolags = 6, nhor = 12)

# with rolling window
test2 <- cv_connectedness(mydata = ESCBFX,rolling_window = 100, nolags = 6, nhor = 12)
joergrieger/bayesianConnectedness documentation built on July 31, 2019, 9:36 a.m.