Date: Thu, 14 Aug 1997 14:30:00 EDT
Reply-To: Musial Jerry <musialj@BSCC.BLS.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Musial Jerry <musialj@BSCC.BLS.COM>
Subject: Re: How do you test?
A method I use to test is to take a random sample of the records using
the uniform function. Sometimes observations at the beginning of a
dataset will not provide a sufficient test of the code, especially if one
is doing first and last.by variable processing.
Consider the following pseudo-SAS code which will use a 5% random sample
of the input data to test the code.
Data test;
Set xxxx; (or infile)
If uniform(0) < .05;
...
Rest of sas code to test.
...
Run;
|