Convergent Cross Mapping (CCM)

Statistics
Introduced by
George Sugihara et al.
Year
2012
Type
Nonlinear time-series causality test
Family
Dynamical causality

What does it do?

Convergent Cross Mapping (CCM) is a nonlinear, state-space method for detecting causal influence between time-series variables that may belong to the same dynamical system.

It uses time-delay embedding grounded in Takens' embedding theorem: the reconstructed manifold of one variable is used to predict the states of the other. Convergence of this cross-map skill as the library length grows is taken as evidence consistent with causation, but a formal null comparison is still needed before a causal claim is made. The method was introduced by George Sugihara and colleagues in a 2012 Science paper.

The intuition behind the method

Think of two fishermen on opposite banks of a river. If upstream conditions genuinely affect the downstream fish, the downstream record carries traces of the upstream state. CCM asks whether one reconstructed manifold holds enough information to recover another variable's states, and whether that recovery improves as more data are used. Skill that rises and levels off at a positive value is consistent with a causal influence, whereas skill that fails to converge gives no such support. Convergence on its own is not a significance test, so the result is best read as a diagnostic that needs a null comparison before it supports a causal claim.

History

CCM was introduced by George Sugihara, Robert May and colleagues in a 2012 paper in Science, which presented it as a way to distinguish causality from correlation in nonlinear state-space systems. It emerged from the Empirical Dynamic Modelling framework, which analyses time series through reconstructed state spaces rather than fitted mechanistic equations. The approach builds on Takens' embedding theorem for the reconstruction step.

When to use it

CCM is suited to variables suspected of interacting within a nonlinear, coupled dynamical system whose components cannot be separated, the kind of setting the source paper illustrates with ecological time series. It requires continuous univariate series that are long enough to form neighbour sets at the library sizes tested for the chosen embedding dimension, and it generally assumes approximately stationary dynamics. Linear, separable systems are usually better served by linear approaches such as Granger causality, and short or heavily noisy series are a poor fit. Do not use it to conclude causation when a shared external driver has not been separately excluded.

Limitations and considerations

  • Needs long enough series: as the number of observations shrinks relative to the neighbour set required by E, the cross-map estimates become unreliable
  • Embedding dimension E and lag τ must be chosen before analysis, adding a preprocessing step whose results affect the outcome
  • Cannot distinguish direct causation from indirect causation mediated by a common driver without additional controls
  • Sensitive to observational noise and missing data, which can inflate or suppress cross-map skill estimates

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Targets nonlinear and weakly coupled systems that the source abstract identifies as outside the scope of the Granger causality framework
  • Requires no parametric model of the underlying dynamics
  • Tests both directions of influence by running the cross-map in reverse
  • Rests on Takens' embedding theorem, which gives the manifold reconstruction a formal basis

Applications

  • Ecological time series, including the sardine–anchovy–temperature problem used as a case study in the source paper
  • Nonlinear, weakly coupled ecological systems in general, which the source abstract describes as nonseparable, weakly connected systems outside the Granger causality framework

How it works

How it works

1

Each univariate time series is unfolded into a shadow manifold of delay vectors, using an embedding dimension E and a time lag τ. The delay vectors approximate the attractor of the underlying system, so its geometry can be examined from a single observed variable.

Formula
\mathbf{M}_X = \{\mathbf{x}_t\} = \{(x_t, x_{t-\tau}, \ldots, x_{t-(E-1)\tau})\}
2

For each time point, the E+1 nearest neighbours of the delay vector on the manifold are identified, as the formula specifies, and their corresponding values of the target variable are combined as a weighted average. The weights decay exponentially with distance, scaled by a distance parameter d_1 whose definition is not given here. The exact weighting convention, including how d_1 is set, should be taken from the cited paper.

Formula
\hat{Y}(t) \mid \mathbf{M}_X = \sum_{i=1}^{E+1} w_i \, y(t_i), \quad w_i = \frac{u_i}{\sum_j u_j}, \quad u_i = e^{-d(\mathbf{x}_t,\, \mathbf{x}_{t_i})/d_1}
3

Prediction skill ρ_L is the Pearson correlation between the observed target values and the cross-map predictions made from a library of length L. Higher skill means the manifold in use carries more information about the target variable.

Formula
\rho_L = \operatorname{corr}\!\left(Y,\, \hat{Y} \mid \mathbf{M}_X(L)\right)
4

The library size L is increased toward the full series length, and cross-map skill ρ_L is tracked at each size. Evidence consistent with a causal influence in the tested direction is skill that increases with L and levels off at a positive value ρ*. Skill that fails to converge does not support that direction, although it does not prove that no influence exists. Because influence can run in both directions, the mapping should be run both ways. A plateau alone is not a significance test: the observed skill should be compared against a null, such as surrogate series that preserve the target's basic autocorrelation structure, before a causal claim is made.

Formula
X \xrightarrow{\text{causes}} Y \iff \rho_L \xrightarrow{L \to \infty} \rho^{*} > 0

Common pitfalls

  • Conflating correlation-based convergence with mechanistic causation without ruling out synchrony or shared forcing
  • Selecting embedding parameters arbitrarily rather than data-adaptively, leading to unreliable manifold reconstruction
  • Using CCM on systems that are near-linear or weakly nonlinear, where linear approaches such as Granger causality may be more appropriate
  • Interpreting a positive ρ* in one direction as exclusive causation without testing the reverse direction
  • Reading a rising skill curve as causation without comparing it against a null

Frequently asked questions

How does CCM differ from Granger causality?

Granger causality tests whether past values of X improve linear predictions of Y in a regression model, which suits separable, linear systems. CCM instead assesses cross-map skill on reconstructed state spaces and was developed for nonseparable, weakly connected dynamic systems that lie outside the Granger causality framework. The two approaches rest on different assumptions, so they need not agree on the same data.

How do I choose the embedding dimension E and time lag τ?

E is commonly chosen by comparing one-step-ahead forecast skill across candidate values, for example with simplex projection, and τ is often chosen from the autocorrelation function or the mutual information function. The chosen values should be reported with the results. The rEDM R package and the pyEDM Python library provide routines for these choices.

What library length is needed for reliable CCM results?

The library must contain enough observations to form meaningful neighbour sets in E-dimensional space, so the minimum depends on the chosen E. Convergence itself requires varying L across a range, so the full series should be substantially longer than the smallest library used. Short series can show apparent convergence or fail to separate signal from noise, so the length requirement should be checked for each analysis.

Related methods

Sources

  1. Sugihara, G., et al. (2012). Detecting causality in complex ecosystems. Science, 338(6106), 496–500.

    Open DOI reference