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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1375 views
  • 1 like
  • 2 in conversation