Last chance! 50% off unlimited learning
Sale ends in
Raw moments, limited moments and moment generating function for the
exponential distribution with rate rate
(i.e., mean
1/rate
).
mexp(order, rate = 1)
levexp(limit, rate = 1, order = 1)
mgfexp(t, rate = 1, log = FALSE)
order of the moment.
limit of the loss variable.
vector of rates.
numeric vector.
logical; if TRUE
, the cumulant generating function
is returned.
mexp
gives the levexp
gives the mgfexp
gives the moment generating function in t
.
Invalid arguments will result in return value NaN
, with a warning.
The
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.
# NOT RUN {
mexp(2, 3) - mexp(1, 3)^2
levexp(10, 3, order = 2)
mgfexp(1,2)
# }
Run the code above in your browser using DataLab