Statalist


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

st: how to cancel the seed set previously?


From   gjhxmu@sina.com
To   statalist<statalist@hsphsun2.harvard.edu>
Subject   st: how to cancel the seed set previously?
Date   Thu, 02 Jul 2009 15:56:08 +0800

I set seed # before the runiform() function.
For instance,
I typed,
set seed 100
g x=runinform()

my confusions are,
1.how to set the seed number propriately? I saw everyone set it large.Any difference?
2. how to cancel the seed set previously? Maybe next time I again want to produce uniformly distributed random variates, and set seed 100 by accident , which may lead to the variates produced is not random.

Thank you for any replies!

Sincerely,
from Rose.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index