BookmarkSubscribeRSS Feed
Milouda
Obsidian | Level 7

Hello everyone.

I hope to know about the different algorithms used internally by SAS to generate random sequences according to a given distribution (RANUNI function--> uniform distribution). If there are any geeks around, are there any papers that adresses the algorithms used by SAS ?

Thank you so much for your help.

1 REPLY 1
Rick_SAS
SAS Super FREQ

The main thing you need to know about the RANUNI, RANNOR, etc, set of functions is that they were written in the 1970s and are not  recommended for serious simulation or Monte Carlo computations.  See the article "Six reasons you should stop using the RANUNI function to generate random numbers."  The article explains differences between the older linear congruential routines and the more modern Mersenne Twister (MT) algorithm that is used by the RAND function.  The documentation for the RAND function has references to the scholarly papers where you can learn more about MT and random number generation.

 

If you are interested in simulating statistical data in SAS, you might be interested in the paper "Ten Tips for Simulating Data with SAS," which includes tips and techniques for efficient simulaiton as well as references for the serious researcher.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1382 views
  • 1 like
  • 2 in conversation