By sex

Let’s also produce visualization of ICT by gender with the confidence levels for our estimates.

As the data table and and graph show, there are wide disparities in the ICT skills across different countries by gender. Needs to be noticed, the parity ratio does not fall within the interval between 0.97 and 1.03, which means that for none of the 14 countries parity in ICT skills is achieved. Countries like DR Congo, Ghana, and Togo constitute top 3 of those where differences in ict skills by gender are particularly sharp.

Moreover, the disparities become wider when we shift to the group of children 15-18.

By education

ict_educ =   
  MICS6_srvyr %>%
  mutate(Education = case_when(welevel ==0 ~ "Pre-primary or none",
                               welevel ==1 ~ "Primary",
                               welevel ==2 ~ "JSS/JHS/Middle",
                               welevel ==3 ~ "SSS/SHS/ Secondary",
                               welevel ==4 ~ "Higher",
                               TRUE ~ as.character(NA))) %>%
  group_by(Country, Gender, Education) %>%
  summarise(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se")) %>%
  mutate(ICT = round(ICT*100, 1)) %>%
  select(-ICT_se) %>%  
  spread(Education, ICT) %>%
  mutate(`Disparity (Pre-primary or none/Higher)` = round(`Pre-primary or none`/`Higher`, 2)) %>%
  select(Country, Gender, `Pre-primary or none`, Primary, `JSS/JHS/Middle`, `SSS/SHS/ Secondary`, Higher, 
         `Disparity (Pre-primary or none/Higher)`)

datatable(ict_educ, extensions = 'Buttons', 
          options = list(
          dom = 'Bfrtip',
          pageLength = 15, #lengthMenu = c(5, 10, 14),
          buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))

By wealth

ict_wealth =   
  MICS6_srvyr %>%
  group_by(Country, Gender, Wealth) %>%
  summarise(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se")) %>%
  mutate(ICT = round(ICT*100, 1)) %>%
  select(-ICT_se) %>%
  arrange(Country, Gender) %>%
  spread(Wealth, ICT) %>%
  mutate(`Disparity (Poorest/Richest)` = round(Poorest/Richest, 2)) %>%
  select(Country, Gender, Poorest, Poor, Middle, Rich, Richest, `Disparity (Poorest/Richest)`) 

datatable(ict_wealth, extensions = 'Buttons', 
          options = list(
          dom = 'Bfrtip',
          pageLength = 15, #lengthMenu = c(5, 10, 14),
          buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))

By area

ict_area =   
  MICS6_srvyr %>%
  group_by(Country, Gender, Area) %>%
  summarise(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se")) %>%
  mutate(ICT = round(ICT*100, 1)) %>%
  select(-ICT_se) %>%
  spread(Area, ICT) %>%
  mutate(`Disparity (Rural/Urban)` = round(Rural/Urban, 2)) 

datatable(ict_area, extensions = 'Buttons', 
          options = list(
          dom = 'Bfrtip',
          pageLength = 14, lengthMenu = c(5, 10, 14),
          buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))

By computer possession

ict_comp =   
  MICS6_srvyr %>%
  group_by(Country, Gender,  Computer) %>%
  summarise(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se")) %>%
  mutate(ICT = round(ICT*100, 1)) %>%
  select(-ICT_se) %>%  
  drop_na(Computer) %>%
  spread(Computer, ICT) %>%
  mutate(`Disparity (No PC/Have PC)` = round(`No computer at home`/`Has computer at home`, 2)) 

datatable(ict_comp, extensions = 'Buttons', 
          options = list(
          dom = 'Bfrtip',
          pageLength = 14, lengthMenu = c(5, 10, 14),
          buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))

By disability

ict_dis =   
  MICS6_srvyr %>%
  mutate(disability = case_when(disability == 1 ~ "Has functional difficulty",
                                disability == 2 ~ "Has no functional difficulty")) %>%
  group_by(Country, disability) %>%
  summarise(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se")) %>%
  mutate(ICT = round(ICT*100, 1)) %>%
  drop_na(disability) %>%
  select(-ICT_se) %>%
  spread(disability, ICT) %>%
  mutate(`Disparity (Disable/Non-disable)` = round(`Has functional difficulty`/`Has no functional difficulty`, 2)) 

datatable(ict_dis, extensions = 'Buttons', 
          options = list(
          dom = 'Bfrtip',
          pageLength = 14, lengthMenu = c(5, 10, 14),
          buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))