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, is already up and running.

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

Re: st: Random numbers

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

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


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

* For searches and help try:

*   For searches and help try:

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