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 (August 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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;


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