Factors affecting female participation in education in seven developing countries