linqsr(Y, id=NULL, weight=NULL, sort = NULL,
Dom = NULL, period=NULL, dataset = NULL,
alpha = 20, var_name="lin_qsr")data.table or variable name as character, column number or logical vector with only one TRUE value (length of the vector hdata.table 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.table 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.table or variable name as character, column number or logical vector with only one TRUE value (length of the vector hadata.table or variable names as character vector, column numbers or logical data.table or variable names as character, column numbers or logical vector (length of the data.table.data.table containing the estimated Quintile Share Ratio by G. Osier and Eurostat papers.data.table containing the linearized variables of the Quintile Share Ratio by G. Osier paper.incPercentile, varpoord, vardcrospoor, vardchangespoordata(eusilc)
dati <- data.table(IDd=1:nrow(eusilc),eusilc)
# Full population
dd <- linqsr(Y="eqIncome", id="IDd", weight="rb050",
Dom=NULL, dataset= dati, alpha=20)
dd$value
# By domains
dd <- linqsr(Y="eqIncome", id="IDd", weight="rb050",
Dom="db040", dataset= dati, alpha=20)
dd$valueRun the code above in your browser using DataLab