linarpt(Y,
id = NULL,
weight = NULL,
sort = NULL,
Dom = NULL,
period = NULL,
dataset = NULL,
percentage = 60,
order_quant=50,
var_name="lin_arpt")
data.frame
or variable name as character, column number or logical vector with only one TRUE
value data.frame
or variable name as character, column number or logical vector with only one TRUE
value (length of the vector has to be the same as data.frame
or variable name as character, column number or logical vector with only one TRUE
value (length of the vector has to be the same as the column data.frame
or variable name as character, column number or logical vector with only one TRUE
value (length of the vector hadata.frame
or variable names as character vector, column numbers as numeric vecdata.frame
or variable names as character, column numbers as numeric vector or logical vectodata.frame
.data.table
containing the estimated value of the quintile used for at-risk-of-poverty threshold estimation.data.table
containing the estimated at-risk-of-poverty threshold (in percentage).data.table
containing the linearized variables of the at-risk-of-poverty threshold (in percentage).linarpr
, incPercentile
, varpoord
, vardcrospoor
, vardchangespoor
data(eusilc)
dati <- data.table(IDd = 1:nrow(eusilc), eusilc)
# Full population
d1 <- linarpt(Y="eqIncome", id="IDd", weight = "rb050", Dom = NULL,
dataset = dati, percentage = 60, order_quant=50)
d1$value
# By domains
d2 <- linarpt(Y="eqIncome", id="IDd", weight = "rb050", Dom = "db040",
dataset = dati, percentage = 60, order_quant=50)
d2$value
Run the code above in your browser using DataLab