Using Parallelization to Solve a Macroeconomic Model: A Parallel Parameterized Expectations Algorithm

Solving nonlinear macroeconomic models with rational expectations can be time-consuming. This paper shows how the parameterized expectations algorithm (PEA) can be parallelized to reduce the time needed to solve a simple model by more than 80%. The general idea of using parallelization applies naturally to other algorithms, as well. This paper is illustrative of the speedup that can be obtained, and it provides computer code that may serve as an example for parallelization of other algorithms. For those who would like to use the parallelized PEA, the implementation does not confront end users with the details of parallelization. To solve a model, it is only necessary to provide ordinary serial code that simulates data from the model. All needed code is available, on a standalone basis, or pre-installed on ParallelKnoppix (Creel, J Appl Economet 22:215–223, 2007).