levexp gives the \(k\)th moment of the limited loss
variable, and
mgfexp gives the moment generating function in t.
Invalid arguments will result in return value NaN, with a warning.
Arguments
order
order of the moment.
limit
limit of the loss variable.
rate
vector of rates.
t
numeric vector.
log
logical; if TRUE, the cumulant generating function
is returned.
Author
Vincent Goulet [email protected],
Christophe Dutang and Mathieu Pigeon.
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^{tX}]\), \(k > -1\).
References
Johnson, N. L. and Kotz, S. (1970), Continuous Univariate
Distributions, Volume 1, Wiley.
Klugman, S. A., Panjer, H. H. and Willmot, G. E. (2012),
Loss Models, From Data to Decisions, Fourth Edition, Wiley.