Three Essays in the Economics of Education