Hodrick-Prescott Filter

版本 1.0.0.0 (2.0 KB) 作者: Wilmer Henao
Finds the Hodrick-Prescott filter of a series.
15.2K 次下载
更新时间 2003/9/18

查看许可证

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

引用格式

Wilmer Henao (2024). Hodrick-Prescott Filter (https://www.mathworks.com/matlabcentral/fileexchange/3972-hodrick-prescott-filter), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Digital Filter Analysis 的更多信息
致谢

启发作品: Analyze FEX download data

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0