Statalist


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

st: AW: set seed query


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: set seed query
Date   Mon, 21 Dec 2009 13:38:30 +0100

<> 

Just toss in a 

*************
di c(seed)
*************


(or - query other-) at the relevant point where you want to check for
changes in the -seed-.


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von raoul reulen
Gesendet: Montag, 21. Dezember 2009 13:36
An: statalist@hsphsun2.harvard.edu
Betreff: st: set seed query

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/


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