causalegm
A General Causal Inference Framework by Encoding Generative Modeling
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org -
✓Committers with academic emails
2 of 4 committers (50.0%) from academic institutions -
✓Institutional organization owner
Organization suwonglab has institutional domain (web.stanford.edu) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Keywords
Repository
A General Causal Inference Framework by Encoding Generative Modeling
Basic Info
- Host: GitHub
- Owner: SUwonglab
- Language: Python
- Default Branch: main
- Homepage: https://causalegm.readthedocs.io/
- Size: 1.86 MB
Statistics
- Stars: 73
- Watchers: 3
- Forks: 11
- Open Issues: 1
- Releases: 2
Topics
Metadata Files
README.md
An Encoding Generative Modeling Approach for Dimension Reduction and Covariate Adjustment
CausalEGM is a general causal inference framework for estimating causal effects by encoding generative modeling, which can be applied in both discrete and continuous treatment settings.
CausalEGM simultaneously decouples the dependencies of confounders on both treatment and outcome and maps the confounders to the low-dimensional latent space. By conditioning on the low-dimensional latent features, CausalEGM can estimate the causal effect for each individual or the average causal effect within a population.
CausalEGM was originally developed with Python and TensorFlow. Now both Python and R package for CausalEGM are available! Besides, we provide a console program to run CausalEGM directly without running any script. For more information, checkout the Document.
Note that a GPU is recommended for accelerating the model training. However, GPU is not a must, CausalEGM can be installed on any personal computer (e.g, Macbook) or computational cluster with CPU only.
CausalEGM Main Applications
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.
Checkout application examples in the Python Tutorial and R Tutorial.
Latest News
May/2024: CausalEGM is published online on PNAS.
Mar/2023: CausalEGM is available in CRAN as a stand-alone R package.
Feb/2023: Version 0.2.6 of CausalEGM is released on Anaconda.
Dec/2022: Preprint paper of CausalEGM is out on arXiv.
Aug/2022: Version 0.1.0 of CausalEGM is released on PyPI.
Datasets
Create a CausalEGM/data folder and uncompress the dataset in the CausalEGM/data folder.
Twin dataset. Google Drive download link.
ACIC 2018 datasets. Google Drive download link.
Main Reference
If you find CausalEGM useful for your work, please consider citing our PNAS paper:
Qiao Liu, Zhongren Chen, Wing Hung Wong. An encoding generative modeling approach to dimension reduction and covariate adjustment in causal inference with observational studies [J]. PNAS, 2024.
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 e-mail.
Your help to improve CausalEGM is highly appreciated! For further information visit https://causalegm.readthedocs.io/.
Owner
- Name: The WH Wong lab at Stanford
- Login: SUwonglab
- Kind: organization
- Email: whwong@stanford.edu
- Location: Clark Center
- Website: https://web.stanford.edu/group/wonglab/
- Repositories: 11
- Profile: https://github.com/SUwonglab
GitHub Events
Total
- Watch event: 8
- Fork event: 2
Last Year
- Watch event: 8
- Fork event: 2
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 184
- Total Committers: 4
- Avg Commits per committer: 46.0
- Development Distribution Score (DDS): 0.065
Top Committers
| Name | Commits | |
|---|---|---|
| kimmo1019 | l****o@b****n | 172 |
| Russell-debug | 6****g@u****m | 9 |
| Qiao Liu | l****6@m****n | 2 |
| Balasubramanian Narasimhan | b****s@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 3
- Total pull requests: 2
- Average time to close issues: 20 days
- Average time to close pull requests: 1 day
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mengxiangbin001 (2)
- githubdemima123456 (1)
Pull Request Authors
- eltociear (1)
- bnaras (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
-
Total downloads:
- pypi 103 last-month
- cran 174 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 21
- Total maintainers: 2
proxy.golang.org: github.com/suwonglab/causalegm
- Documentation: https://pkg.go.dev/github.com/suwonglab/causalegm#section-documentation
-
Latest release: v0.4.0
published almost 2 years ago
Rankings
proxy.golang.org: github.com/SUwonglab/CausalEGM
- Documentation: https://pkg.go.dev/github.com/SUwonglab/CausalEGM#section-documentation
-
Latest release: v0.4.0
published almost 2 years ago
Rankings
pypi.org: causalegm
CausalEGM: an encoding generative modeling approach to dimension reduction and covariate adjustment in causal inference with observational studies
- Homepage: https://github.com/SUwonglab/CausalEGM
- Documentation: https://causalegm.readthedocs.io/
- License: MIT License
-
Latest release: 0.4.0
published almost 2 years ago
Rankings
Maintainers (1)
cran.r-project.org: RcausalEGM
A General Causal Inference Framework by Encoding Generative Modeling
- Homepage: https://github.com/SUwonglab/CausalEGM
- Documentation: http://cran.r-project.org/web/packages/RcausalEGM/RcausalEGM.pdf
- License: MIT + file LICENSE
-
Latest release: 0.3.3
published almost 3 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.6.3 depends
- reticulate * imports
- nbsphinx *
- sphinx_autodoc_typehints *
- pandas *
- python-dateutil *
- scikit-learn *
- tensorflow >=2.8.0
- pandas *
- python-dateutil *
- scikit-learn *
- tensorflow >=2.8.0
