Statalist The Stata Listserver


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

st: Using NEARMRG


From   "MA V" <[email protected]>
To   [email protected]
Subject   st: Using NEARMRG
Date   Wed, 26 Apr 2006 21:59:57 +0000

I just came across a very interesting function named "nearmrg" and I have a question regarding its use:
If I write:

neamrg region using ageinfo2, nearvar(age) keep

In this case, I have the following questions:
1) "age" must be unique in the using dataset, right?
2) does the variable region need to be unique?
3) how should I sort the variables?

I tried many different things and I always seem to get the message:

"region age not unique in using dataset
something that should be true of your data is not"

Any suggestions?
Thanks for your help!!

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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