美文网首页
Mediation analysis/Path analysis

Mediation analysis/Path analysis

作者: Lairai | 来源:发表于2019-11-25 16:55 被阅读0次

1. 简单介绍

Mediation analysis可以叫中介分析或者介导分析。

假设自变量X和因变量Y中间存在一个中介变量(Mediator)M,如果X对M有显著影响,同时M对Y有显著影响,那么就可以称在X和Y之间存在由M引起的中介效应。这个分析过程就叫中介分析。

如果X对Y也有意义,那么就是部分中介,否则就是完全中介。


Mediating effect
Mediated relationship

如果三个变量都是简单的变量,那么这个模型可以看作是一个简单的Path analysis; 如果变量之下包括潜变量(latent variable),那么可以看做是一个结构方程模型(Structural equation modelling)。如图所示,图的来源在这里

下面是2个文章中的Mediation analysis例子

Cardiovascular disease risk factors, tract-based structural connectomics, and cognition in older adults
Cognitive abilities, brain white matter hyperi ntensity volume, and structural network connectivity in older age. Hum Brain Mapp, 2018

2. 中介分析实现

参考mediation analysis(中介分析),做中介效应检验的方法目前有四种:逐步回归法,系数乘积检验法,差异系数检验法和Bootstrapping。

Bootstrap方法简单的说就是通过有放回的抽样得到更大大样本。基于bootstrap法的中介分析比较严谨,在文章中用得也比较多,下面介绍基于bootstrap法的中介分析的具体做法,推荐使用SPSS做,主流快捷

原理说明参照mediation analysis(中介分析)

3. Mediation analysis with Bootstrapping in R

这里用到R中的mediation包
The mediation package implements a comprehensive suite of statistical tools for conducting mediation analysis.

使用mediation包来进行中介分析可以参考我写的这篇文章

Core structure of the mediation package as of version 4.0.

Reference
mediation: R Package for Causal Mediation Analysis
也有别的包可以用,这几篇英文介绍写的比我的详细,推荐看看
Testing indirect effects/mediation in R
Chapter 14: Mediation and Moderation

4. Mediation analysis with Bootstrapping in SPSS

用SPSS做比较简单
可以参考这篇文章

相关文章

网友评论

      本文标题:Mediation analysis/Path analysis

      本文链接:https://www.haomeiwen.com/subject/jzsjwctx.html