Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Re: RE: matching in Stata


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: Re: RE: matching in Stata
Date   Thu, 18 Sep 2003 12:57:28 -0400

I would like to second this, I also would appreciate it
if it was posted to SSC -- thanks

Rich

Mark Schaffer wrote:
> 
> Michael,
> 
> From:                   "Michael Blasnik" <michael.blasnik@verizon.net>
> To:                     <statalist@hsphsun2.harvard.edu>
> Subject:                st: Re: Re: RE: matching in Stata
> Date sent:              Thu, 18 Sep 2003 11:54:04 -0400
> Send reply to:          statalist@hsphsun2.harvard.edu
> 
> > I have written an ado (nearmrg.ado) that I think directly addresses this
> > problem.  It allows specifying a list of variables that must match exactly
> > between the datasets (gender and region in your dataset?) and requires you
> > to specify one variable that is matched to the "closest" value in the using
> > file.  The closest value may be defined in a few ways, including some ways
> > that allows the use of string variables.  I can email the files to you
> > directly if you are interested.  I may post it to SSC if there is general
> > interest.
> 
> I'd like to put in a vote for an SSC posting - I've had occasion in
> the past to do this kind of merge, and I know colleagues who have
> faced similar problems and who would find this program helpful.  We'd
> all be deeply indebted if you did....
> 
> --Mark
> 
> >
> > Michael Blasnik
> > michael.blasnik@verizon.net
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index