cegpy: Modelling with Chain Event Graphs in Python

11/21/2022
by   Gareth Walley, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/07/2022

Beyond Conjugacy for Chain Event Graph Model Selection

Chain event graphs are a family of probabilistic graphical models that g...
research
06/30/2022

On Bayesian Dirichlet Scores for Staged Trees and Chain Event Graphs

Chain event graphs (CEGs) are a recent family of probabilistic graphical...
research
06/29/2020

Constructing a Chain Event Graph from a Staged Tree

Chain Event Graphs (CEGs) are a recent family of probabilistic graphical...
research
02/24/2022

Bayesian Model Averaging of Chain Event Graphs for Robust Explanatory Modelling

Chain Event Graphs (CEGs) are a widely applicable class of probabilistic...
research
06/13/2012

Propagation using Chain Event Graphs

A Chain Event Graph (CEG) is a graphial model which designed to embody c...
research
11/21/2018

The Reduced Dynamic Chain Event Graph

In this paper we introduce a new class of probabilistic graphical models...
research
07/10/2018

Customised Structural Elicitation

Established methods for structural elicitation typically rely on code mo...

Please sign up or login with your details

Forgot password? Click here to reset