Advanced Search
MyIDEAS: Login to save this software component or follow this series

Matlab code for one-sided HP-filters

Contents:

Author Info

  • Alexander Meyer-Gohde

    (Humboldt University Berlin)

Abstract

This file contains two different Matlab implementations of one-sided HP-filters. The first is the Kalman implementation laid out by Stock, J.H. and M.W. Watson (1999, p. 301) ["Forecasting inflation," Journal of Monetary Economics, vol. 44(2), pages 293-335, October.] for the optimal one-sided analogue to the standard HP-filter. The second is a serial implementation explained, for example, by Mehra, Y.P. (2004, p. 7) ["The Output Gap, Expected Future Inflation and Inflation Dynamics: Another Look," The B.E. Journal of Macroeconomics, Berkeley Electronic Press.] that runs the standard HP-filter serially through time using only the data available at a particular point in time for calculating a trend value for that point in time. As a byproduct, a fast sparse-matrix implementation of the standard HP-Filter is included.

Download Info

If you experience problems downloading a file, check if you have the proper application to view it first. 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/meyer-gohde/One_Sided_HP_Filters.zip
File Function: program code
Download Restriction: none

Bibliographic Info

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

as in new window
Size:
Programming language: Matlab
Requires:
Date of creation: 2010
Date of revision:
Handle: RePEc:dge:qmrbcd:181

Contact details of provider:
Postal: P.O. Box 442, St. Louis, MO 63166
Fax: (314)444-8753
Web page: http://dge.repec.org/
More information through EDIRC

Related research

Keywords:

Lists

This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

Statistics

Access and download statistics

Corrections

When requesting a correction, please mention this item's handle: RePEc:dge:qmrbcd:181. See general information about how to correct material in RePEc.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christian Zimmermann).

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

If references are entirely missing, you can add them using this form.

If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.

Please note that corrections may take a couple of weeks to filter through the various RePEc services.