shape
and scale
.mgamma(order, shape, rate = 1, scale = 1/rate)
levgamma(limit, shape, rate = 1, scale = 1/rate, order = 1)
mgfgamma(x, shape, rate = 1, scale = 1/rate, log = FALSE)
TRUE
, the cumulant generating function
is returned.mgamma
gives the $k$th raw moment,
levgamma
gives the $k$th moment of the limited loss
variable, and
mgfgamma
gives the moment generating function in x
.
Invalid arguments will result in return value NaN
, with a warning.GammaDist
mgamma(2, 3, 4) - mgamma(1, 3, 4)^2
levgamma(10, 3, 4, order = 2)
mgfgamma(1,3,2)
Run the code above in your browser using DataLab