Causal Inference Covariate Matching
Project description
DAME-FLAME
A Python package for performing matching for observational causal inference on datasets containing discrete covariates
Documentation here
DAME-FLAME is a Python package for performing matching for observational causal inference on datasets containing discrete covariates. It implements the Dynamic Almost Matching Exactly (DAME) and Fast, Large-Scale Almost Matching Exactly (FLAME) algorithms, which match treatment and control units on subsets of the covariates. The resulting matched groups are interpretable, because the matches are made on covariates, and high-quality, because machine learning is used to determine which covariates are important to match on.
Installation
Dependencies
dame-flame
requires Python version (>=3.6.5). Install from here if needed.
- pandas>=0.11.0
- numpy>= 1.16.5
- scikit-learn>=0.23.2
If your python version does not have these packages, install from here.
To run the examples in the examples folder (these are not part of the package), Jupyter Notebooks or Jupyter Lab (available here) and Matplotlib (>=2.0.0) is also required.
User Installation
Download from PyPi via $ pip install dame-flame
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dame_flame-0.41.tar.gz
.
File metadata
- Download URL: dame_flame-0.41.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf007974069c75e7e615ce81972657ac59a06f72787d67acf96de68fc2de52f |
|
MD5 | aed38064bd56e4921ecd79b6f1b47f91 |
|
BLAKE2b-256 | 91100bad8251684b57e2e09a2ae223b76c05eb7441d027b1b1378aa84043311c |
File details
Details for the file dame_flame-0.41-py3-none-any.whl
.
File metadata
- Download URL: dame_flame-0.41-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266e6d9037a5c5b406575f6283f8414fdee4504d3db1981257cf327e841e29f6 |
|
MD5 | 290728b81e2c4a862abce95cfe0f02c7 |
|
BLAKE2b-256 | c4faf7f6e4784160723f7d1abbc6e205868018c66ac3b0bcd49869d28ea1a57b |