Computing equilibria in dynamic stochastic macro-models with heterogeneous agents

INTRODUCTION Discrete-time, infinite-horizon, general equilibrium models are routinely used in macroeconomics and in public finance for exploring the quantitative features of model economies and for counterfactual policy analysis. With the development of powerful desktop computers, economists have started to use modern numerical methods for integration, interpolation, and for solving nonlinear systems of equations. Depending on the exact specification of the model – for example, whether there is one representative agent or several agents, whether agents are finitely lived or infinitely lived, or whether there is uncertainty in the model or not – there are various computational methods for approximating equilibria numerically. This paper focuses on computational methods for stochastic equilibrium models with heterogeneous agents and aggregate uncertainty where the welfare theorems fail and the equilibrium allocation cannot be decentralized by a simple (convex) social planner problem. These could be models with overlapping generations (as in, e.g., Krueger and Kubler, 2006; Favilukis et al., 2010; or Harenberg and Ludwig, 2014), models with heterogeneous producers (as in, e.g., Khan and Thomas, 2013 or Bloom et al., 2012), or models with infinitely lived heterogeneous consumers (as in, e.g, Bhandari et al., 2013; Brumm et al., 2015; Chien et al., 2011; Krueger et al., 2015; or McKay and Reis, 2013). There are many excellent surveys on the computation of equilibria in these models and we will discuss the most popular methods briefly below. Instead of comparing those methods in detail, the main part of this paper focuses on a particular high-performance computing (HPC) approach for solving models with large heterogeneity. This approach was first introduced in Brumm and Scheidegger (2017) and we will expand it in this paper to tackle models with overlapping generations and with idiosyncratic risk. Our approach makes use of two recent developments in scientific computing. First, advances in numerical analysis enable researchers to approximate very-high-dimensional functions. Employing standard discretization methods for the domain of such functions is computationally infeasible, as these approaches yield too many gridpoints at which the functions have to be evaluated.

[1]  S. Scheidegger,et al.  Using Adaptive Sparse Grids to Solve High-Dimensional Dynamic Models , 2017 .

[2]  P. Pichler Solving the multi-country real business cycle model using a monomial rule galerkin method , 2011 .

[3]  Viktor Winschel,et al.  Solving, Estimating, and Selecting Nonlinear Dynamic Models Without the Curse of Dimensionality , 2010 .

[4]  K. Schmedders,et al.  Collateral Requirements and Asset Prices , 2013, SSRN Electronic Journal.

[5]  Barbara I. Wohlmuth,et al.  Algorithm 847: Spinterp: piecewise multilinear hierarchical sparse grid interpolation in MATLAB , 2005, TOMS.

[6]  P Dirk Spatially Adaptive Renement , 2014 .

[7]  Chris I. Telmer,et al.  Asset Pricing with Idiosyncratic Risk and Overlapping Generations , 1999 .

[8]  Dirk Pflüger,et al.  Emerging Architectures Enable to Boost Massively Parallel Data Mining Using Adaptive Sparse Grids , 2013, International Journal of Parallel Programming.

[9]  Felix Kubler,et al.  Pareto Improving Social Security Reform When Financial Markets are Incomplete? , 2003 .

[10]  Hanno Lustig,et al.  The Market Price of Aggregate Risk and the Wealth Distribution , 2005 .

[11]  Eric R. Young Solving the incomplete markets model with aggregate uncertainty using the Krusell-Smith algorithm and non-stochastic simulations , 2010 .

[12]  K. Schmedders,et al.  Approximate versus Exact Equilibria in Dynamic Economies , 2005 .

[13]  Wilbur John Coleman Solving the Stochastic Growth Model by Policy-Function Iteration , 1990 .

[14]  Stephen E. Spear Existence and local uniqueness of functional rational expectations equilibria in dynamic economic models , 1988 .

[15]  M. Reiter Solving Heterogeneous-Agent Models by Projection and Perturbation , 2006 .

