A Graphical Criterion for Linear Causal Bounds
Abstract
The values of causal effects and counterfactuals are typically only partially identified from observational data in the presence of unobserved confounding. With discretely-valued variables, under certain conditions, sharp bounds can be derived by solving one linear program. This is then computationally tractable for many causal questions. In this paper, for every diagram in which each confounded component has at most two hidden causes, we give necessary and sufficient conditions for the sharp bounds to be equal to the optimum of one linear program for every (positive) input probability table. This algorithm is implemented in a new Python package, called "partialid", that allows users to compose assumptions, queries, and data to obtain sharp bounds in a computationally tractable manner.
Figures & tables
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Reason | Program | |
|---|---|---|---|
| Bow or one oval, , MTR | one -component, | LP | |
| Classical IV, or PNS | not read | LP | |
| Mediated , | pinned | LP | |
| Same graph, PNS | one event reads two | bilinear | |
| Pair chain, linear | , root | LP | |
| IV with , | , root | LP (Balke–Pearl) |
| Factual cell | In ? | ||||
|---|---|---|---|---|---|
| no | |||||
| yes | |||||
| no | |||||
| yes | |||||
| no | |||||
| yes |
| Factory | Assumption | Constraint |
|---|---|---|
| order , diagram , iv | causal order or diagram ( Manski, 1990 ; Balke and Pearl, 1997 ) | graph |
| exclusion | missing directed edge | zero cells |
| mtr , no_defiers | monotone response ( Manski, 1997 ; Imbens and Angrist, 1994 ) | zero cells |
| mts | monotone selection ( Manski and Pepper, 2000 ) | linear inequality |
| tan_msm , rosenbaum_gamma | odds-ratio budget, anchored ( Tan, 2006 ; Rosenbaum, 2002 ) | linear inequality |
| c_dependence | propensity budget ( Masten and Poirier, 2018 ) | linear inequality |
| Classification | Solver | Returned interval |
|---|---|---|
| point-identified | ID functional | point, tight=True |
| Theorem 1 holds | closed form or LP (HiGHS) | sharp, tight=True |
| Theorem 1 with a convex budget | convex program (CVXPY) | sharp, tight=True |
| Theorem 1 with a support bound | mixed-integer LP (HiGHS) | sharp, tight=True |
| degree (bilinear) | nested search, else outer LP | tight=False unless certified |
| degree , independence | LP over merged latents | outer, tight=False |
| Latents | Query | Classification | Interval | tight |
|---|---|---|---|---|
| LP (1) | yes | |||
| PNS | bilinear (2) | no | ||
| LP (2) | yes | |||
| PNS | LP (2) | yes | ||
| LP (1) | yes | |||
| three pairwise edges | polynomial (3) | no |
| Tool | Language | Scope | Output |
|---|---|---|---|
| causaloptim ( Sachs et al., 2023 ) | R | graphs in their class, linear constraints | symbolic sharp bounds |
| Autobounds ( Duarte et al., 2024 ) | Python | any discrete graph, polynomial constraints | numeric bounds, optimality gap |
| CausalQueries ( Humphreys and Jacobs, 2023 ) | R | discrete graphs, type restrictions | posterior over types |
| bpbounds ( Palmer et al., 2011 ) | R, Stata | instrumental variables | closed-form Balke–Pearl bounds |
| sensemakr ( Cinelli and Hazlett, 2020 ) | R, Stata, Python | linear regression | omitted-variable sensitivity |
| partialid | Python | discrete graphs or orders, named assumptions | numeric bounds, sharpness flag |
| Graph | Prop. 2 | Why it fails | Interval |
|---|---|---|---|
| Instrument, | in both | — | |
| Mediated | no | is pinned, not confounded with | |
| Two instruments | no | and share no latent | |
| Instrument with | no | the latent on crosses every cut | |
| Pair chain, PNS | no | two latents in one -component |
| Example | Interval | partialid | Autobounds |
|---|---|---|---|
| Bow, on ( 17 ) | |||
| Bow, monotone response | |||
| Markovian bow, | |||
| Instrument, seed | |||
| Front door | |||
| Mediated chain on ( 13 ) |
Causal Inference
Causal inference studies how interventions and counterfactuals reveal cause-and-effect relationships beyond observed associations.
See all 346 papers