Published November 24, 2026 | Version v0.1.0

LEWIS: Consistent DAG Selection for Bayesian Causal Discovery

  • 1. Florida State University
  • 2. Texas A&M University
  • 3. The University of Texas at Austin

Description

R package for learning a directed acyclic graph (DAG) from observational data that follow a linear structural equation model in which each error may be Gaussian or a Gaussian scale mixture. LEWIS (Laplace Error Working model for Inference and Selection of DAG) uses a Laplace working likelihood at every node, a complexity prior on the graph and a Laplace approximation of the marginal likelihood, samples DAGs with a Metropolis-Hastings algorithm, and summarizes the draws by a point estimate of the distribution equivalence class, a credible ball and posterior probabilities of edges and of non-Gaussian errors. The repository includes the scripts that reproduce the simulations, figures and tables of the accompanying methods paper.

Files

bitansa/LEWIS-v0.1.0.zip

Files (644.1 kB)

Name Size
md5:2958c46f0b7aedb73876f11e437dc415
644.1 kB Preview Download

Additional details

Related works

Is referenced by
Dataset: 10.5281/zenodo.24514618 (DOI)

Software