eqSS: Equivalized household size

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

View source: R/eqSS.R

Description

Compute the equivalized household size according to the modified OECD scale adopted in 1994.

Usage

1
eqSS(hid, age, year = NULL, data = NULL)

Arguments

hid

if data=NULL, a vector containing the household ID. Otherwise a character string specifying the column of data that contains the household ID.

age

if data=NULL, a vector containing the age of the individuals. Otherwise a character string specifying the column of data that contains the age.

year

if data=NULL, a vector containing the year of the survey. Otherwise a character string specifying the column of data that contains the year.

data

a data.frame containing EU-SILC survey data, or NULL.

Value

A numeric vector containing the equivalized household size for every observation in data.

Author(s)

Andreas Alfons

References

Working group on Statistics on Income and Living Conditions (2004) Common cross-sectional EU indicators based on EU-SILC; the gender pay gap. EU-SILC 131-rev/04, Eurostat.

See Also

eqInc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(eusilc)

# calculate equivalized household size
eqSS <- eqSS("db030", "age", data=eusilc)

# combine with household ID and household size
tmp <- cbind(eusilc[, c("db030", "hsize")], eqSS)

# show the first 8 rows
head(tmp, 8)

laeken documentation built on Oct. 6, 2021, 5:07 p.m.