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 on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: RE: how to choose the # for --set seed #--


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: how to choose the # for --set seed #--
Date   Fri, 5 Mar 2010 08:58:05 -0800

I would always use Nick Cox's birthday if I knew it :-)

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Friday, March 05, 2010 7:40 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: how to choose the # for --set seed #--

The only absolute rule is to use the same # to get the same random
results. 

Otherwise it's up to you. Some people like to set up a hierarchy of
randomly choosing random seeds, but that's a matter of taste or humour,
so far as I can see. 

Nick 
n.j.cox@durham.ac.uk 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Mandy fu
Sent: 05 March 2010 15:37
To: statalist@hsphsun2.harvard.edu
Subject: st: how to choose the # for --set seed #--

Dear all,

About the command --set seed # --, which is used set initial value of
random-number seed, I was wondering if the # is simply arbitrary or I
need to identify that initial value following some rule.

I would appreciate if you could give me some suggestion. Thanks!

Sincerely,
Mandy Fu
*
*   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/

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