How to build and solve continuous-time heterogeneous agents models in asset pricing? The martingale approach and the finite difference method
Hamilton Galindo Gil
Journal of Mathematical Economics, 2025, vol. 116, issue C
Abstract:
This paper serves as a tutorial, offering a step-by-step guide for building and numerically solving a preference-heterogeneous agent model in asset pricing. Using a three-stage framework, we clarify the modeling and solution process through a detailed example. Within this framework, we demonstrate how to apply the finite difference method with implicit and upwind schemes to solve the partial differential equation for stock prices, thereby deriving the optimal portfolio, equilibrium asset prices, and their volatility. Additionally, we explore other contexts where this numerical method can be applied, including models with preference heterogeneity using dynamic programming, external habits, and incomplete markets with income heterogeneity and recursive utility. We also address practical considerations in its implementation. This paper does not cover models that incorporate both aggregate and idiosyncratic risks.
Keywords: Heterogeneous agents; Preferences; Asset pricing; Martingale; Finite difference; Continuous time (search for similar items in EconPapers)
JEL-codes: G11 G51 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0304406824001381
Full text for ScienceDirect subscribers only
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:eee:mateco:v:116:y:2025:i:c:s0304406824001381
DOI: 10.1016/j.jmateco.2024.103078
Access Statistics for this article
Journal of Mathematical Economics is currently edited by Atsushi (A.) Kajii
More articles in Journal of Mathematical Economics from Elsevier
Bibliographic data for series maintained by Catherine Liu ().