• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

基于非线性神经网络方法的格兰杰因果关系检验:Python 包和模拟研究。

Granger causality test with nonlinear neural-network-based methods: Python package and simulation study.

机构信息

Faculty of Mechatronics, Institute of Metrology and Biomedical Engineering, Warsaw University of Technology, Warsaw, Poland.

Faculty of Mechatronics, Institute of Metrology and Biomedical Engineering, Warsaw University of Technology, Warsaw, Poland.

出版信息

Comput Methods Programs Biomed. 2022 Apr;216:106669. doi: 10.1016/j.cmpb.2022.106669. Epub 2022 Jan 29.

DOI:10.1016/j.cmpb.2022.106669
PMID:35151111
Abstract

BACKGROUND AND OBJECTIVE

Causality defined by Granger in 1969 is a widely used concept, particularly in neuroscience and economics. As there is an increasing interest in nonlinear causality research, a Python package with a neural-network-based causality analysis approach was created. It allows performing causality tests using neural networks based on Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), or Multilayer Perceptron (MLP). The aim of this paper is to present the nonlinear method for causality analysis and the created Python package.

METHODS

The created functions with the autoregressive (AR) and Generalized Radial Basis Functions (GRBF) neural network models were tested on simulated signals in two cases: with nonlinear dependency and with absence of causality from Y to X signal. The train-test split (70/30) was used. Errors obtained on the test set were compared using the Wilcoxon signed-rank test to determine the presence of the causality. For the chosen model, the proposed method of study the change of causality over time was presented.

RESULTS

In the case when X was a polynomial of Y, nonlinear methods were able to detect the causality, while the AR model did not manage to indicate it. The best results (in terms of the prediction accuracy) were obtained for the MLP for the lag of 150 (MSE equal to 0.011, compared to 0.041 and 0.036 for AR and GRBF, respectively). When there was no causality between the signals, none of the proposed and AR models did indicate false causality, while it was detected by GRBF models in one case. Only the proposed models gave the expected results in each of the tested scenarios.

CONCLUSIONS

The proposed method appeared to be superior to the compared methods. They were able to detect non-linear causality, make accurate forecasting and not indicate false causality. The created package enables easy usage of neural networks to study the causal relationship between signals. The neural-networks-based approach is a suitable method that allows the detection of a nonlinear causal relationship, which cannot be detected by the classical Granger method. Unlike other similar tools, the package allows for the study of changes in causality over time.

摘要

背景与目的

1969 年,格兰杰提出的因果关系概念得到了广泛应用,尤其是在神经科学和经济学领域。随着人们对非线性因果关系研究的兴趣日益增加,我们创建了一个基于神经网络的因果分析方法的 Python 包。它允许使用基于长短期记忆(LSTM)、门控循环单元(GRU)或多层感知器(MLP)的神经网络进行因果检验。本文旨在介绍非线性因果分析方法和创建的 Python 包。

方法

在两种情况下,使用自回归(AR)和广义径向基函数(GRBF)神经网络模型的创建函数对模拟信号进行了测试:信号之间存在非线性依赖关系,以及 Y 信号到 X 信号不存在因果关系。采用 70/30 的训练-测试分割。使用 Wilcoxon 符号秩检验比较测试集上的误差,以确定因果关系的存在。对于选定的模型,提出了一种随时间变化研究因果关系变化的方法。

结果

当 X 是 Y 的多项式时,非线性方法能够检测到因果关系,而 AR 模型无法指示。对于滞后 150 的 MLP,得到了最佳的结果(在预测精度方面)(MSE 等于 0.011,而 AR 和 GRBF 分别为 0.041 和 0.036)。当信号之间不存在因果关系时,所提出的和 AR 模型都没有指示虚假的因果关系,而 GRBF 模型在一种情况下检测到了虚假的因果关系。只有所提出的模型在每个测试场景中都给出了预期的结果。

结论

所提出的方法明显优于比较方法。它们能够检测非线性因果关系,进行准确的预测,并且不会指示虚假的因果关系。创建的包使使用神经网络研究信号之间的因果关系变得容易。基于神经网络的方法是一种合适的方法,它允许检测经典格兰杰方法无法检测到的非线性因果关系。与其他类似的工具不同,该包允许研究因果关系随时间的变化。

相似文献

