Four-Way Decomposition of Mediation and Interaction
The four-way decomposition splits the total effect of an exposure into the part due neither to mediation nor interaction, the part due to interaction only, the part due to both mediation and interaction, and the part due to mediation only.
4원 분해는 노출의 총효과를 매개도 상호작용도 아닌 부분, 상호작용만에 의한 부분, 매개와 상호작용이 함께 작용한 부분, 매개만에 의한 부분으로 나눕니다.
How much of my exposure's effect works through the mediator, how much through its interaction with the mediator, and how much is direct?
노출의 효과 가운데 매개변수를 거치는 부분, 매개변수와의 상호작용에 의한 부분, 직접 효과는 각각 얼마일까요?
An outcome regression with an exposure-by-mediator interaction and a mediator regression are fitted. Their coefficients give the controlled direct effect, the reference interaction, the mediated interaction and the pure indirect effect, which add up to the total effect. Delta-method standard errors and the proportions attributable to mediation and interaction are reported.
When to use Four-Way Decomposition of Mediation and Interaction
- The exposure may change both the level of the mediator and the mediator's effect on the outcome.
- You want to separate mediation from interaction in a single decomposition.
- The outcome is continuous and the mediator is continuous or binary.
When to use something else
- There is no exposure-mediator interaction of interest: use Causal Mediation Analysis (Natural Direct and Indirect Effects)
- You study how a third variable moderates an indirect effect: use Moderated Mediation Analysis
- A mediator-outcome confounder is itself affected by the exposure
Assumptions and requirements
- No unmeasured exposure-outcome, mediator-outcome or exposure-mediator confounding
- No mediator-outcome confounder affected by the exposure
- Correct linear outcome and linear or logistic mediator models
What the analysis reports
- Total effect and its four components with SEs, CIs and p-values
- Proportions mediated, due to interaction and eliminated
- Exposure-by-mediator interaction coefficient
- Forest plot of the components
How to report it
The total effect of [value] decomposed into a controlled direct effect of [value], a reference interaction of [value], a mediated interaction of [value] and a pure indirect effect of [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Four-Way Decomposition of Mediation and Interaction itself, at the same price.
- Four-way decomposition on the excess relative risk scale — scale set to “err”
- Conditional four-way decomposition —
Related methods
- Causal Mediation Analysis (Natural Direct and Indirect Effects)
- Mediation Analysis
- Moderated Mediation Analysis
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-5.
독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-5).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Four-Way Decomposition of Mediation and Interaction on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator and mediator
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.