threshold_share: Share above a threshold

View source: R/distribution-functions.R

threshold_shareR Documentation

Share above a threshold

Description

Calculate the share a threshold. It is mathematically equivalent to top_share(dist, fitted_cdf(dist, q)), but can be much faster.

Usage

threshold_share(dist, q, ...)

Arguments

dist

An object of class gpinter_dist_orig, gpinter_dist_indiv, gpinter_dist_addup or gpinter_dist_merge.

q

A vector of real numbers.

...

Ignored.

Author(s)

Thomas Blanchet, Juliette Fournier, Thomas Piketty


thomasblanchet/gpinter documentation built on Nov. 29, 2022, 4:32 a.m.