mase: MASE

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

The mase computes MASE (Mean Absolute Scaled Error) of a forecast.

Usage

1
mase(real, forecast, naive)

Arguments

real

the numeric vector of real values

forecast

the numeric vector of forecasted values

naive

the numeric vector of naive forecast

Value

the numeric value

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

Examples

1
mase(rnorm(50), rnorm(50), rnorm(50))

TSrepr documentation built on July 13, 2020, 9:07 a.m.