Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: sequence of random values is repeated as I re-run code


From   "Prado De Castro Alfaiate, Jorge" <[email protected]>
To   "[email protected]" <[email protected]>
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: [email protected]



*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index