An Improved Causal Decomposition Python Algorithm with Statistical Corroboration
DOI:
https://doi.org/10.70567/mc.v42.ocsid8221Keywords:
causal decomposition, EMD, complex systemsAbstract
Causal Decomposition based on Empirical Mode Decomposition (EMD) has proved to be a powerful tool for identifying causal relationships between time series. This method is based on the phase coherence of the respective oscillatory modes of the signals, known as Intrinsic Mode Functions (IMFs). Hence, a correct alignment of the respective modes of the signals is crucial. Unlike other methods, Causal Decomposition makes no assumption of linearity in the studied signals. Therefore, it is widely applicable to time series emerging from complex systems for which linearity hypothesis generally fail to hold. The decomposition in oscillatory modes is achieved with noise-assisted versions of EMD, which are known to improve the performance of the decomposition, reducing the mode mixing. However, adding noise introduces a stochastic element in the result, that is henceforth treated as a random variable. In the present work we introduce our Python version of the Causal Decomposition algorithm, which incorporates refinements for the selection of the decomposition based on energy considerations. These improvements aim to reduce the outlier results attributable to an incorrect mode alignment. The algorithm was tested on synthetic time series generated using a model of a mechanical oscillator with two masses and two modulated nonlinear forcing terms. A subsequent statistical analysis over multiple realizations showed less dispersion and fewer outliers compared to the previous version of the algorithm.
References
de Souza e Silva M. Memd-python. https://github.com/mariogrune/MEMD-Python-, 2018. Accessed: 2025-07-06.
Devore J.L. Probability and Statistics for Engineering and the Sciences. CENGAGE Learning, 2009. ISBN 978-0-495-55744-9.
Flandrin P., Rilling G., and Goncalves P. Empirical mode decomposition as a filter bank. IEEE signal processing letters, 11(2):112–114, 2004. http://doi.org/10.1109/LSP.2003.821662.
Huang N.E., Shen Z., Long S.R.,Wu M.C., Shih H.H., Zheng Q., Yen N.C., Tung C.C., and Liu H.H. The empirical mode decomposition and the Hilbert spectrum for nonlinear and nonstationary time series analysis. Proc. R. Soc. A Math. Phys. Eng. Sci., 454(1971):903–995, 1998. http://doi.org/10.1098/rspa.1998.0193.
Muszkats J., Muszkats S., Zitto M., and Piotrkowski R. A statistical analysis of causal decomposition methods applied to earth system time series. Physica A: Statistical Mechanics and its Applications, 641:129708, 2024. ISSN 0378-4371. http://doi.org/10.1016/j.physa.2024.129708.
Rehman N. and Mandic D.P. Multivariate empirical mode decomposition. Proc. R. Soc. A Math. Phys. Eng. Sci., 466(2117):1291–1302, 2010. http://doi.org/10.1098/rspa.2009.0502.
Rehman N. and Mandic D.P. Filter bank property of multivariate empirical mode decomposition. IEEE Trans. on Signal Process., 59(5):2421–2426, 2011. http://doi.org/10.1109/TSP.2011.2106779.
Yang A.C. Causal decomposition analysis. https://github.com/accyang/causal-decomposition-analysis, 2018. Accessed: 2025-07-06.
Yang A.C., Peng C.K., and Huang N.E. Causal decomposition in the mutual causation system. Nat. Commun., 9(1):3378, 2018. http://doi.org/10.1038/s41467-018-05845-7.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Argentine Association for Computational Mechanics

This work is licensed under a Creative Commons Attribution 4.0 International License.
This publication is open access diamond, with no cost to authors or readers.
Only those papers that have been accepted for publication and have been presented at the AMCA congress will be published.

