Package: mhpfilter 1.0.0
mhpfilter: Modified and Fully Modified Hodrick-Prescott Filters
Decomposes macroeconomic time series into trend and cycle with the Hodrick-Prescott (HP) filter and two data-driven versions of it. The modified HP filter of McDermott (1997), assessed by Choudhary, Hanif and Iqbal (2014) <doi:10.1080/00036846.2014.894631>, chooses the smoothing parameter of every series by generalised cross-validation (as described in Coe and McDermott (1997) <doi:10.2307/3867497>). The fully modified HP filter of Hanif, Iqbal and Choudhary (2017, State Bank of Pakistan Working Paper 88) also reduces the end-point bias of the HP filter: it raises the smoothing parameter at the first and last observations, with linear or quadratic weights chosen to minimise the loss of Bloechl (2014, University of Munich Discussion Paper 2014-1). Every filter is a banded linear solve, so the searches are fast; batch processing of many series, comparisons of the filters, the filter weights, gain functions and end-point loss, simulation of trend-plus-cycle series and the power comparison of the paper, 'ggplot2' graphics, a plain-language interpretation of every result and a built-in 'shiny' application.
Authors:
mhpfilter_1.0.0.tar.gz
mhpfilter_1.0.0.zip(r-4.7-x86_64)mhpfilter_1.0.0.zip(r-4.7-arm64)mhpfilter_1.0.0.zip(r-4.6-x86_64)mhpfilter_1.0.0.zip(r-4.6-arm64)mhpfilter_1.0.0.zip(r-4.5-x86_64)
mhpfilter_1.0.0.tgz(r-4.6-x86_64)mhpfilter_1.0.0.tgz(r-4.6-arm64)mhpfilter_1.0.0.tgz(r-4.5-x86_64)mhpfilter_1.0.0.tgz(r-4.5-arm64)
mhpfilter_1.0.0.tar.gz(r-4.7-arm64)mhpfilter_1.0.0.tar.gz(r-4.7-x86_64)mhpfilter_1.0.0.tar.gz(r-4.6-arm64)mhpfilter_1.0.0.tar.gz(r-4.6-x86_64)
mhpfilter_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mhpfilter/json (API)
| # Install 'mhpfilter' in R: |
| install.packages('mhpfilter', repos = c('https://myaseen208.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/myaseen208/mhpfilter/issues
Pkgdown/docs site:https://myaseen208.com
- us_macro - United States real GDP, consumption and investment, 1959 to 2009
Last updated from:c3b04c2257. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 168 | ||
| linux-devel-x86_64 | OK | 175 | ||
| source / vignettes | OK | 284 | ||
| linux-release-arm64 | OK | 165 | ||
| linux-release-x86_64 | OK | 174 | ||
| macos-release-arm64 | OK | 219 | ||
| macos-release-x86_64 | OK | 271 | ||
| macos-oldrel-arm64 | OK | 210 | ||
| macos-oldrel-x86_64 | OK | 357 | ||
| windows-devel-arm64 | OK | 475 | ||
| windows-devel-x86_64 | OK | 245 | ||
| windows-release-arm64 | OK | 452 | ||
| windows-release-x86_64 | OK | 209 | ||
| windows-oldrel-x86_64 | OK | 196 | ||
| wasm-release | OK | 100 |
Exports:batch_comparefmhp_batchfmhp_comparefmhp_filterfmhp_simulationget_gcvget_lambdahp_filterhp_gainhp_losshp_schedulehp_weightsmhp_appmhp_app_objectmhp_batchmhp_citemhp_comparemhp_designsmhp_filtermhp_interpretmhp_notationmhp_referencemhp_savemhp_simulatemhp_themeplot_batchplot_comparison
Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppArmadillorlangS7scalesvctrsviridisLitewithr
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
Last update: 2026-11-06
Started: 2026-11-06
