The genderstat
package provides tools for quantitative
analysis in gender studies, allowing researchers to calculate various
gender inequality metrics such as the Gender Pay Gap (GPG), Gender
Inequality Index (GII), Gender Development Index (GDI), and Gender
Empowerment Measure (GEM). This vignette will guide you through the
installation, data description, and usage of the functions included in
the package.
You can install the genderstat
package from CRAN using
the following command:
The package includes several datasets used for calculating gender inequality metrics. Below are the descriptions of each dataset:
This dataset contains observed values for analyzing the gender pay gap across different countries.
This dataset includes metrics for evaluating gender disparities in reproductive health, empowerment, and labor market participation.
This dataset contains values for the Gender Development Index, focusing on health, education, and economic resources.
The gender_pay_gap
function calculates the Gender Pay
Gap based on the provided dataset.
The gender_inequality_index
function computes the Gender
Inequality Index.
The gender_development_index
function calculates the
Gender Development Index.
In this case study, we analyze the gender pay gap across different
countries using the genderstat
package.
data(real_data_GPG)
gpg_results <- gender_pay_gap(real_data_GPG)
# Select top 5 countries with the highest Gender Pay Gap
top_5_gpg <- gpg_results[order(-gpg_results$gpg), ][1:5, ]
# Visualize the results
library(ggplot2)
ggplot(top_5_gpg, aes(x = reorder(country, gpg), y = gpg)) +
geom_bar(stat = "identity") +
coord_flip() +
labs(title = "Top 5 Countries with Highest Gender Pay Gap", x = "Country", y = "GPG (%)")
This case study evaluates the Gender Inequality Index for various countries.
data(real_data_GII)
gii_results <- gender_inequality_index(real_data_GII)
# Select bottom 5 countries with the lowest Gender Inequality Index
bottom_5_gii <- gii_results[order(gii_results$GII), ][1:5, ]
# Visualize the results
ggplot(bottom_5_gii, aes(x = reorder(country, GII), y = GII)) +
geom_bar(stat = "identity") +
coord_flip() +
labs(title = "Bottom 5 Countries with Lowest Gender Inequality Index", x = "Country", y = "GII")
The genderstat package provides a comprehensive set of tools for analyzing gender inequality metrics, making it easier for researchers to conduct gender-centric studies. By leveraging these tools, researchers can gain deeper insights into gender disparities and contribute to informed policy-making and advocacy efforts.