four tests for granger causality of 2 timeseries
this is a proof-of concept implementation not cleaned up, has some duplicate calculations, memory intensive - builds full lag array for variables prints results not verified with other packages, all four tests give similar results (1 and 4 identical)
Parameters : | x : array, 2d, (nobs,2)
maxlag : integer
|
---|---|
Returns : | None : no returns
|
Notes
TODO: convert to function that returns and compare with other packages