EconPapers    
Economics at your fingertips  
 

GAUSS code for the HP-filter reformulated as a constrained minimization problem

Albert Marcet and Morten Ravn

QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles

Abstract: This program computes the alternative version of the HP-filter proposed in 'The HP-filter in Cross-Country Comparisons'. The idea is to formulate the filter as a constrained minimization prblem and then impose the same constraint across countries. It could be used for the same purpose comparing different time periods as well. The Gauss programs should be relatively self-explanatory

Language: GAUSS
Date: 2001-09
References: Add references at CitEc
Citations:

Downloads: (external link)
https://dge.repec.org/codes/ravn/hpammr.prg program code (application/x-gauss)
none

Related works:
Working Paper: The HP-Filter in Cross-Country Comparisons (2004) Downloads
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:103

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 ().

 
Page updated 2025-03-19
Handle: RePEc:dge:qmrbcd:103