statsmodels.tsa.vector_ar.vecm.VECMResults.test_granger_causality
-
VECMResults.test_granger_causality(caused, causing=None, signif=0.05)[source] -
Test for Granger-causality.
The concept of Granger-causality is described in chapter 7.6.3 of [1]. Test H0: “The variables in
causingdo not Granger-cause those incaused” against H1: “causingis Granger-causal forcaused”.Parameters: -
caused (int or str or sequence of int or str) – If int or str, test whether the variable specified via this index (int) or name (str) is Granger-caused by the variable(s) specified by
causing. If a sequence of int or str, test whether the corresponding variables are Granger-caused by the variable(s) specified bycausing. -
causing (int or str or sequence of int or str or
None, default:None) – If int or str, test whether the variable specified via this index (int) or name (str) is Granger-causing the variable(s) specified bycaused. If a sequence of int or str, test whether the corresponding variables are Granger-causing the variable(s) specified bycaused. IfNone,causingis assumed to be the complement ofcaused(the remaining variables of the system). -
signif (float, 0 <
signif< 1, default 5 %) – Significance level for computing critical values for test, defaulting to standard 0.05 level.
Returns: results
Return type: statsmodels.tsa.vector_ar.hypothesis_test_results.CausalityTestResultsReferences
[1] Lütkepohl, H. 2005. New Introduction to Multiple Time Series Analysis. Springer. -
caused (int or str or sequence of int or str) – If int or str, test whether the variable specified via this index (int) or name (str) is Granger-caused by the variable(s) specified by
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tsa.vector_ar.vecm.VECMResults.test_granger_causality.html