run_optim_LC: Optimisation of a parametric Lorenz curve for several...

Description Usage Arguments Value References Examples

View source: R/ineqQuantile.R

Description

Optimisation of a parametric Lorenz curve for several functional forms and several areas

Usage

1
run_optim_LC(ID, income_cum, population_cum, function_form)

Arguments

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"

Value

A dataframe with the functional forms, the parameters, the value of the NLS and the Chi-squared statistic.

References

Belz (2019), Estimating Inequality Measures from Quantile Data https://halshs.archives-ouvertes.fr/halshs-02320110

Examples

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"))

EnoraBelz/Inequality documentation built on Oct. 30, 2019, 5:37 p.m.