LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Apr 2003 13:52:10 -0400
Reply-To:     "Gerstle, John" <yzg9@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Gerstle, John" <yzg9@CDC.GOV>
Subject:      Re: Proc Surveyselect and Minimal Cell Sizes - Was RE: Proc Sort
              Rand om
Comments: To: Dale McLerran <stringplayer_2@YAHOO.COM>
Content-Type: text/plain

Dale (not David), Good idea. Thanks!!

John Gerstle CDC Information Technological Support Contract (CITS) Biostatistician

>> -----Original Message----- >> From: Dale McLerran [mailto:stringplayer_2@YAHOO.COM] >> Sent: Monday, April 14, 2003 12:40 PM >> To: SAS-L@LISTSERV.UGA.EDU >> Subject: Re: Proc Surveyselect and Minimal Cell Sizes - Was RE: Proc Sort >> Rand om >> >> --- "Gerstle, John" <yzg9@CDC.GOV> wrote: >> > The '123' is just that...a quickie seed. I'll probably use seed=0 >> > when I >> > get this program finished. >> > >> >> Oh, bad idea to use seed=0. If you need to verify the process, >> you can't! However, I have coded programs which employ seed=0 >> to initialize and document the starting seed. You can code >> something like >> >> data _null_; >> seed=0; >> call ranuni(seed,x); >> call symput("seed", put(seed, 16.-L)); >> run; >> >> options symbolgen; >> proc surveyselect seed=&seed ... >> run; >> >> By creating macro variable SEED and employing the SYMBOLGEN >> option, the seed value at execution of the SURVEYSELECT >> procedure is written to the log file. You get the advantage >> of not having to declare your seed before the process is >> initiated with the ability to replicate the results at a later >> date, if needed. >> >> Dale >> >> >> >> ===== >> --------------------------------------- >> Dale McLerran >> Fred Hutchinson Cancer Research Center >> mailto: dmclerra@fhcrc.org >> Ph: (206) 667-2926 >> Fax: (206) 667-5977 >> --------------------------------------- >> >> __________________________________________________ >> Do you Yahoo!? >> Yahoo! Tax Center - File online, calculators, forms, and more >> http://tax.yahoo.com


Back to: Top of message | Previous page | Main SAS-L page