50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


actuar (version 0.9-4)

mean.grouped.data: Arithmetic Mean

Description

Mean of grouped data objects.

Usage

## S3 method for class 'grouped.data':
mean(x, \dots)

Arguments

x
an object of class "grouped.data".
...
further arguments passed to or from other methods.

Value

  • A named vector of means.

Details

The mean of grouped data with group boundaries $c_1, \dots, c_r$ and group frequencies $n_1, \dots, n_r$ is j=1rcj1+cj2nj.

References

Klugman, S. A., Panjer, H. H. and Willmot, G. E. (1998), Loss Models, From Data to Decisions, Wiley.

See Also

grouped.data to create grouped data objects; emm to compute higher moments.

Examples

Run this code
data(gdental)
mean(gdental)

Run the code above in your browser using DataLab