It’s cool that ExpAsset has a kind of built-in graph interpolation, but I didn’t really understand its strengths and weaknesses until I started doing some experiments with it.
In this experiment, my ExpAsset accumulates contributions of income as well as earning interest, until agej==Jr, at which point the agent withdraws a constant value as a pension while still earning interest on the remaining asset value. I tuned it so that the corpus runs out around model age 79 (modeled age 98).
In this case, 81 grid points (solid blue line) is not enough to accurately trace the evolution of the value of the ExpAsset. But 301 is enough (solid red line, and also red circle line). Is it too much?
The solid blue line is just a graph of the Mean value of the Stationary Distribution (SD) when calculated with 81 grid points (linearly interpolated between -1 and 9 for this model). The blue circle line reads that stationary distribution, cherry-picking those mean values to construct a new a_grid. The idea is that rather than letting the SD do all the work interpolating between our naively chose values, we will carefully curate those values so that the SD probabilities are bang-on 100/0 instead of occasionally 50/50.
The result of this is that we can approximate (up though about age 75) the accuracy of a 301-point grid using only 81 points.
But more than that, consider the problem of computing meaningful Maximum and Minimum values. When the value function returns a value that splits a grid point 50/50, the subsequent period now has two grid points with equal probability. Those grid points might further diffuse the results. Gaussian statistics give us meaningful means, but the Minimum and Maximum values trace the outer edges of this diffusion process. In my experiments, it is typical for the Minimum value to drag down to the bottom of the graph after 8-12 periods (far fewer than by 81 period experiments). Similarly, the Maximum heads off to the top of the graph. Raising the ceiling is not very productive, as the diffusion process grows. Creating a large enough value to capture this supposed (and extremely unlikely) maximum means there’s no precision left over to see what’s happening closer to the mean.
However, when I apply this method of grid interpolation, the Maximum and Minimum values remain well-behaved until very much later. I have not yet done experiments with z and e shocks, which I expect will add some interesting wrinkles. True splitting of probabilities is a different behavior than the Gaussian diffusion I’m solving for. But it may help tame some statistics without resorting to very large grids.



