Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Prado De Castro Alfaiate, Jorge" <jprado@essex.ac.uk> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: sequence of random values is repeated as I re-run code |
Date | Fri, 4 Feb 2011 12:07:01 +0000 |
Dear statalisters, I still could not understand why, but I found out that the same sequence of random values is created when I re-run my code. Each time a random value is created Stata is supposed to get that random number by using a complicated function of time and date (with high precision), leading to a near-random number, right? But then I do not understand how the same random numbers may come out again... Anyone knows why this might be happening? Best, Jorge Jorge Prado de Castro Alfaiate PhD student, Department of Economics, University of Essex email: jprado@essex.ac.uk * * 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/