Statalist


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

Re: st: unstable results with repeating the nearmrg command


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: unstable results with repeating the nearmrg command
Date   Tue, 11 Aug 2009 13:03:30 +0100

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index