Social and Economic Determinants of the Demand for Education