BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hi,

I have a situation where I have to pick limited number of occurrences in random way.

Ex: Out of 50 occurrences I have to pick only 30 occurrences in random way ( not the first 30)

How can I do that?

Thanks,
Sam
1 REPLY 1
andreas_lds
Jade | Level 19
If SAS/STAT is installed, have a look at the surveyselect procedure documented in
http://support.sas.com/onlinedoc/913/getDoc/de/statug.hlp/surveyselect_index.htm#idxsus0002
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1065 views
  • 0 likes
  • 2 in conversation