Measuring the Cost of Misallocation of Investment in Education