cegpy: Modelling with Chain Event Graphs in Python
Not on the map. Why?
Abstract (arXiv)
Chain event graphs (CEGs) are a recent family of probabilistic graphical models that generalise the popular Bayesian networks (BNs) family. Crucially, unlike BNs, a CEG is able to embed, within its graph and its statistical model, asymmetries exhibited by a process. These asymmetries might be in the conditional independence relationships or in the structure of the graph and its underlying event space. Structural asymmetries are common in many domains, and can occur naturally (e.g. a defendant vs prosecutor's version of events) or by design (e.g. a public health intervention). However, there currently exists no software that allows a user to leverage the theoretical developments of the CEG model family in modelling processes with structural asymmetries. This paper introduces cegpy, the first Python package for learning and analysing complex processes using CEGs. The key feature of cegpy is that it is the first CEG package in any programming language that can model processes with symmetric as well as asymmetric structures. cegpy contains an implementation of Bayesian model selection and probability propagation algorithms for CEGs. We illustrate the functionality of cegpy using a structurally asymmetric dataset.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 9 of its 41 references that are in the map. First posted on arXiv 21 Nov 2022.
Builds on
9 of 41 references.
References · 9
- 2013Context-Specific Independence in Bayesian Networkscited by 43
- 2020The R Package stagedtrees for Structural Learning of Stratified Staged Treescited by 17
- 2020BARD: A structured technique for group elicitation of Bayesian networks to support analytic reasoningcited by 13
- 2014BayesPy: Variational Bayesian Inference in Pythoncited by 4
- 2020Constructing a Chain Event Graph from a Staged Treecited by 3
- 2019A Bayesian Hierarchical Model for Criminal Investigationscited by 2
- 2022Bayesian Model Averaging of Chain Event Graphs for Robust Explanatory Modellingcited by 2
- 2015A New Method for tackling Asymmetric Decision Problemscited by 1
- 2020Propagation for Dynamic Continuous Time Chain Event Graphscited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.