GammaDev

From VLECK
Jump to: navigation, search

Calculates deviates from the Gamma probability density function


Syntax

Result = GammaDev( ParameterValues)


Return Value

StdExpDev returns random deviates drawn from the Gamma probability densitiy function. The dimensions of the result is the same as that for the Parametervalues. Randomisation �depends on the method settings of the function SetRandom().


Parameters

Explanation

The gamma probability density function is


with mean of � and a variance of � and x=0

(A generalized function of the Gamma probability function is the Pearson Type III)


Example


A = GammaDev (Redim(0.5; 4,5))

gammadev(redim(0.5; 4,5))





[[category:NSM functions]]