Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to identify observations in Using file for furtheranalysis with "nearmrg" command


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: How to identify observations in Using file for furtheranalysis with "nearmrg" command
Date   Mon, 02 Jul 2007 19:57:12 -0400

..
As the author of nearmrg -- I'm pretty sure that you can't do a one-to-one merge. It was designed to have the using file as a lookup table in a many-to-one merge.

Michael Blasnik

----- Original Message ----- From: "hmjc66" <hmjc66@gmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Monday, July 02, 2007 4:52 PM
Subject: Re: st: How to identify observations in Using file for further analysis with "nearmrg" command



Thanks for your suggestion, Rajesh.

I have a more serious issue though. I noticed that -nearmrg- can pick
the closest observation from the Using file multiple times. I require
that it be picked only once.

Is there any way that an observation from the using file will be
picked only once using -nearmrg-? (i.e. after picking an observation,
go to the next closest observation)

Hugh

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index