rmpg: Relative median at-risk-of-poverty gap

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/rmpg.R

Description

Estimates the relative median at-risk-of-poverty gap which is the difference between the at-risk-of-poverty threshold and the median equivalized disposable income of people below the at-risk-of-poverty threshold, expressed as a percentage of this threshold.

Usage

1
rmpg(dataset, arpt.value, ci = FALSE, rep = 1000, verbose = FALSE)

Arguments

dataset

a data.frame containing variables obtained by using the setupDataset function.

arpt.value

the at-risk-of-poverty threshold to be used (see arpt).

ci

logical; if TRUE, 95 percent confidence interval is given for the relative median at-risk-of-poverty gap.

rep

a number to do the confidence interval using boostrap technique.

verbose

logical; if TRUE the confindence interval is plotted.

Details

The equivalized disposable income is calculated using the standar equivalence scale called the modified OECD scale and recommended by Eurostat. The parametric scale of Buhmann et al. (1988) can also be used. The default is the modified OECD scale (see setupDataset).

Value

The value of the relative median at-risk-of-poverty gap.

Author(s)

A. Berihuete, C.D. Ramos and M.A. Sordo

References

B. Buhmann et al. (1988) Equivalence scales, well-being, inequality and poverty: sensitivity estimates across ten countries using the Luxembourg Income Study (LIS) database, Review of Income and Wealth, 34, 115–142.

http://ec.europa.eu/eurostat/statistics-explained/index.php/Glossary:Relative_median_at-risk-of-poverty_gap

See Also

arpt, setupDataset

Examples

1
2
3
data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT", s = "OECD")
rmpg(ATdataset,arpt.value = arpt(ATdataset))

AngelBerihuete/laeken2 documentation built on May 5, 2019, 6:02 a.m.