R/WeibullMoments.R

Defines functions levweibull mweibull

Documented in levweibull mweibull

### actuar: Actuarial Functions and Heavy Tailed Distributions
###
### Definition of the {m,lev}weibull functions to compute raw and
### limited moments for the Weibull distribution (as defined in R).
###
### See Appendix A of Klugman, Panjer & Willmot, Loss Models, Wiley.
###
### AUTHORS:  Mathieu Pigeon, Vincent Goulet <vincent.goulet@act.ulaval.ca>

mweibull <- function(order, shape, scale = 1)
    .External(C_actuar_do_dpq, "mweibull", order, shape, scale, FALSE)

levweibull <- function(limit, shape, scale = 1, order = 1)
    .External(C_actuar_do_dpq, "levweibull", limit, shape, scale, order, FALSE)

Try the actuar package in your browser

Any scripts or data that you put into this service are public.

actuar documentation built on Nov. 8, 2023, 9:06 a.m.