[...] function uses, but you can use this alternative method when N is small. The following DATA step uses the "Table" distribution to generate categorical data according to specified probabilities and counts the number of each category: %let SampleSize = …