Vanguard Software
Forecasting & Planning Solutions

contents.gifindex.gifprev1.gifnext1.gif

prand

Format: prand( mean )

Arguments: (real) mean Optional distribution mean; default = 1

Returns: (int) Pseudo-random number from a Poisson distribution

Description: Numbers returned by the prand primitive represent the number of random events that occur per unit of time. For example, the number of customers that arrive in a given hour is represented by a Poisson distribution. This probability distribution is characterized by the mean number of events per unit time. The result returned by prand is always a positive integer.

Examples: prand = random number form a Poisson distribution with a mean of  1

prand(3) = random number from a Poisson distribution with a mean of  3, PDF graphed below

dph00482.gif

See Also: rand, drand, trand, nrand, lrand, brand, grand, betarand, crand, setrand, correlate

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Software  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2009 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend