md_compute_pip_stats: Compute default PIP statistics

View source: R/md_compute_pip_stats.R

md_compute_pip_statsR Documentation

Compute default PIP statistics

Description

Compute poverty and distributional statistics for microdata.

Usage

md_compute_pip_stats(
  welfare,
  povline,
  population,
  requested_mean = NULL,
  popshare = NULL,
  default_ppp = 1,
  ppp = NULL
)

Arguments

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

Value

list


PIP-Technical-Team/wbpip documentation built on Nov. 29, 2024, 6:57 a.m.