Hi aledinola, yes this looks like my graph. Thanks for confirming my results
@jake88 FYI I did the “easy stuff”, i.e. increasing the number of grid points for assets and increasing the number of agents to simulate, but it didn’t change the results
@jake88 If you are interested in life-cycle models with health risk, I wrote a post here where I cite some recent papers
Thanks for these papers!
Did you have time to look into the simulations and understand why the graphs look so strange? Thanks for this
Hi @jake88, I haven’t really looked carefully at these codes since I am not really interested in this model… As a general suggestion when trying to understand why a code works (or does not work): you could first code up a simpler version that you understand well and gives expected results. Then, step-by-step, you can add features and debug them.
For example: this model has lots of types. Try using only two of them (men vs women) so that N_i=2 and see how it goes.
Hope this helps!
Thanks for your insights! I will have to simplify the model quite a bit, since now the simulations always return (almost) flat lines
I did a bit of improvement. Hopefully do more later this week. Not tried plotting yet, but getting close