This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

Matlab Code for Solving Linear Rational Expectations Models

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Christopher Sims (Princeton University)

Additional information is available for the following registered author(s):

Abstract

A computationally robust solution method for linear rational expectations models is displayed, based on the QZ matrix decomposition. Any rational expectations model, in continuous or discrete time, can be solved by this approach. It requires that the model be cast into first-order form, but it does not require that it be reduced so that the number of states matches the number of equations. It also avoids the artificial requirement that variables be designated as "jump" variables or not. (Instead, how expectational error terms enter the system must be specified - a more general specification.) The code automatically determines whether the model satisfies conditions for existence and uniqueness. Two matlab files, gensys.m and gensysct.m, analyze linear rational expectations systems and return solutions for their dependence on exogenous disturbances. The systems need not have non-singular lead matrices (coefficients on current variables in discrete time, on derivatives in continuous time) and they need not be well-specified. The program analyzes them to determine whether solutions exist and whether they are unique. It returns a solution even when it is not unique, and it returns a solution that constrains exogenous variable behavior when no solution that does not do so exists. The continuous time program, unlike the discrete time program, handles only the case of serially uncorrelated exogenous processes. The files qzdiv.m, qzdivct.m, and qzswitch.m are required by the gensys.m programs. If you try to implement the algorithm in non-Matlab languages, you will need to find or write a routine that does the complex QZ (or generalized Schur) decomposition. Fortran routines that do this are available in the ACM algorithm files.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://dge.repec.org/codes/sims/linre3a/
File Format: application/x-matlab
File Function: program code
Download Restriction: none

Publisher Info
Software component provided by Quantitative Macroeconomics & Real Business Cycles in its series QM&RBC Codes with number 11.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
Size:
Programming language: Matlab
Requires:
Date of creation: 22 Jul 2001
Date of revision:
Handle: RePEc:dge:qmrbcd:11

Contact details of provider:
Postal: 341 Mansfield Road/U-63, Storrs, Connecticut 06269-1063
Phone: (860) 486-4889
Fax: (860) 486-4463
Web page: http://dge.repec.org/
More information through EDIRC

For technical questions regarding this item, or to correct its listing, contact: (Christian Zimmermann).

Related research
Keywords:

Other versions of this item:

This item is featured on the following reading lists:
  1. Top 1‰ items by number of citations weighted by recursive impact factors and discounted by age
Cited by:
(explanations, Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.)
This item has more than 25 citations. To prevent cluttering this page, these citations are listed on a separate page.
Statistics
Access and download statistics

Did you know? You can create a compilation of all publications of a group of people, say alumni of a program, your students or memers of an association.

This page was last updated on 2009-11-8.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.