Description Usage Arguments Value References Examples
Optimisation of a parametric Lorenz curve for several functional forms and several areas
1 | run_optim_LC(ID, income_cum, population_cum, function_form)
|
ID |
vector of ID area |
income_cum |
numeric, vector of cumulaive income shares |
population_cum |
numeric, vector of cumulative population shares |
function_form |
string, functional form in "KP", "RGKO", "ARNOLD", "CHOTIKAPANICH", "SARABIA", "ORTEGA" and "ROHDE" |
A dataframe with the functional forms, the parameters, the value of the NLS and the Chi-squared statistic.
Belz (2019), Estimating Inequality Measures from Quantile Data https://halshs.archives-ouvertes.fr/halshs-02320110
1 2 3 | 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")
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.