EconPapers    
Economics at your fingertips  
 

NEARMRG: Stata module to provide nearest-match merging of datasets

Michael Blasnik () and Katherine Smith ()
Additional contact information
Michael Blasnik: Michael Blasnik and Associates
Katherine Smith: Murdoch Childrens Research Institute

Statistical Software Components from Boston College Department of Economics

Abstract: nearmrg performs nearest match merging of two datasets. nearmrg matches observations that are closest on the variable specified in nearvar(). Options upper, lower, and roundup allow some adjustments to how closest is defined. Additional variables may be specified in an optional varlist and these variables are treated as standard merge variable which must match exactly. This option allows nearest matching within subsets defined by the varlist. nearmrg was designed as a way to use lookup tables that have binned or rounded values on the variable of interest.

Language: Stata
Requires: Stata version 10.0
Keywords: merge; fuzzy merge; nearest neighbor (search for similar items in EconPapers)
Date: 2003-09-18
Note: This module may be installed from within Stata by typing "ssc install nearmrg". Windows users should not attempt to download these files with a web browser.

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

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

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
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2008-07-06
Handle: RePEc:boc:bocode:s434901