Using Trends in International Mathematics and Science Study (TIMSS) data for Egypt in 2007, this paper examines the determinants and gender inequality of educational attainment (test scores in Mathematics and Science). The complicated structure of the data is carefully addressed during all...