README.md

FORA: A package for time sereis forecast accuracy evaluation

The package FORA includes a set of functions to load data, to visualize forecast features and for making significant conclusion about difference between results obtained by user-defined forecasting models.The comparison performed according build-in error measures, such as common-used as well as advanced and stable measures.

Install from GitHub:

  install.packages("devtools")
  devtools::install_github("svcuonghvktqs/FORA")

To get help for the package:

  library(FORA)
  help(package = "FORA")

Set of functions:

Function for forecast data visualization:

Function time sereis forecast accuracy evaluation

Usage

Prediction-Realization Diagram for the given data from dataset:

# plotPRD(df, useLogs = FALSE, xlim = NULL, ylim = NULL)
# examples:
library(forecast)
plotPRD(df = FORAYearForecast)

1

Boxplot of Absolute Percentage errors:

# boxplotAPEs(df, useLogs = NULL, notch = FALSE, limits = NULL, showOutliers = NULL)
# example:
boxplotAPEs(FORAYearForecast)

2

Time sereis forecast accuracy evaluation:

# calculateMAEs(frame, sort = FALSE)
calculateMAEs(frame = FORAYearForecast)

4 5 3

calculateAvgRelMAEs(frame = FORAYearForecast, frame2 = FORAYearSeries)

6 7 8

calculateGMRAEs(frame = FORAYearForecast, benchmark_method = "NAIVE2")

9 10 11



svcuonghvktqs/FORA documentation built on May 20, 2019, 9:57 a.m.