BookmarkSubscribeRSS Feed
wkossack
Calcite | Level 5
I'm using proc survey select to randomly sample a population.

I've noticed some curious patterns in the resulting samples and I'm looking into the source.

Are there any problems with the randomness of survey select samples using the default seed? I've seen similar problems in random number generators only to discover that the period of the random numbers is smaller than I need
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
You might want to look at the documentation
http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#/documentation/cdl/...

and see whether the METHOD= option offers you a method closer to your liking (by my count, there are at least 10 or 11 methods to try).

As it says on the above page: "If you do not specify the METHOD= option, by default, PROC SURVEYSELECT uses simple random sampling (METHOD=SRS) " and the doc for the SRS method explains that SRS is simple random sampling, which is selection with equal probability and without replacement. And for more information about simple random sampling, you are further referred to:
http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#/documentation/cdl/...

cynthia

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 923 views
  • 0 likes
  • 2 in conversation