Projections Parameterized Expectations Algorithms (Matlab)
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.m), "Equation-Solver" PEA program (peapro1.m), Procedures to run MATLAB program (newpealib.zip, executable zip file for DOS, Win31, Win 95, Win98, & WinNT), Procedures to run MATLAB program (newpealib.tar, tar-archive for UNIX, decompress using tar -xvf newpealib.tar).
Language: Matlab
Date: 1998-11
References: Add references at CitEc
Citations:
Downloads: (external link)
https://dge.repec.org/codes/haefke/matlab/ program code (application/x-matlab)
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:69
Access Statistics for this software item
More software in QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles
Bibliographic data for series maintained by Christian Zimmermann ().