Skip to content

Methods · Causal inference · Time-varying treatments

Longitudinal Targeted Maximum Likelihood Estimation (LTMLE)

Longitudinal TMLE estimates what the mean outcome would have been if everyone had followed a fixed treatment plan over several periods, such as always treated or never treated, when treatment and confounders change over time. It works backwards through the periods, regressing the outcome on the observed history and nudging each regression with weights from the treatment models so that the final estimate is doubly robust.

여러 시점에 걸쳐 처치와 교란변수가 함께 변할 때, 모든 사람이 정해진 처치 계획(계속 처치 또는 전혀 처치하지 않음)을 따랐다면 평균 결과가 어땠을지를 마지막 시점부터 거꾸로 회귀하고 표적화 단계를 거쳐 이중강건하게 추정하는 방법입니다.

What would the average outcome have been if everyone had stayed on treatment in every period, compared with never being treated, when the covariates that drive treatment are themselves affected by earlier treatment?

처치를 여러 번 받는 연구에서 줄곧 처치했을 때와 전혀 처치하지 않았을 때의 평균 결과는 얼마나 다를까요?

Starting from the final outcome, each period's expected outcome is modelled on the history up to that period with treatment set to the plan, then targeted with an intercept fluctuation weighted by the inverse cumulative probability of having followed the plan. The average of the first-period prediction is the counterfactual mean; its standard error comes from the efficient influence curve. The difference between always and never treated, and for a binary outcome the risk and odds ratios, are reported with an inverse-probability-weighted estimate for comparison.

When to use Longitudinal Targeted Maximum Likelihood Estimation (LTMLE)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Longitudinal TMLE over [value] periods estimated a mean outcome of [value] if always treated and [value] if never treated, a difference of [value] (95% CI [value] to [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).

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 Longitudinal Targeted Maximum Likelihood Estimation (LTMLE) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, a treatment indicator, predictor (feature) columns, a time variable and a unit (entity) ID
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 Q81096 · Reviewed 2026-10-25