statsmodels.tsa.vector_ar.var_model.VARResults.test_causality
VARResults.test_causality(equation, variables, kind='f', signif=0.05, verbose=True) [source]
Compute test statistic for null hypothesis of Granger-noncausality, general function to test joint Granger-causality of multiple variables Parameters:
equation : string or int Equation to test for causality variables : sequence (of strings or ints) List, tuple, etc. of variables to test for Granger-causality kind : {?f?, ?wald?} Perf