Prop20_20 {wINEQ} | R Documentation |
20:20 ratio - originally the ratio of the total income of the 20% richest people to the 20% poorest people.
Prop20_20(X, W = rep(1, length(X)))
X |
is a data vector (numeric or ordered factor) |
W |
is a vector of weights |
20:20 ratio is calculated as follows:
Prop =\frac{H}{L}
where H
is share of 20% of the highest values,
L
is share of 20% of the lowest values.
The value of 20:20 ratio coefficient.
Panel Data Econometrics: Theoretical Contributions And Empirical Applications edited by Badi Hani Baltag
Notes on Statistical Sources and Methods - The Equality Trust.
# Compare weighted and unweighted result
X=1:10
W=1:10
Prop20_20(X)
Prop20_20(X,W)
data(Tourism)
#Prop20_20 proportion for Total expenditure with sample weights
X=Tourism$Total_expenditure
W=Tourism$Sample_weight
Prop20_20(X,W)