# Projections Parameterized Expectations Algorithms (Gauss)

*Christian Haefke* ()

QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles

**Abstract:**
These programs use the techniques described in Ken Judd's 1992 "Journal of Economic Theory" article to solve the standard growth model using parameterized expectations. Another good reference for the solution methods used in these programs is the working paper "Algorithms for Solving Dynamic Models with Occasionally Binding Constraints" by Larry Christiano and Jonas Fisher. All algorithms have the following properties. 1. They use the tensor method to approximate the conditional expectation with orthogonal Chebyshev polynomials. 2. The coefficients of the approximating function are such that they minimize the distance between the approximating function and the numerically calculated conditional expectation at a set of grid points. 3. The grid points are Chebyshev nodes. 4. The numerical integration procedure used to calculate the conditional expectation is Hermite Gaussian Quadrature. In my experience it is easier to obtain an accurate solution fast with quadrature methods than with Monte Carlo methods. 5. The "iterative" programs iterate on a projection procedure to find the coefficients of the approximating function. 6. The "equation-solver" programs use a nonlinear equation solver to find the value of the coefficients at which the approximating function equal the numerically calculated conditional expectation. The included files are: "Iterative" PEA program (peaproi1.prg), "Equation-Solver" PEA program (peapro1.prg), Procedures to run GAUSS programs (pealib.src).

**Language:** GAUSS

**Date:** 1998-11

**References:** Add references at CitEc

**Citations:** Track citations by RSS feed

**Downloads:** (external link)

http://dge.repec.org/codes/haefke/gauss/ program code (application/x-gauss)

none

**Related works:**

This item may be available elsewhere in EconPapers: Search for items with the same title.

**Export reference:** BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text

**Persistent link:** https://EconPapers.repec.org/RePEc:dge:qmrbcd:68

Access Statistics for this software item

More software in QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles Contact information at EDIRC.

Bibliographic data for series maintained by Christian Zimmermann ().