View source: R/Distance_matrix_knn_algorithm.R
distance_matrix_CGCI | R Documentation |
Pairwise distance matrix of a multivariate time series based on the the conditional Granger causality index distance between two series
distance_matrix_CGCI(unit, pmax)
unit |
A matrix representing a multivariate time series where each column is a univariate time series. |
pmax |
maximum order(lag) of the VAR model to be considered |
a matrix with pairwise distances
Siggiridou, Elsa, and Dimitris Kugiumtzis. "Granger Causality in Multivariate Time Series Using a Time-Ordered Restricted Vector Autoregressive Model." IEEE Transactions on Signal Processing 64, no. 7 (April 2016): 1759-73. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1109/TSP.2015.2500893")}
X=matrix( rnorm(2000), ncol=10 )
pmax=4
distance_matrix_CGCI(unit=X, pmax)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.