| Calling Sequence
| Rand(Exponential(a,b))
|
| Return Type
| numeric |
| Synopsis
| This function returns a random exponentially distributed
number with average a+b and variance b^2.
In mathematical terms, the probability that the outcome is x
is exp( -(x-a)/b ) / b.
The first parameter, a, can take any arbitrary value.
The second parameter, b, has to be positive.
Exponential_Rand uses Rand() which can be seeded by either the
function SetRand or SetRandSeed. |
| References
| Handbook of Mathematical functions,
Abramowitz and Stegun, 26.1.28 |
| Examples
| > Rand(Exponential(0.3,3));
2.4395
|
| See also
| Beta_Rand, Binomial_Rand, ChiSquare_Rand, CreateRandSeq, Cumulative, FDist_Rand, GammaDist_Rand, Geometric_Rand, Graph_Rand, Multinomial_Rand, Normal_Rand, Poisson_Rand, SetRand, SetRandSeed, Shuffle, StatTest, Std_Score, Student_Rand, Zscore |