O'Reilly logo

SAS Functions by Example, Second Edition, 2nd Edition by Ron Cody

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9

Random Number Functions

 

Introduction

Functions That Generate Uniform Random Numbers

RANUNI

CALL RANUNI

Functions That Generate Normally Distributed Numbers

RANNOR

CALL RANNOR

A Function That Generates Random Numbers from a Wide Variety of Probability Distributions

RAND

 

Introduction

This chapter focuses on the random number functions—functions that produce pseudo-random values according to a particular distribution. (Since computers can't create truly random numbers, the term pseudo-random numbers is the technically correct description of any computer-generated series of numbers. However, in this chapter, we will go ahead and call these random numbers.)

Only two of the numerous older random number functions are described here ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required