Skip to content

Methods · Causal inference · Causal mediation

Targeted Maximum Likelihood Estimation for Causal Mediation

TMLE for causal mediation estimates natural direct and indirect effects with a targeted maximum likelihood procedure. Initial models for the outcome, treatment and mediator are updated in two fluctuation steps so that the final estimates solve the efficient influence function equation, which gives robustness to some model errors and valid standard errors.

인과 매개분석용 TMLE는 표적 최대우도 절차로 자연 직접효과와 자연 간접효과를 추정합니다. 결과, 처치, 매개변수에 대한 초기 모형을 두 번의 요동 단계로 갱신하여 최종 추정치가 효율 영향함수 방정식을 만족하게 하므로 일부 모형 오류에 강하고 표준오차가 타당합니다.

How much of the treatment effect passes through the mediator, estimated in a way that remains reliable if some models are wrong?

일부 모형이 틀려도 믿을 수 있는 방식으로 처치효과 중 매개변수를 거치는 몫을 추정할 수 있을까요?

The outcome is modelled given treatment, mediator and covariates; treatment is modelled given covariates and given covariates plus mediator, which yields the mediator density ratio. For each combination of treatment levels the outcome model is updated with a weighted fluctuation, averaged over the mediator distribution under the other treatment level by a second regression, and updated again. The natural direct and indirect effects are differences of these targeted means, and their standard errors come from the efficient influence function.

When to use Targeted Maximum Likelihood Estimation for Causal Mediation

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

TMLE estimated a natural indirect effect of [value] (95% CI [value] to [value]) and a natural direct effect of [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels.

    독립 계산. statsmodels 대조 참조 시험 1건 통과.

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 Targeted Maximum Likelihood Estimation for Causal Mediation on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, a treatment indicator, mediator and predictor (feature) columns
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.

Method ID Q81116 · Reviewed 2026-10-25