Date: Thu, 9 Jul 1998 14:03:21 +0100
Reply-To: "D.N. Joanes" <STA6DNJ@LEEDS.AC.UK>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "D.N. Joanes" <STA6DNJ@LEEDS.AC.UK>
Organization: University of Leeds
Subject: sampling
Can anyone point me to the way of sampling a SAS data set (without
replacement), for example to obtain a 50% random sample, creating at
the same time an indicator variable taking the value 1 if the
observation is included in the sample and zero otherwise.
Many thanks
Derrick Joanes
|