View source: R/md_compute_poverty_stats.R
md_compute_poverty_stats | R Documentation |
Compute poverty statictics for microdata - replace old md_compute_poverty_stats
md_compute_poverty_stats(welfare, weight, povline_lcu)
welfare |
numeric: A vector of income or consumption values |
weight |
numeric vector with sample weights. Default is 1. |
povline_lcu |
numeric: Poverty line in Local Currency Unit (LCU). |
Given a vector of consumption or income values and their respective weights
md_compute_poverty_stats()
computes poverty headcount, poverty gap,
poverty severity and the watts index.
list
wbpip:::md_compute_poverty_stats(
welfare = 1:2000,
weight = rep(1, 2000),
povline_lcu = 10
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.