[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Using NEARMRG
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/