Causal Inference#

Public classes for identification, interventional queries, and regression-based causal effect estimation.

Graphical Identification and Inference#

CausalInference(model)

This is an inference class for performing Causal Inference over Bayesian Networks or Structural Equation Models.

Adjustment([variant])

Given a causal graph, finds the adjustment set.

Frontdoor([variant])

Given a causal graph, finds the set of variables satisfying frontdoor criterion.

Estimators#

NaiveAdjustmentRegressor(causal_graph[, ...])

Naive adjustment regressor using causal graph roles for feature selection.

NaiveIVRegressor(causal_graph[, ...])

Implements Naive Instrumental Variable (IV) regressor (single exposure, multiple instruments).

DoubleMLRegressor(causal_graph[, ...])

Implements the Double Machine Learning Regressor[1] (DML2) with cross-fitting.