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.