Assume the joint distribution of random variables \(X_1, \dots, X_q\) is zero-mean Gaussian with covariance matrix Markov w.r.t. a Directed Acyclic Graph (DAG).
The allied Structural Equation Model (SEM) representation of a Gaussian DAG-model allows to express the covariance matrix as a function of the (Cholesky) parameters \((D,L)\),
collecting the regression coefficients and conditional variances of the SEM.
The DAG-Wishart distribution (Cao et. al, 2019) with shape hyperparameter \(a = (a_1, ..., a_q)\) and position hyperparameter \(U\) (a s.p.d. \((q,q)\) matrix) provides a conjugate prior for parameters \((D,L)\).
In addition, to guarantee compatibility among Markov equivalent DAGs (same marginal likelihood), the default choice (here implemented) \(a_j = a + |pa(j)| - q + 1\) \((a > q - 1)\), with \(|pa(j)|\) the number of parents of node \(j\) in the DAG,
was introduced by Peluso and Consonni (2020).