NlinTS: An R Package For Causality Detection in Time Series

The causality is an important concept that is widely studied in the literature, and has several applications, especially when modelling dependencies within complex data, such as multivariate time series. In this article, we present a theoretical description of methods from the NlinTS package, and we focus on causality measures. The package contains the classical Granger causality test. To handle non-linear time series, we propose an extension of this test using an artificial neural network. The package includes an implementation of the Transfer entropy, which is also considered as a nonlinear causality measure based on information theory. For discrete variables, we use the classical Shannon Transfer entropy, while for continuous variables, we adopt the k-nearest neighbors approach to estimate it.

[1]  Thomas Dimpfl,et al.  RTransferEntropy - Quantifying information flow between different time series using effective transfer entropy , 2019, SoftwareX.

[2]  Michel Terraza,et al.  Testing for Causality , 1994 .

[3]  Schreiber,et al.  Measuring information transfer , 2000, Physical review letters.

[4]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[5]  Joseph T. Lizier,et al.  JIDT: An Information-Theoretic Toolkit for Studying the Dynamics of Complex Systems , 2014, Front. Robot. AI.

[6]  Gordon Pipa,et al.  Transfer entropy—a model-free measure of effective connectivity for the neurosciences , 2010, Journal of Computational Neuroscience.

[7]  Boris Gourévitch,et al.  Evaluating information transfer between auditory cortical neurons. , 2007, Journal of neurophysiology.

[8]  Huazhong Shu,et al.  Contribution to Transfer Entropy Estimation via the k-Nearest-Neighbors Approach , 2015, Entropy.

[9]  A. Seth,et al.  Granger causality and transfer entropy are equivalent for Gaussian variables. , 2009, Physical review letters.

[10]  Bernhard Pfaff,et al.  VAR, SVAR and SVEC Models: Implementation Within R Package vars , 2008 .

[11]  Achim Zeileis,et al.  Diagnostic Checking in Regression Relationships , 2015 .

[12]  A. Kraskov,et al.  Estimating mutual information. , 2003, Physical review. E, Statistical, nonlinear, and soft matter physics.

[13]  Sirish L. Shah,et al.  Direct Causality Detection via the Transfer Entropy Approach , 2013, IEEE Transactions on Control Systems Technology.