Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: RE: generating random, not pseudo-random numbers


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: generating random, not pseudo-random numbers
Date   Fri, 9 Nov 2012 18:04:36 +0000

That aside, -runiform()- in Stata 10 up is primarily a new name for
-uniform()-.

Nick

On Fri, Nov 9, 2012 at 5:27 PM, David Radwin <dradwin@mprinc.com> wrote:
> See http://www.stata.com/statalist/archive/2010-09/msg01404.html for a
> hint.
Pradipto Banerjee

>> I am using Stata 9.2 and it appears that I don't have the runiform()
>> function. The uniform() function is pseudo-random numbers and so when I
>> run a code say N times, the output is the same every time. How can I
>> generate random numbers in Stata 9.2 ?
>>
>> I saw a few posts on Statalist that recommended using -clock()- , but in
>> Stata 9.2, I don't have clock either.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index