1
Granger causality test with nonlinear neural-network-based methods: Python package and simulation study.基于非线性神经网络方法的格兰杰因果关系检验:Python 包和模拟研究。
Comput Methods Programs Biomed. 2022 Apr;216:106669. doi: 10.1016/j.cmpb.2022.106669. Epub 2022 Jan 29.
2
Identifying the pulsed neuron networks' structures by a nonlinear Granger causality method.利用非线性格兰杰因果关系方法识别脉冲神经元网络的结构。
BMC Neurosci. 2020 Feb 12;21(1):7. doi: 10.1186/s12868-020-0555-z.
3
Estimation of direct nonlinear effective connectivity using information theory and multilayer perceptron.使用信息论和多层感知器估计直接非线性有效连接性。
J Neurosci Methods. 2014 May 30;229:53-67. doi: 10.1016/j.jneumeth.2014.04.008. Epub 2014 Apr 19.
4
Neural Granger Causality.神经格兰杰因果关系。
IEEE Trans Pattern Anal Mach Intell. 2022 Aug;44(8):4267-4279. doi: 10.1109/TPAMI.2021.3065601. Epub 2022 Jul 1.
5
A nonlinear generalization of spectral Granger causality.谱格兰杰因果关系的非线性推广。
IEEE Trans Biomed Eng. 2014 Jun;61(6):1693-701. doi: 10.1109/TBME.2014.2300636.
6
Time-varying linear and nonlinear parametric model for Granger causality analysis.用于格兰杰因果关系分析的时变线性和非线性参数模型。
Phys Rev E Stat Nonlin Soft Matter Phys. 2012 Apr;85(4 Pt 1):041906. doi: 10.1103/PhysRevE.85.041906. Epub 2012 Apr 10.
7
Application of adaptive nonlinear Granger causality: disclosing network changes before and after absence seizure onset in a genetic rat model.自适应非线性格兰杰因果关系的应用:揭示遗传性大鼠模型失神发作前后的网络变化。
J Neurosci Methods. 2014 Apr 15;226:33-41. doi: 10.1016/j.jneumeth.2014.01.028. Epub 2014 Jan 31.
8
Effective Connectivity Estimation by a Hybrid Neural Network, Empirical Wavelet Transform, and Bayesian Optimization.基于混合神经网络、经验小波变换和贝叶斯优化的有效连通性估计。
IEEE J Biomed Health Inform. 2024 Oct;28(10):5696-5707. doi: 10.1109/JBHI.2023.3327734. Epub 2024 Oct 3.
9
Causality analysis of neural connectivity: critical examination of existing methods and advances of new methods.神经连接性的因果关系分析:对现有方法的批判性审视与新方法的进展
IEEE Trans Neural Netw. 2011 Jun;22(6):829-44. doi: 10.1109/TNN.2011.2123917. Epub 2011 Apr 19.
10
Assessment of Granger causality by nonlinear model identification: application to short-term cardiovascular variability.通过非线性模型识别评估格兰杰因果关系:在短期心血管变异性中的应用。
Ann Biomed Eng. 2008 Mar;36(3):381-95. doi: 10.1007/s10439-008-9441-z. Epub 2008 Jan 29.

引用本文的文献

1
The impact of snacking habits and physical activity on body composition in overweight and obese adolescents: A longitudinal study differentiating home and school environments.零食习惯和体育活动对超重及肥胖青少年身体成分的影响:一项区分家庭和学校环境的纵向研究。
PLoS One. 2025 Feb 26;20(2):e0318000. doi: 10.1371/journal.pone.0318000. eCollection 2025.
2
Machine Learning Classification of Pediatric Health Status Based on Cardiorespiratory Signals with Causal and Information Domain Features Applied-An Exploratory Study.基于具有因果和信息域特征的心肺信号的儿科健康状况机器学习分类——一项探索性研究
J Clin Med. 2024 Dec 2;13(23):7353. doi: 10.3390/jcm13237353.
3
Prediction of peak oxygen consumption using cardiorespiratory parameters from warmup and submaximal stage of treadmill cardiopulmonary exercise test.
利用跑步机心肺运动试验热身和亚最大阶段的心肺参数预测最大摄氧量。
PLoS One. 2024 Jan 10;19(1):e0291706. doi: 10.1371/journal.pone.0291706. eCollection 2024.
4
Motor Overflow during Reaching in Infancy: Quantification of Limb Movement Using Inertial Motion Units.婴儿期伸手时的肢体运动溢出:使用惯性运动单元对肢体运动进行量化。
Sensors (Basel). 2023 Feb 28;23(5):2653. doi: 10.3390/s23052653.