How to solve a model with heterogeneous agents?

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

How to solve a model with heterogeneous agents?

Postby superztt » Sun May 03, 2015 10:58 pm

I was wondering if Dynare itself can solve a model with a distribution of heterogeneous agents, without the help of external files. If so, could you recommend an example to learn fro?

Say individual's state variable includes their wealth, like asset or capital holdings. And every agent faces a probability of dying. So their assets evolve over time. And their decision rules depend on assets, maybe in a non-linear way. I notice there are some coded purely in dynare but focused on the aggregate variables. If I want to track individual's behaviour, how can I do it? Sorry for an abstract description.
superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: How to solve a model with heterogeneous agents?

Postby jpfeifer » Tue May 05, 2015 3:54 pm

The general answer is: No. If there is heterogeneity, you need to become creative. You may want to take a look at the JEDC special issue at http://www.sciencedirect.com/science/journal/01651889/34/1. The Kim/Kollmann/Kim approach is easily implementable in Dynare.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: How to solve a model with heterogeneous agents?

Postby superztt » Sat May 09, 2015 4:48 am

I want to take a step back. How is heterogeneity defined? I am actually asking which aspect of heterogeneous agents makes it hard to solve the model. Except purely for tracking individuals' paths, is it because discontinuity in policy functions and law of motion, e.g. default, that also makes solving aggregate variables complicated?

jpfeifer wrote:The general answer is: No. If there is heterogeneity, you need to become creative. You may want to take a look at the JEDC special issue at http://www.sciencedirect.com/science/journal/01651889/34/1. The Kim/Kollmann/Kim approach is easily implementable in Dynare.
superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: How to solve a model with heterogeneous agents?

Postby jpfeifer » Sun May 10, 2015 2:20 pm

It's about whether aggregation is possible or not. If you cannot easily aggregate up, you need to keep track of the distribution (typically the wealth distribution). Distributions are infinite dimensional objects (you need all moments from 1 to infinity to fully characterize a distribution). Dealing with this infinite dimensional object is what makes it so hard.
In many representative agent models, there is a continuum of agents, but their consumption and thus wealth is perfectly insured via Arrow-Debreu securities. In this case, every agent will always have the same wealth at the end of the period, even if there are idiosyncratic shocks that only hit some agents. Take away complete markets and some agents will have positive shocks while other will have negative ones. In this case, they will choose different assets at the end of the period. You would need to keep track of this. If you only assume two types, this is doable. If there are infinitely many, it quickly becomes intractable.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests