Vanguard Software
Forecasting & Planning Solutions

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

dph00469.gif

See Also: rand, drand, trand, nrand, lrand, brand, prand, 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  |  Customer 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