Abstract
Structural causal models (SCMs) provide a probabilistic language for describing directed relationships between random variables. SCMs are widely used in science, engineering and statistical modelling to capture causal relationships between quantitative, measured phenomena in the real world. Two SCM formalisms, directed acyclic graphs (DAGs) and acyclic directed mixed graphs (ADMGs) have been extensively studied. In these formalisms, the conditions under which causal dependence between variables occurs is well understood. Furthermore, analytical techniques have been developed which allow manipulation of the model so as to perform nonparametric causal adjustment, that is, the isolation of desired causal relationships from the SCM. The GRAPL library described in this paper brings together the most important and useful of such algorithms in one convenient Python package. Using this library it is possible to represent, analyze and manipulate DAGs and ADMGs of arbitrary complexity.
Original language | English |
---|---|
Article number | 4534 |
Number of pages | 1 |
Journal | Journal of Open Source Software |
Volume | 7 |
Issue number | 76 |
DOIs | |
Publication status | Published - 5 Aug 2022 |