Description Usage Arguments Value
View source: R/decomp_dattRavallion.R
Makes a Lorenz Curve Function out of a income vector
1 | decomp_dattRavallion(z, mu0, mu1, lorenz0, lorenz1)
|
z |
A numeric income value representing the poverty line |
mu0 |
A numeric value for the mean of the group/time 0 |
mu1 |
A numeric value for the mean of the group/time 1 |
lorenz0 |
A vector valued function which takes cumulative probabilities as input and returns points at the Lorenz Curve for group/time 0 |
lorenz1 |
A vector valued function which takes cumulative probabilities as input and returns points at the Lorenz Curve for group/time 1 |
Returns a 1x5 tibble with: - p0_t0: Poverty rate (P0) for group/time 0 - p0_t1: Poverty rate (P0) for group/time 1 - growth: The difference in poverty rates due to the Growth Effect - redistr: The difference in poverty rates due to the Redistribution Effect - povertyDiff: The total difference in poverty rates between groups/times 0 and 1 (Growth Effect + Redistribution Effect).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.