MMASE: MMASE - Multivariate Mean Absolute Scaled Error

Description Usage Arguments Value Examples

View source: R/multivariateErrorMeasures.R

Description

Computes the multivariate MASE as a mean of the MASEs of the individual time series

Usage

1
MMASE(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
X <- matrix(rnorm(100),10,10)
X_hat <- matrix(rnorm(100,mean=1),10,10)
results_list <- MMASE(X,X_hat)
results_list$values_vec # For individual MASEs vector
results_list$mean # For the mean of the individual MASEs vector

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