How is inequality in education calculated?

Inequality in the education dimension is approximated only by inequality in years of schooling of the adult population drawn from nationally representative household surveys.