shape and scale parameters. Must be strictly
positive.
x
numeric vector.
log
logical; if TRUE, the cumulant generating function
is returned.
Value
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.
Details
The $k$th raw moment of the random variable $X$ is
$E[X^k]$, the $k$th limited moment at some limit
$d$ is $E[\min(X, d)^k]$ and the moment
generating function is $E[e^{xX}]$.
References
Klugman, S. A., Panjer, H. H. and Willmot, G. E. (2004),
Loss Models, From Data to Decisions, Second Edition, Wiley.
Johnson, N. L. and Kotz, S. (1970), Continuous univariate
distributions, Volume 1, Wiley.