Gender inequality index ranking

The data is from UNDP Gender Inequality Index, but there are 33 countries not listed due to the partial missing value. Overall, there is no one country achieving gender equality so far, but the Gender Inequality Index value of Europe and Central Asia Countries are lower than others (0.256). The Sub-Saharan Africa is the highest with the Value of 0.570.

library(readxl)
X2_GII <- read_excel("2 GII.xlsx")
library(plotly)
P1 <- X2_GII %>%
plot_geo(locations = ~IOS3,
         color = ~GIIV,
         z = ~GIIV) %>%
 layout(title = "Top 3 are European Countries", 
        geo = list(showland = FALSE,
                    showcountries = TRUE,
                    projection = list(type = 'orthographic',
                                      rotation = list(lon = -30,
                                                      lat = 9,
                                                      roll = 0)))) %>%
  colorbar(title = "Gender Inequality Index Value")

P1

The distribution of education coverage rate

Based on the current result, the world average percentage of education coverage including the secondary education is 61.45%, the three Region of reaching to this value are Europe, North America and South/Latin America (64.19%, 67.15%, 68.95%) respectively.

I choose boxplot to show the distribution of Education Coverage Rate by region and sort them in the descending order, because boxplot can show us more holistic information like the min, max and median. Since this data set has many countries missing and I categorized them into each region manually in order to have a categorical variable, but it is unfair to judge a region based on partial available value, therefore the region range should be taken into consideration. Besides, the median value is not equal to the mean value, I add the point to highlight the mean value respectively, to better make comparsion with world average value.

library(readxl)
X2_GII <- read_excel("2 GII.xlsx")
library(ggplot2)
library(plotly)
library(dplyr)
library(tidyverse)
library(forcats)

W_avg <- X2_GII %>%
  summarize(avg = mean(SEDF, na.rm = T)) %>%
  pull(avg)

P3 <- ggplot(X2_GII, 
       aes(x = fct_reorder(Region, SEDF,.desc = TRUE), 
           y = SEDF,
           color = Region)) + 
  coord_flip()+
  scale_color_viridis_d()+
  geom_boxplot()+
  stat_summary(fun = mean, 
               geom = "point", 
               size = 2)+
  geom_hline(
   aes(yintercept = W_avg), 
   color = "gray69", 
   size = 0.6) +
  theme_classic()+
  labs(title ="Only Three Regions' Education Coverage Rate reach to the World Average",
       size = 5,
       x = " ",
       y = "(Secondary) Education Coverage Rate")
ggplotly(P3)

How education affects the adolescent birth rate

This is to show the relationship between education rate and the adolescent birth rate. From the following graph, we can draw a conclusion that education rate is associate with the adolescent birth rate. The general trend is the adolescent birth rate decreased, with the education rate increasing. Every country should keep investing in education, including secondary education.

Based on the map of general GII ranking, I realize the region disproportion. Therefore, I use facet_wrap to demonstrate each region trend, and surprisingly to find the similar patterns.

library(ggplot2)
setwd("~/Desktop")
library(readxl)
X2_GII <- read_excel("2 GII.xlsx")
library(plotly)
P9 <- ggplot(X2_GII,
       aes(x = SEDF,
           y = ABR,
           color = Region))+
  geom_jitter()+
  geom_smooth()+
  facet_wrap(~Region)+
  scale_color_viridis_d()+
  theme_classic()+
  labs(title = "Higher the education rate, lower the adolescent birth rate",
       size = "20",
       x = "(Secondary) Education Coverage Rate",
       y = "Adolescent Birth Rate",
       caption = "(Adolescent Birth Rate refer to: the number of births to women ages 15–19 per 1,000 women ages 15–19) ")+
  coord_cartesian(xlim =c(0, 100), ylim = c(0, 200))
ggplotly(P9)

How education affects female labour force participation rate

I use the same logic to create the graph to examine the relationship between education coverage rate and female labour force participation rate, but seemingly, there is no correlation. The possible explanation is that the work women currently participated doesn’t require education completion? Since there is no further classification about the area of labour force, we can’t tell which type of work women are involved in most, comparing with men.

(Hope to have your suggestions.)

library(ggplot2)
setwd("~/Desktop")
library(readxl)
X2_GII <- read_excel("2 GII.xlsx")
library(plotly)
P8 <- ggplot(X2_GII,
       aes(x = SEDF,
           y = LFRF,
           color = Region))+
  geom_jitter()+
  geom_smooth()+
  facet_wrap(~Region)+
  scale_color_viridis_d()+
  theme_classic()+
  labs(title = "Maybe No Correlation?",
       size = "20",
       x = "(Secondary) Education Coverage Rate",
       y = "Female labour force participation rate")+
  coord_cartesian(xlim =c(0, 100), ylim = c(0, 100))
ggplotly(P8)

Data Source: http://hdr.undp.org/en/content/gender-inequality-index-gii