get_estimation_gpg.Rd
This function allows you to estimate the Gender Pay Wage Gap (GPG)
get_estimation_gpg(
data = ech::toy_ech_2018,
variable = "total_income_per_hour",
e26 = "e26",
by = NULL,
ids = NULL,
estrato = NULL,
pesoano = "pesoano",
stat = "media"
)
data.frame
Variable name of total income per hour
Variable name of sex
data frame column
Variable name of cluster
Variable name of strata
Variable name of weights
Media or Median
table
Other estimation:
get_estimation_gini()
,
get_estimation_mean()
,
get_estimation_median()
,
get_estimation_qsr()
,
get_estimation_ratio()
,
get_estimation_total()
,
set_design()
# \donttest{
toy_ech_2018 <- labor_income_per_hour(data = ech::toy_ech_2018, base_month = 6, base_year = 2018)
#> Variables have been created:
#> hours_per_month (Cantidad de horas trabajadas al mes en ocupacion principal) &
#> total_income_per_hour (Total de ingresos por trabajo por hora)
get_estimation_gpg(data = toy_ech_2018, variable = "total_income_per_hour", e26 = "e26")
#> value
#> 1 0.01808578
# }