Learn R Programming

ech (version 0.1.3)

get_estimation_gpg: This function allows you to estimate the Gender Pay Wage Gap (GPG)

Description

This function allows you to estimate the Gender Pay Wage Gap (GPG)

Usage

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

Value

table

Arguments

data

data.frame

variable

Variable name of total income per hour

e26

Variable name of sex

by

data frame column

ids

Variable name of cluster

estrato

Variable name of strata

pesoano

Variable name of weights

stat

Media or Median

See Also

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

Examples

Run this code
# \donttest{
toy_ech_2018 <- labor_income_per_hour(data = ech::toy_ech_2018, base_month = 6, base_year = 2018)
get_estimation_gpg(data = toy_ech_2018, variable = "total_income_per_hour", e26 = "e26")
# }

Run the code above in your browser using DataLab