**How to generate random numbers in SAS - The DO Loop**
https://blogs.sas.com/content/iml/2011/08/24/how-to-generate-random-numbers-in-sas.html

Aug 24, 2011 · The same expression is valid in the DATA step and the SAS/IML language. Random integers in SAS. You can use the FLOOR or CEIL functions to transform (continuous) random values into (discrete) random integers. In statistical programming, it is common to generate random integers in the range 1 to Max for some value of Max, because you can use …

**DA:** 42 **PA:** 68 **MOZ Rank:** 58