Skip to main content

Causal Inference Covariate Matching

Project description

Build Status Coverage Status

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

dame_flame-0.61.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

dame_flame-0.61-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file dame_flame-0.61.tar.gz.

File metadata

  • Download URL: dame_flame-0.61.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/24.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.14 tqdm/4.48.0 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.5

File hashes

Hashes for dame_flame-0.61.tar.gz
Algorithm Hash digest
SHA256 8451c27c10ef7677b763e803376b686798c2969a2ede15edd7ad0e3980b1c6c5
MD5 d2daf3a7e6138cdd582707c9d0fe5364
BLAKE2b-256 6f526a61ce86da74eab69e196fc93928be5f24163e27e5d47fc47bd729933f14

See more details on using hashes here.

File details

Details for the file dame_flame-0.61-py3-none-any.whl.

File metadata

  • Download URL: dame_flame-0.61-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/24.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.14 tqdm/4.48.0 importlib-metadata/4.6.1 keyring/23.0.1 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.5

File hashes

Hashes for dame_flame-0.61-py3-none-any.whl
Algorithm Hash digest
SHA256 ced2f12057d6c6d2ffecb102ebbba21d9df20500a836131aa180ee0aaf6153a4
MD5 5a542860b832673dd775ff0114b367ea
BLAKE2b-256 e9b35131b575623e723b8a833ffa1ba6742515baaf8e40fbbfd6dd65a082512f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page