Try adding a -set seed ### - in your do-file prior to running the
-nearmrg- and then see if the results are reproducible.
Given its a "fuzzy" matching algorithm it doesn't surprise me that you
get different results on subsequent runs, and setting a seed is the
way to circumvent such "problems".
Neil
--
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey (1986), "Sunset salvo". The American
Statistician 40(1).
Email - [email protected]
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
* 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/