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 ...

Get SAS Functions by Example, Second Edition, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.