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]

Re: st: Random numbers


From   Antoine Terracol <[email protected]>
To   [email protected]
Subject   Re: st: Random numbers
Date   Wed, 12 May 2010 18:56:10 +0200

clear
set obs 1000
gen x=100+runiform()*900

Antoine

On 12/05/2010 18:53, Evans Jadotte wrote:
Hello statlisters,

I would like to generate a distribution of 1000 observations randomly
distributed between 100 and 1000. Any help with the command is much
appreciated.

Thanks,
Evans
*
* 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/


*
*   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