{"title":"How to build and solve continuous-time heterogeneous agents models in asset pricing? The martingale approach and the finite difference method","authors":"Hamilton Galindo Gil","doi":"10.1016/j.jmateco.2024.103078","DOIUrl":null,"url":null,"abstract":"<div><div>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.</div></div>","PeriodicalId":50145,"journal":{"name":"Journal of Mathematical Economics","volume":"116 ","pages":"Article 103078"},"PeriodicalIF":1.0000,"publicationDate":"2025-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Mathematical Economics","FirstCategoryId":"96","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304406824001381","RegionNum":4,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ECONOMICS","Score":null,"Total":0}
引用次数: 0
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.
期刊介绍:
The primary objective of the Journal is to provide a forum for work in economic theory which expresses economic ideas using formal mathematical reasoning. For work to add to this primary objective, it is not sufficient that the mathematical reasoning be new and correct. The work must have real economic content. The economic ideas must be interesting and important. These ideas may pertain to any field of economics or any school of economic thought.