Norges Bank

Working Paper

Computing the distribution: Adaptive finite volume methods for economic models with heterogeneous agents

Author:
SeHyoun Ahn
Series:
Working Paper
Number:
10/2019

Solving economic models with heterogeneous agents requires computing aggregate dynamics consistent with individual behaviours. This paper introduces the finite volume method from the mathe-matics literature to enlarge the set of numerical methods available to compute dynamics in continuous time. Finite volume discretization methods allow theoretically consistent dimensional and local adaptivity that guarantee the mass conservation and positivity of the distribution function of the discretized system. This paper shows examples of 1) the Ornstein-Uhlenbeck process 2) the Aiyagari-Bewley-Huggett (wealth+income heterogeneity) model and 3) the lifecycle (wealth+income+age heterogeneity) model. The numerical exercises show that for the current dimensionality of the problems in economics, the finite volume method (with or without adaptivity) outperforms pre-existing methods. This paper further provides a companion open-source implementation of the finite volume method at github.com/sehyoun/adaptive_finite_volume to reduce the testing time of the finite volume method.

Norges Bank’s Working Papers present research projects and reports that are generally not in their final form. Other analyses by Norges Bank’s economists are also included in the series. The views and conclusions in these documents are those of the authors.

Norges Bank’s Working Papers can also be found in Norges Bank's publication archive, RepEc and BIS Central Bank Research Hub

ISSN 1502-8143 (online)

Published 13 June 2019 15:10
Published 13 June 2019 15:10