AUTHOR=Zhang Yi , Wang Guan , Li Ziwen , Xie Mingjun , Celler Branko , Su Steven , Xu Peng , Yao Dezhong TITLE=Matlab Open Source Code: Noise-Assisted Multivariate Empirical Mode Decomposition Based Causal Decomposition for Causality Inference of Bivariate Time Series JOURNAL=Frontiers in Neuroinformatics VOLUME=Volume 16 - 2022 YEAR=2022 URL=https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2022.851645 DOI=10.3389/fninf.2022.851645 ISSN=1662-5196 ABSTRACT=Causality inference has arrested much attention in academic studies. Currently, multiple methods such as Granger causality, Convergent Cross Mapping (CCM) and Noise-assisted Multivariate Empirical Mode Decomposition (NA-MEMD) are introduced to solve the problem. Motivated by the researchers who uploaded the open-source code for causality inference, we hereby present the Matlab code of NA-MEMD Causal Decomposition to help users implement the algorithm in multiple scenarios. The code is developed on Matlab2020 and mainly divided into three subfunctions : na_memd, Plseries and cd_na_memd. na_memd is called in the main function to generate the matrix of Intrinsic Mode Functions (IMFs) and Plseries can display the average frequency and phase difference of IMFs of the same order in a matrix which can be used for selection of main Intrinsic Causal Component (ICC) and ICCs set. cd_na_memd is called to perform causal redecomposition after removing the main ICC from the original time series and output the result of NA-MEMD Causal Decomposition. Performance of the code is evaluated in perspective of executing time, robustness and validity. With the data amount enlarging, the executing time increases linearly with it and the value of causal strength oscillates in an ideally small interval which represents relatively high robustness of the code. The validity is verified based on the open-access predator-prey data (wolf-moose bivariate time series from Isle Royale National Park in Michigan, USA) and our result is aligned with that of Causal Decomposition.