Hi, e are learning about proc SQL functions / creating advanced expressions within the Querybuilder, and The question I'm on is asking for me to generate a random number from a normal distribution (μ =50, σ=10)
So the expression I've created for the problem is NORMAL(50, 10)
Is that the correct way to answer the problem?
random('normal',50,10)
Note: your titles wants a sigma of 100, your text wants a sigma of 10, the above snippet of code is a sigma of 10
Thank you!
The function to generate random numbers is named RAND
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.