Skip to content

Methods · Causal inference · Causal identification

Causal Effect Identification by the ID Algorithm (do-Calculus)

The ID algorithm decides whether an interventional distribution P(y | do(x)) can be computed from observational data under a causal diagram with hidden common causes, and if so returns the formula; it is complete for the do-calculus.

ID 알고리즘은 숨은 공통원인이 있는 인과도에서 X에 개입했을 때 Y의 분포를 관찰자료로 계산할 수 있는지 판정하고, 가능하면 그 계산식을 돌려줍니다. do-연산에 대해 완전한 절차입니다.

Given my causal diagram with unmeasured confounding, can the effect of X on Y be estimated at all, and with which formula?

측정되지 않은 교란이 있는 인과도에서 X가 Y에 미치는 효과를 추정할 수 있는지, 있다면 어떤 식으로 계산하는지 알 수 있을까요?

The diagram is entered with directed arrows and two-headed arrows for hidden common causes. The algorithm recursively splits the problem by ancestors and confounded components and either returns an expression in observed probabilities, such as the front-door formula, or a hedge that proves no formula exists. When identified, the expression is evaluated on the discrete data with bootstrap intervals.

When to use Causal Effect Identification by the ID Algorithm (do-Calculus)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

By the ID algorithm, P(Y | do(X)) was identified by the front-door formula; the expected outcome changed by [value] (95% bootstrap CI [value, value]).

Related methods

How this method is validated

이 방법의 검증 근거

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

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

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 Causal Effect Identification by the ID Algorithm (do-Calculus) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and a treatment indicator
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.

Method ID Q81078 · Reviewed 2026-10-25