Convergent cross mapping

From HandWiki
Short description: Statistical test for causality

Convergent cross mapping (CCM) is a statistical test for a cause-and-effect relationship between two variables that, like the Granger causality test, seeks to resolve the problem that correlation does not imply causation.[1] While Granger causality is best suited for purely stochastic systems where the influences of the causal variables are separable (independent of each other), CCM is based on the theory of dynamical systems and can be applied to systems where causal variables have synergistic effects. As such, CCM is specifically aimed to identify linkage between variables that can appear uncorrelated with each other.

Theory

In the event one has access to system variables as time series observations, Takens' embedding theorem can be applied. Takens' theorem generically proves that the state space of a dynamical system can be reconstructed from a single observed time series of the system, [math]\displaystyle{ X }[/math]. This reconstructed or shadow manifold [math]\displaystyle{ M_X }[/math] is diffeomorphic to the true manifold, [math]\displaystyle{ M }[/math], preserving instrinsic state space properties of [math]\displaystyle{ M }[/math] in [math]\displaystyle{ M_X }[/math].

Convergent Cross Mapping (CCM) leverages a corollary to the Generalized Takens Theorem[2] that it should be possible to cross predict or cross map between variables observed from the same system. Suppose that in some dynamical system involving variables [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math], [math]\displaystyle{ X }[/math] causes [math]\displaystyle{ Y }[/math]. Since [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] belong to the same dynamical system, their reconstructions via embeddings [math]\displaystyle{ M_{X} }[/math] and [math]\displaystyle{ M_{Y} }[/math], also map to the same system.

The causal variable [math]\displaystyle{ X }[/math] leaves a signature on the affected variable [math]\displaystyle{ Y }[/math], and consequently, the reconstructed states based on [math]\displaystyle{ Y }[/math] can be used to cross predict values of [math]\displaystyle{ X }[/math]. CCM leverages this property to infer causality by predicting [math]\displaystyle{ X }[/math] using the [math]\displaystyle{ M_{Y} }[/math] library of points (or vice-versa for the other direction of causality), while assessing improvements in cross map predictability as larger and larger random samplings of [math]\displaystyle{ M_{Y} }[/math] are used. If the prediction skill of [math]\displaystyle{ X }[/math] increases and saturates as the entire [math]\displaystyle{ M_{Y} }[/math] is used, this provides evidence that [math]\displaystyle{ X }[/math] is causally influencing [math]\displaystyle{ Y }[/math].

Cross mapping is generally asymmetric. If [math]\displaystyle{ X }[/math] forces [math]\displaystyle{ Y }[/math] unidirectionally, variable [math]\displaystyle{ Y }[/math] will contain information about [math]\displaystyle{ X }[/math], but not vice versa. Consequently, the state of [math]\displaystyle{ X }[/math] can be predicted from [math]\displaystyle{ M_Y }[/math], but [math]\displaystyle{ Y }[/math] will not be predictable from [math]\displaystyle{ M_X }[/math].

Algorithm

The basic steps of convergent cross mapping for a variable [math]\displaystyle{ X }[/math] of length [math]\displaystyle{ N }[/math] against variable [math]\displaystyle{ Y }[/math] are:

  1. If needed, create the state space manifold [math]\displaystyle{ M_Y }[/math] from [math]\displaystyle{ Y }[/math]
  2. Define a sequence of library subset sizes [math]\displaystyle{ L }[/math] ranging from a small fraction of [math]\displaystyle{ N }[/math] to close to [math]\displaystyle{ N }[/math].
  3. Define a number of ensembles [math]\displaystyle{ N_E }[/math] to evaluate at each library size.
  4. At each library subset size [math]\displaystyle{ L_i }[/math]:
    1. For [math]\displaystyle{ N_E }[/math] ensembles:
      1. Randomly select [math]\displaystyle{ L_i }[/math] state space vectors from [math]\displaystyle{ M_Y }[/math]
      2. Estimate [math]\displaystyle{ \hat{X} }[/math] from the random subset of [math]\displaystyle{ M_Y }[/math] using the Simplex state space prediction
      3. Compute the correlation [math]\displaystyle{ \rho }[/math] between [math]\displaystyle{ \hat{X} }[/math] and [math]\displaystyle{ X }[/math]
    2. Compute the mean correlation [math]\displaystyle{ \bar{\rho} }[/math] over the [math]\displaystyle{ N_E }[/math] ensembles at [math]\displaystyle{ L_i }[/math]
  5. The spectrum of [math]\displaystyle{ \bar{\rho} }[/math] versus [math]\displaystyle{ L }[/math] must exhibit convergence.
  6. Assess significance. One technique is to compare [math]\displaystyle{ \bar{\rho} }[/math] to [math]\displaystyle{ \bar{\rho_S} }[/math] computed from [math]\displaystyle{ S }[/math] random realizations (surrogates) of [math]\displaystyle{ X }[/math].

Applications

CCM is used to detect if two variables belong to the same dynamical system, for example, can past ocean surface temperatures be estimated from the population data over time of sardines or if there is a causal relationship between cosmic rays and global temperatures. As for the latter it was hypothesised that cosmic rays may impact cloud formation, therefore cloudiness, therefore global temperatures. [3]

Extensions

Extensions to CCM include:

  • Extended Convergent Cross Mapping[4]
  • Convergent Cross Sorting[5]

See also

References

  1. Sugihara, George; May, Robert; Ye, Hao; Hsieh, Chih-hao; Deyle, Ethan; Fogarty, Michael; Munch, Stephan (2012). "Detecting Causality in Complex Ecosystems". Science 338 (6106): 496–500. doi:10.1126/science.1227079. PMID 22997134. Bibcode2012Sci...338..496S. https://www.science.org/doi/10.1126/science.1227079. 
  2. Deyle, Ethan R.; Sugihara, George (2011). "Generalized Theorems for Nonlinear State Space Reconstruction". PLOS ONE 6 (3): e18295. doi:10.1371/journal.pone.0018295. PMID 21483839. Bibcode2011PLoSO...618295D. 
  3. Tsonis, Anastasios A.; Deyle, Ethan R.; Ye, Hao; Sugihara, George (2018), Tsonis, Anastasios A., ed., "Convergent Cross Mapping: Theory and an Example" (in en), Advances in Nonlinear Geosciences (Cham: Springer International Publishing): pp. 587–600, doi:10.1007/978-3-319-58895-7_27, ISBN 978-3-319-58895-7, https://doi.org/10.1007/978-3-319-58895-7_27, retrieved 2023-10-19 
  4. Ye, Hao; Deyle, Ethan R.; Gilarranz, Luis J.; Sugihara, George (2015). "Distinguishing time-delayed causal interactions using convergent cross mapping". Scientific Reports 5: 14750. doi:10.1038/srep14750. PMID 26435402. Bibcode2015NatSR...514750Y. 
  5. Breston, Leo; Leonardis, Eric J.; Quinn, Laleh K.; Tolston, Michael; Wiles, Janet; Chiba, Andrea A. (2021). "Convergent cross sorting for estimating dynamic coupling". Scientific Reports 11 (1): 20374. doi:10.1038/s41598-021-98864-2. PMID 34645847. PMC 8514556. Bibcode2021NatSR..1120374B. https://doi.org/10.1038/s41598-021-98864-2. 

Further reading

External links

Animations: