ForeComp: Size-Power Tradeoff Visualization for Equal Predictive Ability of Two Forecasts

Offers a set of tools for visualizing and analyzing size and power properties of the test for equal predictive accuracy, the Diebold-Mariano test that is based on heteroskedasticity and autocorrelation-robust (HAR) inference. A typical HAR inference is involved with non-parametric estimation of the long-run variance, and one of its tuning parameters, the truncation parameter, trades off a size and power. Lazarus, Lewis, and Stock (2021)<doi:10.3982/ECTA15404> theoretically characterize the size-power frontier for the Gaussian multivariate location model. 'ForeComp' computes and visualizes the finite-sample size-power frontier of the Diebold-Mariano test based on fixed-b asymptotics together with the Bartlett kernel. To compute the finite-sample size and power, it works with the best approximating ARMA process to the given dataset. It informs the user how their choice of the truncation parameter performs and how robust the testing outcomes are.

Version: 0.9.0
Depends: R (≥ 3.0.0), stats, astsa, forecast
Imports: ggplot2, rlang
Suggests: testthat (≥ 3.0.0)
Published: 2023-09-05
DOI: 10.32614/CRAN.package.ForeComp
Author: Nathan Schor [aut], Minchul Shin [aut, cre, cph]
Maintainer: Minchul Shin <visiblehand at gmail.com>
License: GPL (≥ 3)
URL: https://github.com/mcmcs/ForeComp
NeedsCompilation: no
Citation: ForeComp citation info
Materials: README NEWS
In views: TimeSeries
CRAN checks: ForeComp results

Documentation:

Reference manual: ForeComp.pdf

Downloads:

Package source: ForeComp_0.9.0.tar.gz
Windows binaries: r-devel: ForeComp_0.9.0.zip, r-release: ForeComp_0.9.0.zip, r-oldrel: ForeComp_0.9.0.zip
macOS binaries: r-release (arm64): ForeComp_0.9.0.tgz, r-oldrel (arm64): ForeComp_0.9.0.tgz, r-release (x86_64): ForeComp_0.9.0.tgz, r-oldrel (x86_64): ForeComp_0.9.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ForeComp to link to this page.