PyPI CRAN Anaconda travis Platforms Docs

CausalEGM - An Encoding Generative Modeling Approach to Dimension Reduction and Covariate Adjustment in Causal Inference

https://raw.githubusercontent.com/SUwonglab/CausalEGM/main/model.jpg

Causal inference has become extremely essential within modern observational studies with rich covariate information. However, it is often challenging to estimate the causal effect with high-dimensional covariates due to the “curse of dimensionality”.

We develop CausalEGM, a deep learning framework for nonlinear dimension reduction and generative modeling of the dependency among covariate features affecting treatment and response. The key idea is to identify a latent covariate feature set (e.g., latent confounders) that affects both treatment and outcome. By conditioning on these features, one can mitigate the confounding effect of the high dimensional covariate on the estimation of the causal relation between treatment and response.

CausalEGM provides a flexible and powerful framework to develop deep learning-based estimates for treatment effect. Both empirical and theoretical results are provided to demonstrate the effectiveness of CausalEGM.

CausalEGM Wide Applicability

  • Estimate counterfactual outcome.

  • Estimate average treatment effect (ATE).

  • Estimate individual treatment effect (ITE).

  • Estiamte average dose response function (ADRF).

  • Estimate conditional average treatment effect (CATE).

  • Built-in simulation and semi-simulation datasets.

CausalEGM Highlighted Features

  • Capable of handling both continuous and binary treatment settings.

  • Support big dataset with large sample size (e.g, >10M) and number of covariates (e.g., >10k) in a personal PC.

  • Provide both Python PyPi package and R CRAN package, incluidng a user-friendly command-line interface (CLI).

Main References

Liu et al. (2022), CausalEGM: a general causal inference framework by encoding generative modeling, arXiv. Liu et al. (2021), Density estimation using deep generative neural networks, PNAS.

Support

Found a bug or would like to see a feature implemented? Feel free to submit an issue. Have a question or would like to start a new discussion? You can also always send us an email. Your help to improve CausalEGM is highly appreciated!