get_estimation_qsr {ech}R Documentation

This function allows you to estimate de Income Quintile Share Ratio

Description

This function allows you to estimate de Income Quintile Share Ratio

Usage

get_estimation_qsr(
  data = ech::toy_ech_2018,
  variable = "y_pc_d_r",
  by = NULL,
  ids = NULL,
  estrato = NULL,
  pesoano = "pesoano"
)

Arguments

data

data.frame

variable

Variable name of total income per hour

by

data frame column

ids

Variable name of cluster

estrato

Variable name of strata

pesoano

Variable name of weights

Value

table

See Also

Other estimation: get_estimation_gini(), get_estimation_gpg(), get_estimation_mean(), get_estimation_median(), get_estimation_ratio(), get_estimation_total(), set_design()

Examples


toy_ech_2018 <- income_constant_prices(data = ech::toy_ech_2018, index = "IPC", level = "R",
                                       base_month = "01", base_year = "2005")
get_estimation_qsr(data = toy_ech_2018, variable = "y_pc_d_r", pesoano = "pesoano")


[Package ech version 0.1.3 Index]