Learn R Programming

TSrepr (version 1.1.1)

smape: sMAPE

Description

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

Usage

smape(x, y)

Value

the numeric value in %

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Author

Peter Laurinec, <[email protected]>

Examples

Run this code
smape(runif(50), runif(50))

Run the code above in your browser using DataLab