arpt {laeken} | R Documentation |
At-risk-of-poverty threshold
Description
Estimate the at-risk-of-poverty threshold. The standard definition is to use 60% of the weighted median equivalized disposable income.
Usage
arpt(
inc,
weights = NULL,
sort = NULL,
years = NULL,
data = NULL,
p = 0.6,
na.rm = FALSE
)
Arguments
inc |
either a numeric vector giving the equivalized disposable income,
or (if |
weights |
optional; either a numeric vector giving the personal sample
weights, or (if |
sort |
optional; either a numeric vector giving the personal IDs to be
used as tie-breakers for sorting, or (if |
years |
optional; either a numeric vector giving the different years of
the survey, or (if |
data |
an optional |
p |
a numeric vector of values in |
na.rm |
a logical indicating whether missing values should be removed. |
Details
The implementation strictly follows the Eurostat definition.
Value
A numeric vector containing the value(s) of the at-risk-of-poverty threshold is returned.
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
arpr
, incMedian
,
weightedMedian
Examples
data(eusilc)
arpt("eqIncome", weights = "rb050", data = eusilc)