Learn R Programming

rtip (version 1.1.1)

mih: Mean income per household

Description

Estimates the mean income per household.

Usage

mih(dataset, hhcsw = "DB090", ehhs = "HX050", edi = "HX090", ci = NULL,
  rep = 1000, verbose = FALSE)

Arguments

dataset

a data.frame containing the variables.

hhcsw

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

ehhs

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

edi

a character string indicating the variable name of the equivalised disposable income (with the modified OECD scale). Default is "HX090".

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 make the confidence interval using boostrap technique.

verbose

logical; if TRUE the confidence interval is plotted.

Value

The value of mean income per household.

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

See Also

setupDataset.

Examples

Run this code
# NOT RUN {
data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT")
mih(ATdataset)

# }

Run the code above in your browser using DataLab