Open Access

Transfer Entropy Estimation and Directional Coupling Change Detection in Biomedical Time Series

  • Joon Lee1Email author,
  • Shamim Nemati2, 3,
  • Ikaro Silva1,
  • Bradley A Edwards3,
  • James P Butler3 and
  • Atul Malhotra3
BioMedical Engineering OnLine201211:19

DOI: 10.1186/1475-925X-11-19

Received: 30 November 2011

Accepted: 13 April 2012

Published: 13 April 2012



The detection of change in magnitude of directional coupling between two non-linear time series is a common subject of interest in the biomedical domain, including studies involving the respiratory chemoreflex system. Although transfer entropy is a useful tool in this avenue, no study to date has investigated how different transfer entropy estimation methods perform in typical biomedical applications featuring small sample size and presence of outliers.


With respect to detection of increased coupling strength, we compared three transfer entropy estimation techniques using both simulated time series and respiratory recordings from lambs. The following estimation methods were analyzed: fixed-binning with ranking, kernel density estimation (KDE), and the Darbellay-Vajda (D-V) adaptive partitioning algorithm extended to three dimensions. In the simulated experiment, sample size was varied from 50 to 200, while coupling strength was increased. In order to introduce outliers, the heavy-tailed Laplace distribution was utilized. In the lamb experiment, the objective was to detect increased respiratory-related chemosensitivity to O 2 and CO 2 induced by a drug, domperidone. Specifically, the separate influence of end-tidal PO 2 and PCO 2 on minute ventilation ( V ˙ E ) before and after administration of domperidone was analyzed.


In the simulation, KDE detected increased coupling strength at the lowest SNR among the three methods. In the lamb experiment, D-V partitioning resulted in the statistically strongest increase in transfer entropy post-domperidone for P O 2 V ˙ E . In addition, D-V partitioning was the only method that could detect an increase in transfer entropy for P C O 2 V ˙ E , in agreement with experimental findings.


Transfer entropy is capable of detecting directional coupling changes in non-linear biomedical time series analysis featuring a small number of observations and presence of outliers. The results of this study suggest that fixed-binning, even with ranking, is too primitive, and although there is no clear winner between KDE and D-V partitioning, the reader should note that KDE requires more computational time and extensive parameter selection than D-V partitioning. We hope this study provides a guideline for selection of an appropriate transfer entropy estimation method.


In multi-variable time series analysis, a common subject of interest is the coupling among the variables. One promising measure of the coupling strength between two time series is transfer entropy [1, 2], which quantifies the amount of information transfer from one variable to the other. Importantly, transfer entropy is non-parametric and can capture non-linear coupling effects. This property can be useful in analyzing complex systems where interactions among sub-systems are expected to be non-linear and where minimal a priori knowledge is available. Furthermore, transfer entropy is an asymmetric measure that conveys directional information. Unlike mutual information, which can only quantify the amount of shared information between two variables, transfer entropy can elucidate directional relationships between variables. In fact, it has been shown that transfer entropy is a non-linear extension of Granger causality [3].

Given all these advantages, transfer entropy has been gaining popularity as a powerful analytic tool for characterizing complex physiologic networks. For instance, this new method has been suggested [4] and successfully applied to electroencephalograms and magnetoencephalograms to help elucidate complex neural phenomena such as consciousness under anesthesia [5], sensory functional integration [6], auditory neural assembly [7], attention related processing [8], and sensor-motor connectivity [9]. In the area of cardiovascular physiology, Katura and colleagues [10] have utilized the technique of transfer entropy to elucidate (or reject) causal relationships that explain sources of variability in the regulation of cerebral hemodynamics. In addition, a number of studies have employed variations of transfer entropy, such as cross-conditional entropy and conditional mutual information, to investigate relationships between cardiovascular variables as indicator of baroreflex function [1114]. Conditional mutual information has been shown to be equivalent to transfer entropy [15].

In practice, one major challenge with transfer entropy estimation using biomedical signals is the estimation of Probability Density Functions (PDFs) from finite data with outliers. This estimation challenge is well discussed in [2, 16]. Small sample size can stem not only from experimental and/or technical constraints but also from the need for stationarity; a non-stationary time series may have to be broken into quasi-stationary segments before analysis. This sample size issue can be a major hindrance for biomedical studies where data collection is often costly. Also, outliers frequently originate from either noise sources or underlying physiology.

Therefore, our objective in this study was to investigate several transfer entropy estimation methodologies in the context of biomedical signals with small sample size and with outliers. This study can be viewed as an extension of the study on mutual information estimation (two dimensions) by Khan and colleagues [17] to transfer entropy estimation (three dimensions). Furthermore, unlike most other transfer entropy applications, we focused on the ability to detect increases in coupling strength, rather than on detection of the existence of a significant coupling or on identification of time lags at which significant couplings exist. This is a common research topic of interest when one wishes to study how a given coupling varies in magnitude under different conditions while the existence of the coupling is known a priori (our application to respiratory physiology in this study is one example). To the best of our knowledge, no study has attempted to investigate the sensitivity of various transfer entropy estimation methods to changes in coupling strength in the biomedical domain.

Specifically, we studied three non-parametric techniques in this endeavor: fixed-bins, Kernel Density Estimation (KDE), and adaptive partitioning. The fixed-bin approach, in which a given time series is quantized by dividing the dynamic range into equally-spaced bins, is the simplest method that boasts the least computational complexity at the cost of inefficient bin allocation [16]. KDE has been shown to perform well in mutual information estimation using short time series [17] and hence was included in our study. For adaptive partitioning, we introduce a novel method that applies the Darbellay-Vajda (D-V) partitioning algorithm [18] to transfer entropy estimation. The D-V partitioning algorithm is equivalent to the adaptive partitioning introduced by Fraser and Swinney [2, 19] and has been shown to be effective in mutual information estimation [20].

