| Calling Sequence
| Rand(GammaDist(p))
|
| Parameters
| | Name | Type | Description |
|
| p
| nonnegative | |
|
| Return Type
| nonnegative |
| Synopsis
| This function returns a random Gamma distributed
number with average p and variance p.
The sum of two Gamma distributed random variables with parameters
p and q is a Gamma distributed variable with parameter p+q.
We have to call this function GammaDist to prevent the collision
with the Gamma function.
GammaDist_Rand uses Rand() which can be seeded by either the
function SetRand or SetRandSeed. |
| References
| Handbook of Mathematical functions,
Abramowitz and Stegun, 26.1.32 |
| Examples
| > Rand(GammaDist(3));
4.2584
> Rand(GammaDist(100));
104.3901
|
| See also
| Beta_Rand, Binomial_Rand, ChiSquare_Rand, CreateRandSeq, Cumulative, Exponential_Rand, FDist_Rand, Geometric_Rand, Graph_Rand, Multinomial_Rand, Normal_Rand, Poisson_Rand, SetRand, SetRandSeed, Shuffle, StatTest, Std_Score, Student_Rand, Zscore |