EconPapers    
Economics at your fingertips  
 

NNMATCH: Stata module to compute nearest-neighbor bias-corrected estimators

Alberto Abadie, Jane Leber Herr, Guido Imbens and David Drukker

Statistical Software Components from Boston College Department of Economics

Abstract: nnmatch estimates the average treatment effect on depvar by comparing outcomes between treated and control observations (as defined by treatvar), using nearest neighbor matching across the variables defined in varlist_nnmatch. nnmatch can estimate either the treatment effect for the treated observations, for the controls, or for the sample as a whole. The program pairs observations to the closest m matches in the opposite treatment group to provide an estimate of the counterfactual treatment outcome. The program allows for matching over a multi-dimensional set of variables (varlist_nnmatch), giving options for the weighting matrix to be used in determining the optimal matches. It also allows exact matching (or as close as possible) on a subset of variables. In addition, the program allows for bias correction of the treatment effect, and estimation of either the sample or population variance, with or without assuming a constant treatment effect (homoskedasticity). Finally it allows observations to be used as a match more than once, thus making the order of matching irrelevant.

Language: Stata
Requires: Stata version 8.0
Keywords: treatment effects; matching; bias-corrected estimator (search for similar items in EconPapers)
Date: 2004-06-10
Note: This module should be installed from within Stata by typing "ssc install nnmatch". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/n/nnmatch.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/n/nnmatch.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s439701

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

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 ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s439701