ATA.Accuracy {ATAforecasting}R Documentation

Accuracy Measures for The ATAforecasting

Description

Returns ATA(p,q,phi)(E,T,S) applied to 'ata' object. Accuracy measures for a forecast model Returns range of summary measures of the forecast accuracy. If out.sample is provided, the function measures test set forecast accuracy. If out.sample is not provided, the function only produces training set accuracy measures. The measures calculated are:

Usage

ATA.Accuracy(object, out.sample = NULL, print.out = TRUE)

Arguments

object

An object of class ata is required.

out.sample

A numeric vector or time series of class ts or msts for out-sample.

print.out

Default is TRUE. If FALSE, summary of ATA Method's accuracy measures is not shown.

Value

Matrix giving forecast accuracy measures.

Author(s)

Ali Sabri Taylan and Hanife Taylan Selamlar

References

#'Hyndman RJ, Koehler AB (2006). “Another look at measures of forecast accuracy.” International Journal of Forecasting, 22(4), 679–688.

#'Hyndman RJ, Athanasopoulos G (2019). Forecasting: principles and practice. OTexts. https://otexts.com/fpp3/.

See Also

forecast, stlplus, stR, stl, decompose, tbats, seasadj.

Examples

trainATA <-  head(touristTR, 84)
testATA <- window(touristTR, start = 2015, end = 2016.917)
ata_fit <- ATA(trainATA, h=24, seasonal.test = TRUE, seasonal.model = "decomp")
ata_accuracy <- ATA.Accuracy(ata_fit, testATA)


[Package ATAforecasting version 0.0.60 Index]