Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: "random" seed for uniform()

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: "random" seed for uniform()
Date   Thu, 9 Oct 2003 17:38:26 +0100

J. Michael Oakes
> Using Stata 8, I want to have a different seed each time I 
> call an *.ado
> file with uniform() in it. I recall setting seed to 'system 
> time' in SAS and
> in Stata... I think... and that worked well.
> Now I cannot recall how to set a new "random" seed and it's 
> driving me nuts.
> I'm sure I'm missing something totally obvious but I cannot 
> see outside of my box.

-set seed- is documented under -help generate-

[email protected] 

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index