The comparison among the three transfer entropy estimation techniques was accomplished via both simulated and real-life signals. In both experiments, we analyzed the sensitivity of the techniques to increased non-linear coupling strength, under small sample size and presence of outliers. The purpose of the simulated experiment was to perform a rigorous comparison in a controlled setting. In order to address any coupling characteristics that were not represented by the simulated data, we also applied the transfer entropy estimation methods to measurements of spontaneous breathing respiratory flow, end-tidal carbon dioxide pressure (PCO 2) and end tidal oxygen pressure (PO 2), collected from lambs [21]. The objective of the lamb experiment was to detect changes in chemosensitivity, which is of major clinical interest. The method of transfer entropy provides a natural framework for quantification of directional influence that breath-by-breath changes in blood gases have on ventilation (via peripheral chemoreceptors located in the aortic arch and carotid bodies), while taking into account the delayed nature of the response (due to lung-to-chemoreceptors transport time, typically on the order of 2-4 breaths) and possible non-linearities [22]. Ventilatory control instabilities are important in a variety of pathological conditions, including Cheyne-Stokes breathing in congestive heart failure [23, 24] and obstructive sleep apnea [2527]. Although the specific mechanisms underlying each condition may vary, increases in the ventilatory sensitivity to hypoxia/hypercapnia (controller gain) have been shown to play a critical role in the pathogenesis of unstable breathing. An elevated hypoxic ventilatory response at high altitude is associated with the presence of unstable breathing [28]. Moreover, heightened dynamic hypercapnic responses delineate heart failure patients with periodic breathing (in the form of Cheyne-Stokes respiration) from those patients that exhibit stable breathing [2931]. Additionally, in heart failure patients, elevated hypoxic and/or hypercapnic sensitivity [32] and the consequent presence of Cheyne-Stokes respiration itself [33] are important predictors of mortality.


Transfer Entropy Construction

Given two concurrently sampled time series X = {x 1, x 2, . . ., x N } and Y = {y 1, y 2, . . ., y N }, the transfer entropy from X to Y, termed T XY , can be derived from conditional entropies as follows:
T X Y = H ( y i | y i - t ( l ) ) - H ( y i | y i - t ( l ) , x i - τ ( k ) )
= y i , y i - t ( l ) , x i - τ ( k ) p y i , y i - t ( l ) , x i - τ ( k ) log p y i | y i - t ( l ) , x i - τ ( k ) p y i | y i - t ( l ) ,

where i indicates a given point in time, τ and t are the time lags in X and Y, respectively, and k and l are the block lengths of past values in X and Y, respectively (see Appendix I for a complete derivation). The past values on which the conditional probabilities in (2) are conditioned are x i - τ ( k ) = { x i - τ - k + 1 , x i - τ - k + 2 , , x i - τ } and y i - t ( l ) = { y i - t - l + 1 , y i - t - l + 2 , , y i - t } . In words, (1) implies that transfer entropy measures the reduction in uncertainty in y i given x i - τ ( k ) and y i - t ( l ) in comparison with given only y i - t ( l ) . Note that T X Y cannot be negative because H ( y i | y i - t ( l ) ) H ( y i | y i - t ( l ) , x i - τ ( k ) ) in (1); conditioning on another variable, x i - τ ( k ) , cannot increase the uncertainty in y i . (Note that if base 2 logarithm is used, the unit of transfer entropy is bits, which has the interpretation of the amount of reduction in the average length of the optimal code needed to encode the target variable.)

Equation (2) is the most general definition of transfer entropy and provides maximum flexibility. However, the usual parameter choices in practice are k = 1 and l = 1 for computational reasons when sample size is small. In addition, here we set t = 1 under the assumption that the maximum auto-transfer of information occurs from the data point immediately before the target value in Y. For example, Francis et al. only considered lags of one breath in ventilation and CO 2 for the same reason [30]. These choices of k = l = t = 1 are especially appropriate in biomedical experiments where time series length is usually short and the absolute values of auto-correlation functions tend to decrease monotonically as time lag increases. Also, the original definition in [1] implicitly assumed t = 1 by using a Markov chain; our choice can be seen as a first-order Markov process. Hence, we restrict the focus of this paper to these usual parameter choices by simplifying (2) to
T X Y ( τ ) = y i , y i - 1 , x i - τ p ( y i , y i - 1 , x i - τ ) log p ( y i | y i - 1 , x i - τ ) p ( y i | y i - 1 )
= y i , y i - 1 , x i - τ p ( y i , y i - 1 , x i - τ ) log p ( y i , y i - 1 , x i - τ ) p ( y i - 1 ) p ( y i - 1 , x i - τ ) p ( y i , y i - 1 ) .

Note that (3) and (4) explicitly show transfer entropy as a function of τ.

In practice, the foremost challenge in transfer entropy computation is estimating the joint probabilities in (4). The ensuing section describes the three different PDF estimation methodologies to be investigated in this study.

Probability Density Function Estimation Methodologies

Fixed Bins

The simplest estimation approach to obtain the PDFs in (4) is to allocate data points to fixed, equally-spaced bins. In order to enhance robustness against outliers and sparse regions in the underlying distribution, we combined fixed binning with ordinal sampling (ranking). In ordinal sampling, the time series values in X and Y are substituted with their ranks in sorted X and Y , similar to most non-parametric statistical tests. The ranks are integers ranging from 1 (smallest value) to N (largest value). Let the transformed time series of X and Y be U = {u 1, u 2, . . ., u N } and V = {v 1, v 2, . . .,v N }, respectively (U and V contain integers that represent ranks).

Then, (4) can be rewritten in terms of U and V as follows:
T U V ( τ ) = v i , v i - 1 , u i - τ p ( v i , v i - 1 , u i - τ ) log p ( v i , v i - 1 , u i - τ ) p ( v i - 1 ) p ( v i - 1 , u i - τ ) p ( v i , v i - 1 ) .
Using the same number of bins, Q, in each dimension for simplicity, the fixed-bin technique estimates (5) as follows:
T U V ( τ ) a = 1 , b = 1 , c = 1 Q m a , b , c P log m a , b , c m b m b , c m a , b ,

where a, b, and c index bins along v i , v i-1, and u i-τ , respectively, and P is the total number of triplets of v i , v i-1, and u i-τ . Furthermore, m a,b,c , m a,b , and m b,c represent the number of data points in the intersection of the one-dimensional bins denoted by the subscript, whereas m b is the number of data points in the b th bin along the v i-1dimension.

