Description Usage Arguments Value References Examples
Pareto diagrams - Pareto 1, GPD and EPD
1 2 |
data |
numeric, a vector of observations |
p |
numeric, the probability level (default 0.01 for the top 1%) |
q |
numeric, the probability level to model a Pareto distribution (default 0.1) |
viz |
logical, |
weight |
numeric, a vector of weights (default is equal weights) |
a table with estimations of top share and a graph
Charpentier & Flachaire (2019) Pareto Models for Top Incomes hal-02145024
1 2 3 4 | ################ Pareto diagams on Synthetic Data
url_1 <- "https://github.com/freakonometrics/TopIncomes/raw/master/dataframe_yw_1.csv"
df <- read.table(url_1,sep=";",header=TRUE)
## Not run: Pareto_diagram(data = df$y, weights = df$w)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.