R/distr-theo-ecf.R

Defines functions ecbeta ecunif

Documented in ecbeta ecunif

#new exposure curve function for some distributions
#limited expected value is implemented in actuar

ecunif <- function(x, min = 0, max =1)
{
  levunif(x, min = min, max = max) / munif(1, min = min, max = max)
}

ecbeta <- function(x, shape1, shape2)
{
  levbeta(x, shape1 = shape1, shape2 = shape2) / mbeta(1, shape1 = shape1, shape2 = shape2)
}
spedygiorgio/mbbefd documentation built on Sept. 2, 2023, 1:55 p.m.