Statalist


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

st: set seed query


From   raoul reulen <r.c.reulen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: set seed query
Date   Mon, 21 Dec 2009 12:35:34 +0000

Hello,

If I use "set seed 12345" at the beginning of my do-file and then
clear the data and read in another dataset would I have to specifiy
"set seed" again? Or is it sufficient to specifiy set seed at the
beginning of my do-file? What if I have multiple do-files? Is it
sufficient to set the seed at the beginning of the first do-file or
would I have to do it in each do-file?

Thanks

best wishes

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