The R Journal: article published in 2020, volume 12:1

NlinTS: An R Package For Causality Detection in Time Series PDF download
Youssef Hmamouche , The R Journal (2020) 12:1, pages 21-31.

Abstract 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 non linear 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.

Received: 2018-02-02; online 2020-09-10
CRAN packages: NlinTS, vars, lmtest, RTransferEntropy, timeSeries, Rcpp
CRAN Task Views implied by cited CRAN packages: TimeSeries, Finance, Econometrics, HighPerformanceComputing, MissingData, NumericalMathematics, SocialSciences

CC BY 4.0
This article is licensed under a Creative Commons Attribution 4.0 International license.

  author = {Youssef Hmamouche},
  title = {{NlinTS: An R Package For Causality Detection in Time Series}},
  year = {2020},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2020-016},
  url = {},
  pages = {21--31},
  volume = {12},
  number = {1}