Hodrick-Prescott Filter
by Wilmer Henao
17 Sep 2003
(Updated 18 Sep 2003)
Finds the Hodrick-Prescott filter of a series.
|
Watch this File
|
| File Information |
| Description |
This m-file finds the Hodrick-Prescott filtered series of any trendy time series; H-P is widely known in econometrics and can be used to analyse the trends and volatility of the series.
This version uses sparse matrices, this approach increases speed and performance and allows working with several time series simultaneously. The option 'makeplot' plots every time series introduced against its filtered counterpart and the output desvabs gives a "measure" of the volatility.
Download and type Help hpfilter for more details
Inspired in hpfilter by Ivailo Izvorski and Gauss code by Ken Matheny |
| Acknowledgements |
This file inspired
Analyze Fex Download Data.
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (9) |
| 21 Sep 2008 |
amira sultan
|
|
|
| 21 Sep 2008 |
amira sultan
|
|
|
| 16 Jul 2005 |
HP Filter
|
|
|
| 06 Jul 2005 |
fatima zahra taouss
|
|
|
| 15 Jun 2004 |
Jürgen Raue
|
|
|
| 17 May 2004 |
Kurt Annen
|
|
|
| 04 Dec 2003 |
Nadir Yigitcanoglu
|
|
|
| 02 Oct 2003 |
cristiano angelis
|
|
|
| 02 Oct 2003 |
cristiano angelis
|
|
|
|
Contact us