get_estimation_gpg: This function allows you to estimate the Gender Pay Wage Gap...

get_estimation_gpgR Documentation

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

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

Value

table

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


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


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