View source: R/thresholds-fit.R
thresholds_fit | R Documentation |
Estimate a distribution nonparametrically based on tabulations of a distribution which include:
fractiles of the data,
the corresponding thresholds.
thresholds_fit(
p,
threshold,
average = NULL,
last_bracketshare = NULL,
last_bracketavg = NULL,
last_invpareto = NULL,
bottom_model = NULL,
lower_bound = 0,
binf = NULL,
fast = FALSE
)
p |
A vector of values in [0, 1]. |
threshold |
The quantiles corresponding to |
average |
The average over the entire distribution. Use |
last_bracketshare |
The share of the last bracket. Use |
last_bracketavg |
The average in the last bracket. Use |
last_invpareto |
The inverted Pareto coefficient at the last threshold.
Use |
bottom_model |
Which model to use at the bottom of the distribution?
Only relevant if |
lower_bound |
Lower bound of the distribution. Only relevant if
|
binf |
The asymptotic value of the inverted Pareto coefficient. If
|
fast |
Use a faster but less precise method (split-histogram).
Default is |
An object of class gpinter_dist_orig
.
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.