Kernel Density Estimation

In KDE, the PDF is estimated by summing individual distributions centered at each data point. The shape of the individual distributions is dictated by a chosen kernel, the magnitude of which decreases as the distance from the center of the distribution increases. Since distance is a crucial measure in KDE, ordinal sampling is not employed. In the three-dimensional space of y i , y i-1, and x i-τ , the joint probability at an arbitrary point, ( i , i - 1 , x ̃ i - τ ) , can be estimated by normalizing the following:
p ( y ˜ i , y ˜ i 1 , x ˜ i τ ) 1 P j = 1 P 1 h y i h y i 1 h x i τ K ( y ˜ i y i , j h y i ) K ( y ˜ i 1 y i 1 , j h y i 1 ) K ( x ˜ i τ x i τ , j h x i τ ) ,
where j indexes the P data points and h (·) is the bandwidth for the dimension specified in the subscript. We utilized a scaled version of the rule of thumb specified in [34] to select the bandwidth:
h ( ) = 1 . 06 α σ ^ P - 1 / 5 ,
where α is a multiplier for scaling and σ ^ is the sample standard deviation in the given dimension. In terms of K, several possible kernels exist but we employed the widely used Gaussian kernel in this study, which is defined as follows:
K ( u ) = 1 2 π e - 0 . 5 u 2

The rest of the probabilities in (4) can be computed by marginalizing p ( i , i - 1 , x ̃ i - τ ) .

Adaptive Partitioning using the Darbellay-Vajda Algorithm

We introduce an extension of the D-V algorithm to three-dimensional space for transfer entropy estimation. After ordinal sampling, the D-V algorithm recursively partitions the three-dimensional space defined by v i , v i-1, and u i-τ into cubes of varying sizes. Initially, the entire space is sliced into 8 equal cubes, where the boundaries are at the mid-points in the three dimensions. Using the 8 cubes, the following χ2 statistic is computed to test the null hypothesis that data points are evenly distributed across the 8 cubes:
s χ 2 = i = 1 8 ( M i μ M ) 2 ,

where M 1, M 2, . . ., M 8 are the numbers of data points contained in the 8 cubes and μ M is the total number of data points divided by 8 (number of cubes). If s χ 2 > χ 95 % 2 (7) (at a 5% significance level and 7 degrees of freedom), then the null hypothesis is rejected and each of the 8 cubes is further partitioned into 8 smaller cubes in the same manner, and the recursion continues. If the null hypothesis is not rejected, the partitions in the current iteration are discarded and the current 8 cubes under scrutiny as a whole are taken as one partition. Cubes that contain no data point do not contribute to the transfer entropy estimation.

Appendix II shows a two-dimensional analogy of a partitioned space. It was generated based on 1,000 data points randomly sampled from a bivariate Gaussian distribution with covariance σ xy = 0.9 and unit variance, σ x 2 = 1 and σ y 2 = 1 . Note that many squares with smaller sizes are allocated to densely populated parts of the space, whereas fewer partitions are created in sparse areas.

The result of the partitioning process is a finite number of cubes, L, each of which contains nonzero data points. By approximating each probability in (5) by counting, T UV (τ) can now be estimated using the L partitions as follows:
T U V ( τ ) k = 1 L n k P log n k n k v i - 1 n k v i - 1 , u i - τ n k v i , v i - 1 ,

where P is the total number of data triplets (v i , v i-1, and u i-τ ), n k is the number of data points in the k th partition, and n k v i - 1 , n k v i , v i - 1 , and n k u i - τ , v i - 1 are the numbers of data points in the entire data that are greater than or equal to lower bounds and less than upper bounds of the k th partition with respect to the dimensions in the superscript. For example, if the k th partition's lower and upper limits in v i-1are 5 and 10, then n k v i - 1 is the total number of data points such that 5 ≤ v i-1< 10, regardless of their v i and u i-τ coordinates.

