MWAPE: MWAPE - Multivariate Weighted Absolute Percentage Error

Description Usage Arguments Value Examples

View source: R/multivariateErrorMeasures.R

Description

Computes the multivariate WAPE based on the individual time series (according to:https https://arxiv.org/pdf/1905.03806.pdf)

Usage

1
MWAPE(X, X_hat)

Arguments

X
  • Target matrix (hxk) for k variables and forecasting horizon h

X_hat
  • Predicted matrix (hxk) for k variables and forecasting horizon h

Value

List containing:

Examples

1
2
3
4
5
6
X <- matrix(rnorm(100),10,10)
X_hat <- matrix(rnorm(100,mean=1),10,10)
results_list <- MWAPE(X,X_hat)
results_list$values_vec # For individual WAPEs vector
results_list$mean # For the mean of the individual WAPEs vector
results_list$article_ref # For the value computed according to the reference article

jdestefani/MEMTS documentation built on Dec. 20, 2021, 10:04 p.m.