Introduction
StructuralCausalModels.jl (SCM) is a Julia package to analyse directed acyclic graphs (DAGs) as described in StatisticalRethinking, Causal Inference in Statistics and Cause and Correlation in Biology.
My initial goal for this package is to have a way to apply SCM ideas to the examples in StatisticalRethinking.jl, i.e. a working version of basis_set()
, d_separation()
, pcor_test()
and adjustment_sets()
.
All three above references are great introductions to the use of causal models to help in understanding confounding in statistical multiple regression models based on observational data.
StructuralCausalModels.jl is part of the StatisticalRethinkingJulia eco system. The package, once registered, can be installed using ] add StructuralCausalModels
.
Please report issues (or file a pull request) on Github if you find a problem.
Note: Version 0.1.0 of StructuralCausalModels.jl does not support latent variables.