**tl;dr** Iâ€™m not currently using Transfer Entropy so should not be taken as an expert. But I have dumped some notes here from an email I was writing to a physicist, explaining why I donâ€™t think it is, in general, a meaningful thing to estimate from data â€śnon-parametricallyâ€ť.

That explanation needs to be written, but I never got around to finishing it. The key point is that if you want to estimate this quantity empirically should just use an appropriate time-series graphical model instead. Then, you recover the main utility of transfer entropy and with more general interaction structures than discrete-time multivariate series used by transfer entropy, plus you get to choose your favourite conditional independence test *and* your estimation theory is better, or at least not worse, and more general, or at least not less general. You can, for example, use an information-theoretic dependence test in that framing, if that is important to you for any reason, or a Kernel Mean Embedding, or \(\Chi^2\)â€¦

Transfer Entropy is, like Granger Causality, a quantity summarising, between two random processes, a particular species of *Weiner-causation*. As Granger summarized it

The statement about causality has just two components:

The cause occurs before the effect; and

The cause contains information about the effect that is unique, and is in no other variable.

In practice this â€śin no other variableâ€ť business is usually quietly ignored in favour of â€śin no other variable that i have to handâ€ť; for a better approach to this see causal DAGs.

Transfer entropy is is the brainchild of Thomas Schreiber, Peter Grassberger, Andreas Kaiser and others. It makes a particular assumption of the form of the data (discrete-time series) and the method in which one quantifies dependence; It is based on the KL-divergence (a kind of information measure) between two stochastic processes. In the first model, you assume that the two processes are both Markov, but completely independent. In the second, you assume that that the two sequences are jointly Markov. The transfer entropy is the KL-divergence between the joint distribution of the *next time step* for each model. Intuitively, it tells us how much predictive power we have lost by assuming that the sequences are independent.

One needs to make this concrete by plugging in specific assumptions on the form of the process; One such special type of Wiener-causality, *Granger-causality* is based on linear vector ARIMA time series. Barnett (BaBS09) shows that for the special case of your processes being a jointly autoregressive linear model with Gaussian noise, it is the same as Granger causality.

Or if your time series is a finite discrete random variable you can just use discrete Markov chains, as in LiPr10. Other models are possible, but I havenâ€™t used any such.

## Why do we care about this model of causation?

There is a famous data set from an ancient Santa Fe time series data analysis contest, of ECG and breath data. Transfer entropy has been to this to measure whether heart rate â€śt-causesâ€ť breath rate or vice versa. However, if you really which to know whether heart rate â€ścausesâ€ť breath rate or breath rate â€ścausesâ€ť heart rate, at least one experiment to work it out has been done many times: Stop either someoneâ€™s heart or breath for long enough, the other one will stop shortly after. Homework: What is the relationship between the model of causation implicit in this experiment and the one from the observational time series data?

Like all Wiener-causation, TE does not measure causal influence *per se* but predictive usefulness. *G*-causation (Or *t*-causation?) is not like intuitive causation; Specifically, we are often *not* only interested in how well we can predict one from the other, but how we can change overall system behaviour by intervening in it. This is a complicated and different question than asking about which parts of a system are informative about which others. See, e.g.Â causal DAGs.

## Estimating from data

All this is about stochastic processes *for which we know the parameters*. Why do we want to calculate this predictive importance measure for processes More usually, you want to gain insight into some real-world stochastic process from which you have data, but imperfect knowledge of the parameters.

If you have to estimate the transfer entropy between processes with unknown parameters from noisy observations, you have now arrived in the world of statistics.

How can you estimate it? Which parametric models work? Which nonparametric methods?

**TODO**: mention how to do this; Specifically, mention what might go wrong with information estimation.

For now, probably just see RHPK12, who handball the entire thing to the PC-algorithm for graphical models. This is probably the best thing to do, since if the question is â€śHow do I estimate the transfer entropy of a process nonparametrically from observational data?â€ť, the question *should* probably have been â€śHow do I estimate causality nonparametrically from observational data?â€ť, unless your process comes pre-discretised in time and space, or you object to flexibility in your estimands.

# Refs

Barnett, Lionel, Adam B. Barrett, and Anil K. Seth. 2009. â€śGranger Causality and Transfer Entropy Are Equivalent for Gaussian Variables.â€ť *Physical Review Letters* 103 (23): 238701. https://doi.org/10.1103/PhysRevLett.103.238701.

Grassberger, Peter, Thomas Schreiber, and C Schaffrath. 1991. â€śNonlinear Time Sequence Analysis.â€ť *International Journal of Bifurcation and Chaos* 1 (3): 521â€“47. https://doi.org/10.1142/S0218127491000403.

Kantz, Holger, and Thomas Schreiber. 2004. *Nonlinear Time Series Analysis*. 2nd ed. Cambridge, UK ; New York: Cambridge University Press.

Lizier, Joseph T, and Mikhail Prokopenko. 2010. â€śDifferentiating Information Transfer and Causal Effect.â€ť *The European Physical Journal B - Condensed Matter and Complex Systems* 73 (4): 605â€“15. https://doi.org/10.1140/epjb/e2010-00034-5.

Lizier, Joseph T, Mikhail Prokopenko, and Albert Y Zomaya. 2008. â€śLocal Information Transfer as a Spatiotemporal Filter for Complex Systems.â€ť *Physical Review E* 77: 026110. https://doi.org/10.1103/PhysRevE.77.026110.

Schreiber, Thomas. 2000. â€śMeasuring Information Transfer.â€ť *Physical Review Letters* 85 (2): 461â€“64.