qsr: Income quintile share ratio

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

View source: R/qsr.R

Description

Estimates the quintile share ratio of an income distribution. It is defined as the ratio of total income received by the 20 percent of the population with the highest income to that received by the 20 percent of the population with the lowest income.

Usage

1
2
qsr(dataset, ipuc = "ipuc", hhcsw = "DB090", hhsize = "HX040",
  ci = NULL, rep = 1000, verbose = FALSE)

Arguments

dataset

a data.frame containing the variables.

ipuc

a character string indicating the variable name of the income per unit of consumption. Default is "ipuc".

hhcsw

a character string indicating the variable name of the household cross-sectional weight. Default is "DB090".

hhsize

a character string indicating the variable name of the household size. Default is "HX040".

ci

a scalar or vector containing the confidence level(s) of the required interval(s). Default does not calculate the confidence interval.

rep

a number to do the confidence interval using boostrap technique.

verbose

logical; if TRUE the confidence interval is plotted.

Details

It is calculated using the equivalised disposable income. Two types of equivalence scales can be used, the modified OECD scale and the parametric scale of Buhmann et al. ( 1988). The default is the modified OECD scale (see setupDataset).

Value

The value of the income quintile share ratio.

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:Income_quintile_share_ratio

See Also

setupDataset

Examples

1
2
3
data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT")
qsr(ATdataset)

rtip documentation built on April 12, 2018, 5:04 p.m.