statsmodels.tsa.vector_ar.hypothesis_test_results.CausalityTestResults#

class statsmodels.tsa.vector_ar.hypothesis_test_results.CausalityTestResults(causing, caused, test_statistic, crit_value, pvalue, df, signif, test='granger', method=None)[source]#

Results class for Granger-causality and instantaneous causality

Parameters:
causinglist of str

This list contains the potentially causing variables.

causedlist of str

This list contains the potentially caused variables.

test_statisticfloat

The test’s test statistic.

crit_valuefloat

The test’s critical value.

pvaluefloat

The test’s p-value. Must be between 0 and 1.

dfint

Degrees of freedom.

signiffloat

Significance level.

test{“granger”, “inst”}, optional

If “granger”, Granger-causality has been tested. If “inst”, instantaneous causality has been tested.

method{“f”, “wald”}, optional

The kind of test. “f” indicates an F-test, “wald” indicates a Wald-test. Must be specified explicitly; a ValueError is raised if left as None.

Methods

summary()

Return summary

Methods

summary()

Return summary