dame-flame: A Python Library Providing Fast Interpretable Matching for Causal Inference

by   Neha R. Gupta, et al.

dame-flame is a Python package for performing matching for observational causal inference on datasets containing discrete covariates. This package 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 (rather than, for instance, propensity scores), and high-quality, because machine learning is used to determine which covariates are important to match on. DAME solves an optimization problem that matches units on as many covariates as possible, prioritizing matches on important covariates. FLAME approximates the solution found by DAME via a much faster backward feature selection procedure. The package provides several adjustable parameters to adapt the algorithms to specific applications, and can calculate treatment effects after matching. Descriptions of these parameters, details on estimating treatment effects, and further examples, can be found in the documentation at https://almost-matching-exactly.github.io/DAME-FLAME-Python-Package/



page 1

page 2

page 3

page 4


FLAME: A Fast Large-scale Almost Matching Exactly Approach to Causal Inference

A classical problem in causal inference is that of matching, where treat...

MALTS: Matching After Learning to Stretch

We introduce a flexible framework for matching in causal inference that ...

Group-matching algorithms for subjects and items

We consider the problem of constructing matched groups such that the res...

Collapsing-Fast-Large-Almost-Matching-Exactly: A Matching Method for Causal Inference

We aim to create the highest possible quality of treatment-control match...

Interpretable Almost-Matching-Exactly With Instrumental Variables

Uncertainty in the estimation of the causal effect in observational stud...

Hypothesis Tests That Are Robust to Choice of Matching Method

A vast number of causal inference studies test hypotheses on treatment e...

A deterministic matching method for exact matchings to compare the outcome of different interventions

Statistical matching methods are widely used in the social and health sc...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.