|
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
|