Computes poverty and inequality statistics (grouped)
Source:R/gd_compute_pip_stats.R
gd_compute_pip_stats.Rd
Compute poverty statistics for grouped data by selecting the best functional fit for the Lorenz curve (either beta or quadratic).
Usage
gd_compute_pip_stats(
welfare,
povline,
population,
requested_mean,
popshare = NULL,
default_ppp = 1,
ppp = NULL,
p0 = 0.5
)
Arguments
- welfare
numeric: Cumulative proportion of welfare held by that proportion of the population (Lorenz Curve).
- povline
numeric: Poverty line.
- population
numeric: Cumulative proportion of population.
- requested_mean
numeric: Welfare mean.
numeric: Share of population living below the poverty line. Optional.
- default_ppp
numeric: Default purchasing power parity.
- ppp
numeric: PPP request by user.
- p0
numeric: TO BE DOCUMENTED.