While in affluent Western countries, girls are often ahead of boys in academic achievement, in poorer parts of the world, particularly sub-Saharan Africa, girls are much more likely to be missing out.