View Full Version : Epi/bio Peeps


emanresu
01-14-2004, 03:12 PM
Ever notice how ?quick-pick? numbers look as if they?re only ?categorically? random in groups? Like for example you get 3 18 25 39 from numbers 1 to 40. Well, I wrote a SAS program that spits out random lottery numbers. You?re all free to use it, and if you win anything, give me at least 10% for my medical education. Otherwise, your family will be cursed.

* POWERBALL RANDOM DIGIT GENERATOR
* PROGRAMMER WOODY
* i=random lottery numbers
* n=powerball;

options nodate nonumber linesize=80 pagesize=52;

data money;
do i=1 to 53;
x=ranuni(0);

output;
end;

do n=1 to 42;
p=ranuni(0);

output;
end;

proc sort; by x p; run;
proc rank; var x ; run;
proc print; var i n x p; run;

toxin
01-15-2004, 12:44 AM
MY FREAKIN UPDATE DOESNT WORK,...SO I CANT USE IT :(

emanresu
01-15-2004, 05:54 AM
Relax.

All you need to do is turn back your computer's date.