This function computes the rolling spillover using the standard VAR estimate. We implement the parallel version for faster processing. The window is of fixed window and is rolled over the data. Interpretation of the other parameters is the same as in the standard computation of spillover.
spilloverRollingDY12(data, p, type, window, n.ahead, table = F, no.corr,
cluster = NULL)
variable containing the dataset
lags in the VAR estimate.
which type of VAR to use, see help for VAR from vars package
length of the window to be rolled
how many periods ahead should the FEVD be computed, generally this number should be high enough so that it won't change with additional period
boolean whether the full spillover table should be returned
boolean parameter whether the off-diagonal in the covariance matrix should be set to zero
either NULL for no parallel processing or the variable containing the cluster.