Description Usage Arguments Value References See Also Examples
Computation of Theil'L index according to a functional form and its parameters
1 | compute_TL(function_form, par1, par2, par3 = NA, par4 = NA)
|
function_form |
string, functional form in "KP", "RGKO", "ARNOLD", "CHOTIKAPANICH", "SARABIA", "ORTEGA" and "ROHDE" |
par1 |
numeric, parameter of the functional form |
par2 |
numeric, parameter of the functional form |
par3 |
numeric, parameter of the functional form |
par4 |
numeric, parameter of the functional form |
The value of the Theil'L index according a functional form and its parameters
Belz (2019), Estimating Inequality Measures from Quantile Data https://halshs.archives-ouvertes.fr/halshs-02320110
compute_Gini
, compute_Pietra
, compute_TL
, compute_topshare
1 2 3 4 5 6 7 | data("tabulated_income")
LC_tabulated_income = run_compute_LC(ID=tabulated_income$ID, p=tabulated_income$prop_cum_population, bound_min = tabulated_income$bound_min, bound_max = tabulated_income$bound_max, nb = tabulated_income$prop_population, method = "CondExp")
Optim_LC = run_optim_LC(ID = unique(LC_tabulated_income$ID),income_cum = LC_tabulated_income$income_cum, population_cum=LC_tabulated_income$population_cum, function_form = c("KP", "RGKO", "ARNOLD", "CHOTIKAPANICH", "SARABIA", "ORTEGA", "ROHDE"))
Optim_LC
compute_TL(function_form = "KP", par1 = 1, par2 = 1.450156)
0.2109571
Optim_LC %>% ungroup() %>% rowwise() %>% mutate(TL = compute_TL(function_form, par1, par2, par3, par4)) %>% select(ID, function_form, TL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.