Learn R Programming

ACV – package for optimal out-of-sample forecast evaluation and testing under stationarity

Package ACV (short for Affine Cross-Validation) offers an improved time-series cross-validation loss estimator which utilizes both in-sample and out-of-sample forecasting performance via a carefully constructed affine weighting scheme. Under the assumption of stationarity, the estimator can be shown to be the best linear unbiased estimator of the out-of-sample loss. Besides that, the package also offers improved versions of Diebold-Mariano and Ibragimov-Muller tests of equal predictive ability which deliver more power relative to their conventional counterparts. For more information, see the accompanying article “Optimal Out-of-Sample Forecast Evaluation Under Stationarity” by Filip Staněk.

Copy Link

Version

Install

install.packages('ACV')

Monthly Downloads

302

Version

1.0.2

License

GPL (>= 3)

Maintainer

Filip Stanek

Last Published

April 5th, 2022

Functions in ACV (1.0.2)

estimateL

Estimate out-of-sample loss
shiftMatrix

Construct shift matrix
tsACV

Perform time-series cross-validation
testL

Test equality of out-of-sample losses of two algorithms
estimateLongRunVar

Estimate long-run variance
infoPhi

Recover information about Phi
print.testL

Printing method for class "testL"
estimateRho

Estimate rho coefficient
print.estimateL

Printing method for class "estimateL"