get_estimation_qsr: This function allows you to estimate de Income Quintile Share...

get_estimation_qsrR 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")


calcita/ech documentation built on March 2, 2024, 7:54 a.m.