
Compute the empirical limited expected value for individual or grouped data.
elev(x, ...)# S3 method for default
elev(x, …)
# S3 method for grouped.data
elev(x, …)
# S3 method for elev
print(x, digits = getOption("digits") - 2, …)
# S3 method for elev
summary(object, …)
# S3 method for elev
knots(Fn, …)
# S3 method for elev
plot(x, …, main = NULL, xlab = "x", ylab = "Empirical LEV")
a vector or an object of class "grouped.data"
(in
which case only the first column of frequencies is used); for the
methods, an object of class "elev"
, typically.
number of significant digits to use, see
print
.
an R object inheriting from "ogive"
.
main title.
labels of x and y axis.
arguments to be passed to subsequent methods.
For elev
, a function of class "elev"
, inheriting from the
"function"
class.
The limited expected value (LEV) at
Methods of elev
exist for individual data or for grouped data
created with grouped.data
. The formula in this case is
too long to show here. See the reference for details.
Klugman, S. A., Panjer, H. H. and Willmot, G. E. (1998), Loss Models, From Data to Decisions, Wiley.
grouped.data
to create grouped data objects;
stepfun
for related documentation (even though the
empirical LEV is not a step function).
# NOT RUN {
data(gdental)
lev <- elev(gdental)
lev
summary(lev)
knots(lev) # the group boundaries
lev(knots(lev)) # empirical lev at boundaries
lev(c(80, 200, 2000)) # and at other limits
plot(lev, type = "o", pch = 16)
# }
Run the code above in your browser using DataLab