Our transfer entropy estimation method with D-V partitioning has been implemented in MATLAB, and we made the code and an example data set (from the simulated experiment described in the next section) publicly available at PhysioNet [35] (



The source time series, X = {x 1, x 2, . . ., x N+2} and the corresponding sink time series, Y = {y 1, y 2, . . ., y N+2}, were generated as follows:
x i = s x , i + ν x , i y i = s y , i + ν y , i ,
where the signal (s x,i and s y,i ) and noise components (ν x,i and ν y,i ) are
s x , i ~ N ( 10 , 1 ) s y , i = ( a s x , i - 2 ) 2 ν x , i ~ L ( 0 , b x ) ν y , i ~ L ( 0 , b y ) ,

where ~ denotes sampling from a distribution, a is a coupling constant, and and represent the Gaussian (mean, variance) and Laplace (mean, scale) distributions, respectively. The Laplace distribution is an example of a heavy-tailed statistic and thus can better model the type of noise often encountered in physiological signals compared with Gaussian noise (e.g., occasional sighs and apneas in a ventilation time series or muscle artifacts in electrocardiography (ECG) recordings [36]). Equation (12) imposed a nonlinear relationship between X and Y (via the squaring) at a time lag of two. Sample size, N, was varied from 50 to 200 at a step of 50, representing the focus of this experiment on small sample size. Note that the lengths of X and Y were N + 2 due to the lag of 2; x N+1, x N+2, y 1, and y 2 were discarded during transfer entropy estimation.

The coupling strength between X and Y was varied by increasing the signal-to-noise ratio (SNR) in both time series from 10 to 20 dB in steps of 1 dB. This increase in SNR was induced by increasing the coupling constant a. In order to maintain the same SNR in both X and Y , the noise power in X was gradually reduced by decreasing b x while holding the signal power constant, whereas the signal power in Y was gradually increased by increasing a accordingly while holding the noise power (i.e., b y ) constant.

As the first step, we analyzed transfer entropy vs. time lag (τ, from 0 to 5 in steps of 1) with SNR = 20 dB and N = 200 using all three estimation methods. This analysis served not only as a comparison among the methods but also as a parameter selection step for the fixed-bin (Q was varied from 4 to 10 in steps of 2) and KDE (α was varied from 0.5 to 1.5 in steps of 0.25) methods.

With the selected values for the parameters Q and α, X and Y were randomly generated 100 times at each SNR level and the corresponding transfer entropies were computed using all three methods. Subsequently, one-sided Wilcoxon rank sum tests were conducted to judge whether there was a significant increase in transfer entropy at each step of increase in SNR with p < 0.05 considered to be statistically significant.

An Application to Respiratory Physiology

Using the three transfer entropy estimation methods, we quantified the impact of the administration of domperidone, a dopamine D 2-receptor antagonist that increases carotid body sensitivity to O 2 and CO 2 [21]. We performed our analysis on recordings from 14 newborn lambs obtained at Monash University, Australia [21]. All surgical and experimental procedures conformed to the guidelines of the National Health and Medical Research Council of Australia and had the approval of the Standing Committee in Ethics in Animal Experimentation of Monash University.

Measurements of spontaneous breathing respiratory flow, end-tidal PCO 2 and end-tidal PO 2 were obtained for a period of approximately 10 minutes before and following the intravenous administration of domperidone. Minute ventilation ( V ˙ E ) was calculated for each breath as V T /T tot , where V T is tidal volume and T tot is breath duration (see Figure 1 for example waveforms and derived time series). Breath-to-breath time series data of V ˙ E , end-tidal PCO 2 and end-tidal PO 2 were further band-pass filtered to remove any oscillations slower than (i.e., more breaths/cycle than) 20 breaths/cycle or faster than (i.e., fewer breaths/cycle than) 5 breaths/cycle (using a 7th-order Butterworth digital filter with band-pass frequency of 0.05-0.2 cycles/breath). The frequencies included in the resulting band-passed time series are consistent with the range of oscillations often observed during periodic breathing [21, 25]. All extracted time series included at least ~ 200 data points. In a few cases where longer observations were available, the time series were divided into non-overlapping windows of size ~ 200 data points and the window with the largest variance was selected for further analysis. Our rationale behind this choice of data segment selection was to characterize the system at its most variable (or unstable) state during spontaneous breathing (see [37] for more information).
Figure 1

Lamb experiment: example waveforms and derived time series. Panels A, B, and C show examples of tidal volume, PCO 2 and PO 2 waveforms, respectively. The onset and offset of each inspiration are marked with an open circle in panel A. The V ˙ E time series (in panel D) was derived from the tidal volume waveform as described in the text. The end-tidal PCO 2 (ET PCO 2 in panel E) and end-tidal PO 2 (ET PO 2 in panel F) time series were extracted from the measurements of PCO 2 and PO 2 in the end-expiratory air, respectively, as indicated by the open circles in panels B and C.

The three transfer entropy estimation methods were applied to the V ˙ E , PO 2, and PCO 2 time series from each lamb. Specifically, the following two directional information flows were investigated before and after the administration of domperidone: P O 2 V ˙ E and P C O 2 V ˙ E . Unlike the simulation experiment, the time lag τ at which a significant coupling exists was unknown a priori. Hence, τ was varied between one and five breaths and the results for the time lag at which the value of transfer entropy was the largest and statistically significant were reported. Significant information flows were determined by Monte Carlo surrogates, i.e., temporally shuffled time series. In this experiment, transfer entropies were computed for 100 surrogates of the source time series (PO 2 or PCO 2), and the transfer entropy from the original source time series was deemed to be significant if it was greater than the 95th percentile of the surrogate results (as described in [38]). If no τ value resulted in a significant information flow, that particular time series pair was removed from further analysis. There was difficulty in selecting optimal Q and α values for the fixed-bin and KDE methods, respectively, due to the lack of a priori knowledge regarding coupling time lag. Therefore, arbitrary, but reasonable, choices of Q = 5 and α = 1 were made. Finally, increases in coupling strength caused by domperidone were tested using the Wilcoxon signed rank sum test.


Simulated Experiment

Figure 2 shows how the three transfer entropy estimation methods performed when τ was varied from 0 to 5 with N = 200 and SNR = 20 dB in the simulated experiment. Panels A and B illustrate transfer entropy estimation for different values of Q and α for the fixed-bin and KDE methods, respectively. Since one expects to see near zero transfer entropies at τ values other than 2, Q = 4 and α = 1.5 were selected for the rest of the experiment. Panel C of Figure 2 compares the three methods using the selected parameter values. All three methods allowed one to visually distinguish τ = 2 from other time lags. KDE was better at estimating low transfer entropies at τ ≠ 2 at the cost of a reduced transfer entropy at τ = 2. Fixed-binning and D-V partitioning performed comparably, although D-V partitioning yielded lower transfer entropies at τ ≠ 2.
Figure 2

Simulated experiment: parameter selection for the fixed-bin (panel A) and KDE (panel B) methods, and a comparison among the three transfer entropy estimation methods (panel C). Each panel shows a plot of median transfer entropy vs. time lag (τ), with SNR = 20 dB, N = 200, and 100 trials. Significant information transfer occurs only at τ = 2. The error bars represent interquartile range. Panels A and B show that sub-optimal parameters led to inflated transfer entropies at time lags of no coupling. Panel C compares the three methods after selecting Q = 4 and α = 1.5.

The main results of the simulated experiment are shown in Figure 3 which illustrates the estimated transfer entropies from the 100 trials as a function of SNR. Following from Figure 2, Q = 4 and α = 1.5 for the fixed-bin and KDE methods, respectively. Overall, the fixed-bin method estimated higher transfer entropies at all lags than the other two methods, which was improved as N increased. KDE showed the smallest dynamic range in transfer entropy as SNR increased but was also associated with the smallest estimation variance at any given SNR. In fact, estimation variance with KDE was similar across different sample sizes, whereas the other two methods resulted in improved estimation variance as N increased.
Figure 3

Simulated experiment: transfer entropy as a function of SNR. A comparison among the fixed-bin with ranking, KDE, and D-V partitioning methods. Based on 100 trials, each line shows median transfer entropy as a function of SNR, with four different sample sizes in separate panels. The error bars represent interquartile ranges. SNR represents both coupling strength and the contribution from outliers, and transfer entropy is expected to increase with increasing SNR. The corresponding one-sided rank sum test results are shown in Table 1.

Table 1 tabulates the one-sided rank sum test results of Figure 3 for detection of statistically significant increases in coupling strength. The two compared SNR levels are shown and statistically significant increases in transfer entropy were found to be sustained at and beyond the indicated SNR levels. In Table 1 all methods show the trend of detecting increased coupling at a lower SNR as N increases. Overall, KDE outperformed the other two methods in sensitivity to increasing coupling strength; for N ≥ 100, KDE was able to distinguish 11 dB (a = 1.059) and 12 dB (a = 1.122). Although D-V partitioning was able to detect increases in transfer entropy at a lower SNR than the fixed-bin method when N = 50, the fixed-bin method slightly outperformed D-V partitioning at other N values.
Table 1

Simulated experiment: minimum SNR associated with sustained detection of statistically significant increases in transfer entropy




D-V partitioning


18 → 19 dB

15 → 16 dB

17 → 18 dB


15 → 16 dB

11 → 12 dB

17 → 18 dB


13 → 14 dB

11 → 12 dB

16 → 17 dB


11 → 12 dB

11 → 12 dB

13 → 14 dB

The minimum SNR at and beyond which statistically significant increases in transfer entropy are sustained according to the one-sided rank sum test. The two compared SNR levels are tabulated. See Figure 3 for visualization.

Respiratory Physiology Experiment

Figure 4 illustrates how the estimated transfer entropy values changed for P C O 2 V ˙ E and P O 2 V ˙ E (first and second row, respectively), before ("Control") and after ("Domperidone") the administration of domperidone. The first, second, and third columns correspond to the fixed-bin, KDE, and D-V partitioning methods, respectively. Each closed circle represents one lamb, and the pre- and post-domperidone transfer entropies from the same lamb are connected with a straight line. Hence, we expect to see as many lines with a positive slope as possible. The number of subjects (N) varied among the different estimation methods as well as between pre- and post- domperidone since some cases did not pass the surrogate significance test. The group statistics are shown by the box plots.
Figure 4

Lamb experiment: comparison of the three transfer entropy estimation techniques. Results from applying the fixed-bin, kernel density estimation, and adaptive partitioning techniques are presented in the first, second, and third columns, respectively. Within each panel, transfer of entropy during baseline (Control) and after drug administration (Domperidone) are compared. Each closed circle represents one animal, and the box-plots capture the group statistics (median and upper and lower quartiles). The control and post-domperidone transfer entropies from the same lamb are connected with a straight line; we expected to see as many lines with a positive slope as possible. The numbers above each box-plot indicate the total number of animals who passed the surrogate test of significance. † and †† indicate p < 0.05 and p < 0.01, respectively. Note that all three techniques indicate a statistically significant increase in PO 2 chemosensitivity following domperidone administration; fixed-bin method in panel B: 0.55 bits [0.48 0.65] ([interquartile-range]) to 0.74 bits [0.58 0.83] (p < 0.05), kernel density estimation in panel D: 0.25 bits [0.20 0.35] to 0.40 bits [0.21 0.54] (p < 0.05), and adaptive partitioning in panel F: 0.37 bits [0.30 0.41] to 0.54 bits [0.40 0.73] (p < 0.01). Note that the partitioning technique indicated the largest increase in transfer entropy post-domperidone. Furthermore, only the partitioning technique revealed a significant increase in PCO 2 chemosensitivity post-domperidone; panel E: 0.29 bits [0.24 0.32] to 0.36 bits [0.25 0.49] (p < 0.05).

Figure 4 shows that all three techniques were able to detect a statistically significant increase in transfer entropy for P O 2 V ˙ E (interpreted as increased chemosensitivity) post-domperidone. However, the D-V partitioning technique indicated the statistically strongest increase in transfer entropy following domperidone administration (p < 0.01). Moreover, only D-V partitioning detected a significant increase in the P C O 2 V ˙ E chemosensitivity post-domperidone (p < 0.05).

There are three other notable findings in Figure 4. First, fixed-binning led to higher transfer entropy values for both control and domperidone cases than the other two techniques. Second, unlike the simulation results, KDE did not show smaller estimation variance than the other two methods. Third, domperidone administration increased the range in transfer entropy in most panels in Figure 4.


In this paper, D-V partitioning was extended to three dimensions and, along with ranking, was used in the framework of transfer entropy estimation. Also, a comparison among three transfer entropy estimation techniques (namely traditional fixed-binning with ranking, state-of-the-art KDE, and adaptive partitioning) was conducted via a simulated experiment and an application to respiratory physiology. The focus of both studies was to investigate the methods' ability to detect increases in directional coupling strength under small sample size and outliers which are commonly encountered in biomedical studies. Although KDE detected increases in coupling strength at the lowest SNR level across different sample sizes in the simulation, D-V partitioning outperformed the other two methods in detecting increased chemosensitivity caused by domperidone in the lamb experiment. The respiratory chemoreflex system was a suitable example of non-linearity and non-stationarity. Several authors have reported evidence for non-linearity in the respiratory chemoreflex system [22, 39]. Non-stationarity may also arise as a result of fluctuations in other variables/parameters such as cardiac output, respiratory rate, sleep-state, arousal-related changes in respiratory mechanics and the chemical control system, behavioral factors, or interventions. The application to respiratory physiology in this article demonstrated that the adaptive-partitioning-based transfer entropy estimation technique was more sensitive to increases in coupling strength for both the PCO 2 and PO 2 chemosensitivity than the other two methods. These results, which are based on non-invasive measurements of spontaneous breathing ventilatory variables, are in agreement with the experimental findings of Edwards and colleagues [21] based on the traditional hypercapnic and hypoxic responses (i.e., ratio of change in ventilation in response to an incremental increase in PCO 2 or decrease in PO 2 in the inspired air). Therefore, transfer entropy has the potential to be a useful surrogate marker of chemosensitivity, and may provide physiologists and physicians with a non-invasive tool to track patient response to pharmacological interventions (e.g., Acetazolamide).

Strictly speaking, transfer entropy measures the coupling strength of a causal link between two time series at a specific time lag and thus makes it difficult to attribute any observed change in transfer entropy to changes in chemosensitivity. For example, Porta et al. have also shown that cross-conditional entropy can be high with a relatively low level of baroreflex sensitivity [11]. Thus, any interchangeability in the current study between transfer entropy and chemosensitivity requires further investigation, since it is possible to increase transfer entropy by, for example, improving the SNR in the data acquisition system under the same level of chemosensitivity or changing the operating point of the feedback system in the direction of an improved SNR. The simulation corroborated the lamb experiment by enabling a controlled comparative analysis. For example, unlike the lamb experiment, the simulated experiment allowed us to control the amount of noise and forced the signals to be stationary throughout. Furthermore, the square function and Laplace noise simulated a non-linear coupling relationship and real-life noise, respectively, that are easy to interpret and control.

Both fixed-binning and D-V partitioning incorporated ordinal sampling, or ranking, which should have at least partially dealt with outliers and multi-modal PDFs. The only difference between the two methods is in how the three-dimensional space is partitioned, and here the efficient bin allocation of the D-V partitioning algorithm becomes a substantial advantage. Under non-uniform distributions that exhibit multiple peaks or varying concentrations of data points, fixed-binning is destined to function inefficiently by allocating fixed-size bins from the minimum to maximum observed values. On the other hand, the D-V partitioning adaptively adjusts bin size according to how evenly data are distributed in a given sub-region of the data space. The expected effectiveness of adaptive partitioning increases with greater deviation from a uniform distribution, and this advantage could partially explain the improved performance of the D-V partitioning method in the lamb experiment in comparison with the simulation.

Moreover, there are minimal adjustable parameters in the D-V partitioning algorithm (one can choose to change the significance level of the χ2 test), whereas the fixed-bin and KDE methods require one to choose the number of bins and the bandwidth of the kernel a priori. In fact, KDE allows one more degree of freedom: selection of the kernel function, which was not analyzed in this study. Parameter selection can be challenging especially with real-life data where the true coupling characteristics (e.g., strength, direction, time lag, etc.) are often unknown. With the D-V partitioning technique, one can bypass the often arbitrary step of model parameter selection, and this can be a substantial advantage in practice.

The block lengths k and l as well as the time lag t were fixed at 1 in the current study similar to previous studies quoting computational reasons, despite the known limitation that transfer entropy is expected to be underestimated [1, 38]. In cases where data size is sufficiently large and computational tractability is not a concern, one can attempt to optimize k, l, and t. For instance, Faes et al. discussed a greedy approach for conditional entropy that selects an optimal conditional pattern consisting of past data from two or more related signals [12]. Porta et al. studied the effects of conditional pattern length on cross-conditional entropy [40]. With respect to computational time, the three different methods are ranked in the following ascending order: fixed-bin, D-V partitioning, and KDE. Although KDE performed very well in the simulated experiment, the necessity to compute the distance between a given point and every point in the data set along each dimension makes it computationally intensive. However, it is worthwhile noting that computational time is not a major limiting factor in most research studies that only require retrospective analysis.

In a number of biomedical studies, small sample size and presence of outliers are often closely associated with physiological dynamics. A common focus of many research studies is to investigate how physiological systems behave under different conditions or respond to external interventions, naturally formulating a non-stationary problem. One way to analyze a non-stationary time series is to segment them into quasi-stationary intervals. This limits the number of data points in each segment and leads to the small sample size problem. This can be a major challenge to many parameter estimation algorithms in presence of noise, because they often require sufficiently long observations. In addition, physiological systems tend to exhibit non-linear behaviors which may cause the state of the system to abruptly change from its steady-state baseline, producing outliers. These outliers, originating from underlying physiological phenomena rather than noise, convey meaningful value and hence should not be removed for mere computational convenience. We remind the reader that our simulated experiment explicitly investigated the issues of small sample size and of outliers.


In this article, we have shown that transfer entropy can detect changes in directional coupling between two biomedical time series. We have extended D-V partitioning to transfer entropy estimation and compared the performance of three transfer entropy estimation methods in detection of increased coupling strength: fixed-binning with ranking, KDE, and D-V partitioning with ranking. Based on the results of this study, fixed-binning, even with ranking, failed to clearly outperform the other two methods, while the comparison between KDE and D-V partitioning was inconclusive. However, D-V partitioning may be the most attractive option after taking into account computational time and the difficulty associated with parameter selection. We hope that this study provides a helpful guideline in selecting an appropriate transfer entropy estimation method.

Appendix I

Given two concurrently sampled time series X = {x 1, x 2, . . ., x N } and Y = {y 1, y 2, . . ., y N }, the conditional entropy H(x i | y i ) is defined as:
H ( x i | y i ) = x i , y i p ( x i , y i ) log p ( y i ) p ( x i , y i ) .
Note that H(x i | y i ) ≥ 0. Then, the transfer entropy from X to Y, termed T XY , can be derived from conditional entropies as follows:
T X Y = H ( y i | y i - t ( l ) ) - H ( y i | y i - t ( l ) , x i - τ ( k ) ) = y i , y i - t ( l ) p ( y i , y i - t ( l ) ) log p ( y i - t ( l ) ) p ( y i , y i - t ( l ) ) - y i , y i - t ( l ) , x i - τ ( k ) p ( y i , y i - t ( l ) , x i - τ ( k ) ) log p ( x i - τ ( k ) , y i - t ( l ) ) p ( y i , y i - t ( l ) , x i - τ ( k ) ) .
But since p ( y i , y i - t ( l ) ) = x i - τ ( k ) p ( y i , y i - t ( l ) , x i - τ ( k ) ) , the two arguments in the separate summations can be combined. Thus,
T X Y = y i , y i - t ( l ) , x i - τ ( k ) p ( y i , y i - t ( l ) , x i - τ ( k ) ) log p ( y i - t ( l ) ) p ( y i , y i - t ( l ) , x i - τ ( k ) ) p ( y i , y i - t ( l ) ) p ( y i - t ( l ) , x i - τ ( k ) ) = y i , y i - t ( l ) , x i - τ ( k ) p y i , y i - t ( l ) , x i - τ ( k ) log p y i | y i - t ( l ) , x i - τ ( k ) p y i | y i - t ( l ) .

Appendix II

Figure 5 shows a two-dimensional visualization of D-V partitioning. The space contains 1,000 data points sampled from a bivariate Gaussian distribution with σ xy = 0.9, σ x 2 = 1 , and σ y 2 = 1 . This figure shows the transformed data space after ordinal sampling. The proposed transfer entopy estimation with the D-V partitioning algorithm extends this kind of partitioning to three dimensions.
Figure 5

A two-dimensional visualization of D-V partitioning.



This research work was funded by the National Institutes of Health (NIH) (through grant numbers R01-EB001659, R01-HL73146, HL085188-01A2, HL090897-01A2, K24 HL093218-01A1, cooperative agreement U01-EB-008577, and training grant T32-HL07901) and American Heart Association (AHA) (grant 0840159N). Dr. Lee holds a Postdoctoral Fellowship funded by the Natural Sciences and Engineering Research Council of Canada (NSERC). Dr. Edwards is the recipient of the Thoracic Society of Australia and New Zealand/Allen and Hanburys Respiratory Research Fellowship. The content of this document is solely the responsibility of the authors and does not necessarily represent the official views of the NIH, AHA, or NSERC. The authors would also like to thank Professor George Verghese for his helpful comments.

Authors’ Affiliations

Harvard-MIT Division of Health Sciences and Technology
Massachusetts Institute of Technology
Harvard Medical School, Division of Sleep Medicine, Brigham and Women's Hospital


  1. Schreiber T: Measuring information transfer. Physical Review Letters 2000, 85(2):461–464. 10.1103/PhysRevLett.85.461View ArticleGoogle Scholar
  2. Hlavackova-Schindler K, Palus M, Vejmelka M, Bhattacharya J: Causality detection based on information-theoretic approaches in time series analysis. Physics Reports 2007, 441: 1–46. 10.1016/j.physrep.2006.12.004View ArticleGoogle Scholar
  3. Barnett L, Barrett AB, Seth AK: Granger causality and transfer entropy are equivalent for Gaussian variables. Physical Review Letters 2009, 103(23):238701.View ArticleGoogle Scholar
  4. Rubinov M, Sporns O: Complex network measures of brain connectivity: uses and interpretations. NeuroImage 2010, 52(3):1059–1069. [] 10.1016/j.neuroimage.2009.10.003View ArticleGoogle Scholar
  5. Alkire MT, Hudetz AG, Tononi G: Consciousness and anesthesia. Science 2008, 322: 876–880. [] 10.1126/science.1149213View ArticleGoogle Scholar
  6. Vakorin VA, Kovacevic N, McIntosh AR: Exploring transient transfer entropy based on a group-wise ICA decomposition of EEG data. NeuroImage 2010, 49(2):1593–1600. [] 10.1016/j.neuroimage.2009.08.027View ArticleGoogle Scholar
  7. Gourevitch B, Eggermont JJ: Evaluating information transfer between auditory cortical neurons. Journal of Neurophysiology 2007, 97(3):2533–2543. [] 10.1152/jn.01106.2006View ArticleGoogle Scholar
  8. Hinrichs H, Noesselt T, Heinze HJ: Directed information flow: a model free measure to analyze causal interactions in event related EEG-MEG-experiments. Human Brain Mapping 2008, 29(2):193–206. [] 10.1002/hbm.20382View ArticleGoogle Scholar
  9. Vicente R, Wibral M, Lindner M, Pipa G: Transfer entropy--a model-free measure of effective connectivity for the neurosciences. Journal of Computational Neuroscience 2011, 30: 45–67. [] 10.1007/s10827-010-0262-3MathSciNetView ArticleGoogle Scholar
  10. Katura T, Tanaka N, Obata A, Sato H, Maki A: Quantitative evaluation of interrelations between spontaneous low-frequency oscillations in cerebral hemodynamics and systemic cardiovascular dynamics. NeuroImage 2006, 31(4):1592–1600. [] 10.1016/j.neuroimage.2006.02.010View ArticleGoogle Scholar
  11. Porta A, Catai AM, Takahashi ACM, Magagnin V, Bassani T, Tobaldini E, van de Borne P, Montano N: Causal relationships between heart period and systolic arterial pressure during graded head-up tilt. American Journal of Physiology - Regulatory, Integrative and Comparative Physiology 2011, 300: R378-R386. 10.1152/ajpregu.00553.2010View ArticleGoogle Scholar
  12. Faes L, Nollo G, Porta A: Information-based detection of nonlinear Granger causality in multivariate processes via a nonuniform embedding technique. Physical Review E 2011, 83: 051112.View ArticleGoogle Scholar
  13. Vejmelka M, Palus M: Inferring the directionality of coupling with conditional mutual information. Physical Review E 2008, 77: 026214.MathSciNetView ArticleGoogle Scholar
  14. Palus M, Stefanovska A: Direction of coupling from phases of interacting oscillators: an information-theoretic approach. Physical Review E 2003, 67: 055201.View ArticleGoogle Scholar
  15. Palus M, Vejmelka M: Directionality of coupling from bivariate time series: how to avoid false causalities and missed connections. Physical Review E 2007, 75: 056211.MathSciNetView ArticleGoogle Scholar
  16. Kaiser A, Schreiber T: Information transfer in continuous processes. Physica D 2002, 166: 43–62. 10.1016/S0167-2789(02)00432-3MathSciNetView ArticleGoogle Scholar
  17. Khan S, Bandyopadhyay S, Ganguly AR, Saigal S, Erickson DJ, Protopopescu V, Ostrouchov G: Relative performance of mutual information estimation methods for quantifying the dependence among short and noisy data. Physical Review E 2007, 76: 026209.MathSciNetView ArticleGoogle Scholar
  18. Darbellay AG, Vajda I: Estimation of the information by an adaptive partitioning of the observation space. IEEE Transactions on Information Theory 1999, 45(4):1315–1321. 10.1109/18.761290MathSciNetView ArticleGoogle Scholar
  19. Fraser AM, Swinney HL: Independent coordinates for strange attractors from mutual information. Physical Review A 1986, 33(2):1134–1140. 10.1103/PhysRevA.33.1134MathSciNetView ArticleGoogle Scholar
  20. Hudson JE: Signal processing using mutual information. IEEE Signal Processing Magazine 2006, 23(6):50–53.View ArticleGoogle Scholar
  21. Edwards B, Sands S, Skuza E, Stockx E, Brodecky V, Wilkinson M, Berger P: Increased peripheral chemosensitivity via dopaminergic manipulation promotes respiratory instability in lambs. Respiratory physiology & neurobiology 2008, 164(3):419–428. 10.1016/j.resp.2008.09.003View ArticleGoogle Scholar
  22. Bruce EN: Temporal variations in the pattern of breathing. J Appl Physiol 1996, 80(4):1079–1087.MathSciNetGoogle Scholar
  23. Xie A, Skatrud JB, Puleo DS, Rahko PS, Dempsey JA: Apnea-hypopnea threshold for CO2 in patients with congestive heart failure. Am J Respir Crit Care Med 2002, 165(9):1245–1250. 10.1164/rccm.200110-022OCView ArticleGoogle Scholar
  24. Bradley TD, Floras JS: Sleep apnea and heart failure: Part I: obstructive sleep apnea. Circulation 2003, 107(12):1671–1678. [] 10.1161/01.CIR.0000061757.12581.15View ArticleGoogle Scholar
  25. Khoo MC, Kronauer RE, Strohl KP, Slutsky AS: Factors inducing periodic breathing in humans: a general model. J Appl Physiol 1982, 53(3):644–659.Google Scholar
  26. Younes M, Ostrowski M, Atkar R, Laprairie J, Siemens A, Hanly P: Mechanisms of breathing instability in patients with obstructive sleep apnea. J Appl Physiol 2007, 103(6):1929–1941. [] 10.1152/japplphysiol.00561.2007View ArticleGoogle Scholar
  27. Wellman A, Malhotra A, Jordan AS, Stevenson KE, Gautam S, White DP: Effect of oxygen in obstructive sleep apnea: role of loop gain. Respir Physiol Neurobiol 2008, 162(2):144–151. [] 10.1016/j.resp.2008.05.019View ArticleGoogle Scholar
  28. Lahiri S, Maret K, Sherpa MG: Dependence of high altitude sleep apnea on ventilatory sensitivity to hypoxia. Respir Physiol 1983, 52(3):281–301. 10.1016/0034-5687(83)90086-5View ArticleGoogle Scholar
  29. Solin P, Roebuck T, Johns DP, Walters EH, Naughton MT: Peripheral and central ventilatory responses in central sleep apnea with and without congestive heart failure. Am J Respir Crit Care Med 2000, 162(6):2194–2200.View ArticleGoogle Scholar
  30. Francis DP, Willson K, Davies LC, Coats AJ, Piepoli M: Quantitative general theory for periodic breathing in chronic heart failure and its clinical implications. Circulation 2000, 102(18):2214–2221. 10.1161/01.CIR.102.18.2214View ArticleGoogle Scholar
  31. Topor ZL, Johannson L, Kasprzyk J, Remmers JE: Dynamic ventilatory response to CO(2) in congestive heart failure patients with and without central sleep apnea. J Appl Physiol 2001, 91: 408–416.Google Scholar
  32. Ponikowski P, Chua TP, Anker SD, Francis DP, Doehner W, Banasiak W, Poole-Wilson PA, Piepoli MF, Coats AJ: Peripheral chemoreceptor hypersensitivity: an ominous sign in patients with chronic heart failure. Circulation 2001, 104(5):544–549. 10.1161/hc3101.093699View ArticleGoogle Scholar
  33. Lanfranchi PA, Braghiroli A, Bosimini E, Mazzuero G, Colombo R, Donner CF, Giannuzzi P: Prognostic value of nocturnal Cheyne-Stokes respiration in chronic heart failure. Circulation 1999, 99(11):1435–1440. 10.1161/01.CIR.99.11.1435View ArticleGoogle Scholar
  34. Silverman BWCirculation, Volume 26 of Monographs on Statistics and Applied Probability. Chapman and Hall
  35. Goldberger AL, Amaral LA, Glass L, Hausdorff JM, Ivanov PC, Mark RG, Mietus JE, Moody GB, Peng CK, Stanley HE: PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 2000, 101(23):E215-E220. 10.1161/01.CIR.101.23.e215View ArticleGoogle Scholar
  36. Martinez J, Olmos S: A robust T wave alternans detector based on the GLRT for Laplacian noise distribution. Computers in Cardiology 2002, 2002: 677–680.View ArticleGoogle Scholar
  37. Nemati S, Edwards BA, Sands SA, Berger PJ, Wellman A, Verghese GC, Malhotra A, Butler JP: Model-based characterization of ventilatory stability using spontaneous breathing. Journal of Applied Physiology 2011, 111: 55–67. [] 10.1152/japplphysiol.01358.2010View ArticleGoogle Scholar
  38. Ruddell BL, Kumar P: Ecohydrologic process networks: 1. identification. Water Resources Research 2009, 45: W03419.Google Scholar
  39. Fiamma MN, Straus C, Thibault S, Wysocki M, Baconnier P, Similowski T: Effects of hypercapnia and hypocapnia on ventilatory variability and the chaotic dynamics of ventilatory flow in humans. Am J Physiol Regul Integr Comp Physiol 2007, 292(5):R1985-R1993. 10.1152/ajpregu.00792.2006View ArticleGoogle Scholar
  40. Porta A, Baselli G, Lombardi F, Montano N, Malliani A, Cerutti S: Conditional entropy approach for the evaluation of the coupling strength. Biological Cybernetics 1999, 81: 119–129. 10.1007/s004220050549View ArticleGoogle Scholar


© Lee et al; licensee BioMed Central Ltd. 2012

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.