Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: One to N matching


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: One to N matching
Date   Tue, 18 Nov 2008 19:17:03 -0000

At least part of this sounds very easy. If duplicates are not allowed,
remove them first with -duplicates-. 

Nick 
n.j.cox@durham.ac.uk 

Gao Liu

vmatch can match all observations based on certain criteria, like
within some distance. However, what I want is the nearest N
observations, where n is a fixed number. Also, duplicates are not
allowed.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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