[16]  Xiang Ma,et al.  An adaptive high-dimensional stochastic model representation technique for the solution of stochastic partial differential equations , 2010, J. Comput. Phys..

[17]  Solving the incomplete markets model with aggregate uncertainty using parameterized cross-sectional distributions , 2010 .

[18]  Wouter J. den Haan,et al.  Solving the Incomplete Markets Model with Aggregate Uncertainty Using Explicit Aggregation , 2008 .

[19]  Michael Grill,et al.  Computing equilibria in dynamic models with occasionally binding constraints , 2010 .

[20]  Laurence J. Kotlikoff,et al.  Dynamic Fiscal Policy , 1988 .

[21]  Dirk Pflüger,et al.  Spatially Adaptive Sparse Grids for High-Dimensional Problems , 2010 .

[22]  Anthony A. Smith,et al.  INCOME AND WEALTH HETEROGENEITY, PORTFOLIO CHOICE, AND EQUILIBRIUM ASSET RETURNS , 1997, Macroeconomic Dynamics.

[23]  Lorenz T. Biegler,et al.  On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming , 2006, Math. Program..

[24]  Xiang Ma,et al.  An adaptive hierarchical sparse grid collocation algorithm for the solution of stochastic differential equations , 2009, J. Comput. Phys..

[25]  Bernard Dumas,et al.  Incomplete-Market Equilibria Solved Recursively on an Event Tree , 2008 .

[26]  Larry G. Epstein,et al.  Substitution, Risk Aversion, and the Temporal Behavior of Consumption and Asset Returns: A Theoretical Framework , 1989 .

[27]  Simon Scheidegger,et al.  Scalable high-dimensional dynamic stochastic economic modeling , 2015, J. Comput. Sci..

[28]  R. Barro Rare Disasters and Asset Markets in the Twentieth Century , 2006 .

[29]  Hans-Joachim Bungartz,et al.  Multivariate Quadrature on Adaptive Sparse Grids , 2003, Computing.

[30]  H. Rabitz,et al.  General foundations of high‐dimensional model representations , 1999 .

[31]  Jesús Fernández-Villaverde,et al.  Tapping the Supercomputer Under Your Desk: Solving Dynamic Equilibrium Models With Graphics Processors , 2010 .

[32]  Julia K. Thomas,et al.  Credit Shocks and Aggregate Fluctuations in an Economy with Production Heterogeneity , 2011, Journal of Political Economy.

[33]  Lilia Maliar,et al.  Solving the Multi-Country Real Business Cycle Model Using Ergodic Set Methods , 2010 .

[34]  Kenneth L. Judd,et al.  Projection methods for solving aggregate growth models , 1992 .

[35]  Felix Kubler,et al.  Advances in Economics and Econometrics: Computational Methods for Dynamic Equilibria with Heterogeneous Agents , 2003 .

[36]  Solving the incomplete markets model with aggregate uncertainty by backward induction , 2010 .

[37]  Wouter J. Den Haan,et al.  Solving and Simulating Models with Heterogeneous Agents and Aggregate Uncertainty , 2010 .

[38]  Felix Kubler,et al.  Computing equilibrium in OLG models with stochastic production , 2004 .

[39]  Per Krusell,et al.  Income and Wealth Heterogeneity in the Macroeconomy , 1998, Journal of Political Economy.

[40]  Eric M. Aldrich GPU Computing in Economics , 2013 .

[41]  Lilia Maliar,et al.  Numerical Methods for Large-Scale Dynamic Economic Models , 2014 .

[42]  W. D. Haan Comparison of Solutions to the Incomplete Markets Model with Aggregate Uncertainty , 2008 .

[43]  Lilia Maliar,et al.  Smolyak Method for Solving Dynamic Economic Models: Lagrange Interpolation, Anisotropic Grid and Adaptive Domain , 2013 .