This function returns of whether X Granger-causes Y.
ftestF-statistic of Granger causality.
p.valA p-value from F-test.
BIC_H0Bayesian Information Criterion (BIC) derived from Y regressing on Y past.
BIC_H1Bayesian Information Criterion (BIC) derived from Y regressing on Y,X past.
XgCsYThe flag is true if X Granger-causes Y using BIC difference ratio where BICDiffRatio >= gamma.
XgCsY_ftestThe flag is true if X Granger-causes Y using F-test where p.val>=alpha.
XgCsY_BICThe flag is true if X Granger-causes Y using BIC where BIC_H0>=BIC_H1.
maxLagA maximum possible time delay.
H0glm object of Y regressing on Y past.
H1glm object of Y regressing on Y,X past.
BICDiffRatioBayesian Information Criterion difference ratio: (BIC_H0-BIC_H1)/BIC_H0.