Equilibrium models with heterogeneous agents and aggregate uncertainty are difficult to analyze since policy functions and market prices depend on the cross-sectional distribution over agents' state variables which is generally a high-dimensional object. This paper develops and applies a general...