Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

grand

Format: grand( mean, n )

Arguments: (real) mean Optional mean time between events; default = 1

(int) n Optional number of events; default = 1

Returns: (real) Pseudo-random number drawn from a Gamma distribution

Description: Numbers returned by the grand primitive represent the time required for a certain number of events to occur given the mean time between events. For example, the time required for a certain number of customers to arrive. The result returned by grand is always a positive number.

If n = 1, grand returns a number from an exponential distribution.

Examples: grand = exponential distribution with a mean of 1

grand(3) = exponential distribution with a mean of  3

grand(2,5) = random number representing the time required for 5 events to occur where the mean time between events is 2, PDF graphed below

dsc00250.gif

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

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend