linarpr(Y, id,
weight = NULL,
Y_thres = NULL,
wght_thres = NULL,
sort = NULL,
Dom = NULL,
period = NULL,
dataset = NULL,
percentage = 60,
order_quant = 50,
var_name = "lin_arpr")
data.frame
or variable name as character, column number or logical vector with only one TRUE
value (length of the vector hdata.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 ondata.frame
or variable name as character, column number or logical vector with only one TRUE
value (lendata.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.data.table
containing the estimated at-risk-of-poverty rate (in percentage).data.table
containing the linearized variables of the at-risk-of-poverty rate (in percentage).linarpt
, varpoord
, vardcrospoor
, vardchangespoor
data(eusilc)
dati <- data.frame(IDd = 1:nrow(eusilc), eusilc)
# Full population
d <- linarpr(Y="eqIncome", id="IDd", weight="rb050", Dom=NULL,
dataset=dati, percentage=60, order_quant=50)
d$value
# By domains
dd <- linarpr(Y="eqIncome", id="IDd", weight="rb050", Dom="db040",
dataset=dati, percentage=60, order_quant=50)
Run the code above in your browser using DataLab