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.
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')))
ict_wealth =
MICS6_srvyr %>%
group_by(Country, Gender, Wealth, Age_group) %>%
cascade(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se"), .fill = "Total") %>%
mutate(ICT = round(ICT*100, 1)) %>%
select(-ICT_se) %>%
filter(!Age_group %in% c("else")) %>%
spread(Wealth, ICT) %>%
select(-Total) %>%
mutate(`Disparity (Poorest/Richest)` = round(Poorest/Richest, 2)) %>%
select(Country, Gender, Age_group, Poorest, Poor, Middle, Rich, Richest, `Disparity (Poorest/Richest)`) %>%
drop_na()
datatable(ict_wealth, extensions = 'Buttons',
options = list(
dom = 'Bfrtip',
pageLength = 15, #lengthMenu = c(5, 10, 14),
buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))
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')))
ict_comp =
MICS6_srvyr %>%
group_by(Country, Gender, Computer, Age_group) %>%
cascade(ICT = survey_mean(ICT_combined, na.rm = T, vartype = "se"), .fill = "Total") %>%
mutate(ICT = round(ICT*100, 1)) %>%
select(-ICT_se) %>%
drop_na(Computer) %>%
filter(!Age_group %in% c("else") & Gender != "Total") %>%
spread(Computer, ICT) %>%
select(-Total) %>%
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')))
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')))