TSrepr (version 1.0.4)

smape: sMAPE

Description

The smape computes sMAPE (Symmetric Mean Absolute Percentage Error) of a forecast.

Usage

smape(x, y)

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Value

the numeric value in %

Examples

Run this code
# NOT RUN {
smape(runif(50), runif(50))

# }

Run the code above in your browser using DataLab