View source: R/distribution-functions.R
top_average | R Documentation |
Compute the average above the p
-th quantile for a distribution
estimated via generalized Pareto interpolation.
top_average(dist, p, ...)
dist |
An object of class |
p |
A vector of probabilities in [0, 1]. |
... |
Ignored. |
The value of the average of the top 100*(1 - p)
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.