TSrepr (version 1.0.4)

mase: MASE

Description

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

Usage

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

Examples

Run this code
# NOT RUN {
mase(rnorm(50), rnorm(50), rnorm(50))

# }

Run the code above in your browser using DataLab