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 (January 2012, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 9 Jan 2012 13:52:34 -0500
Reply-To:   Rick Wicklin <Rick.Wicklin@SAS.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Rick Wicklin <Rick.Wicklin@SAS.COM>
Subject:   Re: Calling any observation at random

If you have SAS/IML, you can use a module for sampling with replacement. See http://blogs.sas.com/content/iml/2010/11/05/sampling-with-replacement/ or tinyurl= http://bit.ly/zVz6q8

If you have SAS/STAT, see David Cassell's paper to use the SUREVEYSELECT procedure to select random observations. http://www2.sas.com/proceedings/forum2007/183-2007.pdf

If all you have is Base SAS, you can use the SET statement with teh POINT= option, as shown on p. 9 of Cassell's paper.

Rick Wicklin Statistical programming and SAS/IML blog: http://blogs.sas.com/content/iml


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