View source: R/compute_pip_stats.R
compute_pip_stats | R Documentation |
Compute poverty and distributional statistics for microdata.
compute_pip_stats(
welfare,
povline,
population = NULL,
requested_mean = NULL,
popshare = NULL,
default_ppp = 1,
ppp = NULL,
p0 = 0.5,
distribution_type = c("micro", "group", "aggregate", "imputed")
)
welfare |
numeric: A vector of income or consumption values |
povline |
numeric: Poverty line in international dollars |
population |
numeric: A vector of population weights, optional, a vector of 1s if not specified. |
requested_mean |
numeric: Welfare mean in international dollars |
popshare |
numeric: Share of population for which the corresponding quantile is desired. Default .5 (i.e., weighted median) |
default_ppp |
numeric: Default purchasing power parity |
ppp |
numeric: PPP requested by user |
p0 |
numeric: TO be documented |
distribution_type |
character: Type of distribution, either micro, group, aggregate or imputed. |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.