Compute poverty statictics for microdata - replace old md_compute_poverty_stats
Details
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.
Examples
wbpip:::md_compute_poverty_stats(
welfare = 1:2000,
weight = rep(1, 2000),
povline_lcu = 10
)
#> $headcount
#> [1] 0.0045
#>
#> $poverty_gap
#> [1] 0.00225
#>
#> $poverty_severity
#> [1] 0.001425
#>
#> $watts
#> [1] 0.003960719
#>