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)
- Unmeasured confounding rules out simple covariate adjustment.
- You want to know whether a front-door or other non-standard identification strategy applies.
- Your variables are discrete or can be meaningfully discretised.
When to use something else
- Adjusting for measured confounders is enough and you want a regression-based estimate: use G-Computation (Parametric Standardisation)
- You do not know the diagram and want to learn it from data: use Causal Structure Learning (PC, GES)
- Variables are continuous with many values
Assumptions and requirements
- The stated causal diagram is correct
- Discrete variables with enough data in each cell
- Positivity for the treatment levels
What the analysis reports
- Identifiability verdict and the identifying expression, or the hedge
- Estimated P(y | do(x)) for every treatment level with bootstrap intervals
- Expected outcome under each intervention and the contrast between extreme levels
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
- Structural Causal Model (DAG)
- G-Computation (Parametric Standardisation)
- Causal Structure Learning (PC, GES)
- Instrumental Variable Estimation (IV)
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.