Estimating Heterogeneous Economies with Micro Data