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.71.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dame_flame-0.71.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.71.tar.gz
Algorithm Hash digest
SHA256 b5e00378d805d4d6f410fff8fd4f3cdf618874313e10bdd27f8b21f1179f36db
MD5 d59edd859c26dbb5dd6d7f3f85300e4d
BLAKE2b-256 991578abe6f1964a332980b3d81023a22904d96bf1850c1538bf503986130734

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dame_flame-0.71-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.71-py3-none-any.whl
Algorithm Hash digest
SHA256 10fbf498dc18fd1044c6eb1a1c8d97e628ad651610b45f3aed614e3427f60f57
MD5 9dd13da65b9cbfd52bd9c351a128a305
BLAKE2b-256 3a5ba614d9c2ddde1abf7a9d30f526b9409feb678ac5c9b62093cf051b1b2bda

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