BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
PrinceAde
Obsidian | Level 7

Hi all!

Please I need explanation on rand function as it applies to SAS Base Certification, what to expect and stuff like that.

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

A good place to start is 

How to generate random numbers in SAS

Random number streams in SAS: How do they work?

Some older materials might discuss the RANUNI and RANNOR functions, but those functions are deprecated and no longer recommended. See "Six reasons you should stop using the RANUNI function to generate random numbers."

View solution in original post

2 REPLIES 2
Rick_SAS
SAS Super FREQ

A good place to start is 

How to generate random numbers in SAS

Random number streams in SAS: How do they work?

Some older materials might discuss the RANUNI and RANNOR functions, but those functions are deprecated and no longer recommended. See "Six reasons you should stop using the RANUNI function to generate random numbers."

PrinceAde
Obsidian | Level 7

@Rick_SAS Thank you very much sir.

Very helpful.

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

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