Date: Wed, 8 Nov 2006 12:25:28 -0800
Reply-To: Xuhong <zhuxuhong2000@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Xuhong <zhuxuhong2000@GMAIL.COM>
Subject: what's wrong with my codes? please help!
Content-Type: text/plain; charset="iso-8859-1"
I have a database with 2000 obeservations and what I need is to random
select 100 observations with replacement. But my codes could only
generate one observation. Could you help me find out my mistakes in my
codes below? Thanks very much!
do i = 1 to 100;
row_to_read = int(uniform(int(time()))*2000+1);
point = row_to_read;