CEM: Stata module to perform Coarsened Exact Matching
Matthew Blackwell (),
Stefano Iacus (),
Gary King () and
Additional contact information
Matthew Blackwell: Harvard University
Statistical Software Components from Boston College Department of Economics
The cem package provides a Stata implementation of coarsened exact matching, a new method for improving the estimation of causal effects by reducing imbalance in covariates between treated and control groups. Coarsened exact matching is faster, is easier to use and understand, requires fewer assumptions, is more easily automated, and possesses more attractive statistical properties for many applications than do existing matching methods. In coarsened exact matching, users temporarily coarsen their data, exact match on these coarsened data, and then run their analysis on the uncoarsened, matched data. Coarsened exact matching bounds the degree of model dependence and causal effect estimation error by ex ante user choice, is monotonic imbalance bounding (so that reducing the maximum imbalance on one variable has no effect on others), does not require a separate procedure to restrict data to common support, meets the congruence principle, is approximately invariant to measurement error, balances all nonlinearities and interactions in sample (i.e., not merely in expectation), and works with multiply imputed datasets. Other matching methods inherit many of the coarsened exact matching method's properties when applied to further match data preprocessed by coarsened exact matching.
Requires: Stata version 10.1
Keywords: imbalance; matching; coarsened exact matching; inference (search for similar items in EconPapers)
Date: 2010-02-19, Revised 2017-10-29
Note: This module should be installed from within Stata by typing "ssc install cem". Please quit Stata after installing and restart to reindex Mata libraries. Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cem.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cem.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/i/imb.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/imb.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/listwise.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/listwise.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lcem.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/c/cem-mata.do program code (text/plain)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457127
Ordering information: This software item can be ordered from
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().