Simulation Methods

In many structural models, the likelihood or moment conditions cannot be computed in closed form because they involve high-dimensional integrals over unobserved heterogeneity, latent states, or expectations over future shocks. The savings model is a good example: even if we knew the true parameters, computing the likelihood of an observed consumption path requires integrating over sequences of income shocks. In these settings, simulation provides a way forward.

Example 1 Suppose you are estimating the savings model by matching mean assets at different ages over the life-cycle. Note that \(A_{t}\) depends on the sequence of realizations of the income shock \(\varepsilon_{s}\) for all perios \(s<t\). Assuming a discrete approximation to the income process, the numerical equivalent to the moment is:

\[ \mathbb{E}[A_{t}] = \sum_{\varepsilon_{1}^{t-1}\in\mathcal{E}^{t-1}}\pi(\varepsilon_1)\prod_{s=2}^{t=1}\pi(\varepsilon_{s}|\varepsilon_{s-1})A^*(\varepsilon_1,\varepsilon_2,...,\varepsilon_{t-1}) \]

where \(A^*\) indicates accumulated savings for the optimal savings policy under a particular guess of the model’s parameters. Notice that if we assume \(K_\varepsilon\) grid points for \(\varepsilon\), the number of sequences \(\varepsilon_{1}^{t-1}\) that we must sum over is \(K_{\varepsilon}^{t-1}\). For larger \(t\), this will be intractably large.

This part of the course covers three uses of simulation. In the first chapter we see how to approximate integrals by simulation and the consequences of doing so inside a likelihood. In the second chapter we study simulation-based estimators — the method of simulated moments (MSM) and indirect inference — which replace intractable analytical objects with simulation approximations, and we apply them to the savings model. In the third chapter we turn to a different use of simulation: the bootstrap, a resampling-based approach to inference that is particularly useful when analytical standard errors are difficult to derive.