CRAN/E | ForeComp

ForeComp

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

Installation

About

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.

Citation ForeComp citation info
github.com/mcmcs/ForeComp

Key Metrics

Version 0.9.0
R ≥ 3.0.0
Published 2023-09-05 240 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks ForeComp results

Downloads

Yesterday 4 0%
Last 7 days 56 +8%
Last 30 days 186 -1%
Last 90 days 535 -29%
Last 365 days 1.788

Maintainer

Maintainer

Minchul Shin

visiblehand@gmail.com

Authors

Nathan Schor

aut

Minchul Shin

aut / cre / cph

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-develnot available

x86_64

r-releasenot available

x86_64

r-oldrelnot available

x86_64

Depends

R ≥ 3.0.0
stats
astsa
forecast

Imports

ggplot2
rlang

Suggests

testthat ≥ 3.0.0