Make, Update, and Query Binary Causal Models

Users can declare binary causal models, update beliefs about causal types given data and calculate arbitrary estimands. Model definition makes use of 'dagitty' functionality. Updating is implemented in 'stan'. The approach used in 'CausalQueries' is a generalization of the 'biqq' models described in "Mixing Methods: A Bayesian Approach" (Humphreys and Jacobs, 2015, ). The conceptual extension makes use of work on probabilistic causal models described in Pearl's Causality (Pearl, 2009, ).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.0.3 by Lily Medina, 4 months ago

Browse source code at

Authors: Clara Bicalho [ctb] , Jasper Cooper [ctb] , Macartan Humphreys [aut] , Alan Jacobs [aut] , Merlin Heidemanns [ctb] , Lily Medina [aut, cre] , Julio Solis [ctb] , Georgiy Syunyaev [ctb]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports dagitty, gtools, stats, randomizr, rlang, rstan, rstantools, stringr

Depends on dplyr, methods, Rcpp

Suggests testthat, rmarkdown, knitr, DeclareDesign, covr

Linking to BH, Rcpp, RcppEigen, rstan, StanHeaders

System requirements: GNU make

See at CRAN