Learn R Programming

lfl (version 2.2.0)

smape: Compute Symmetric Mean Absolute Percentage Error (SMAPE)

Description

SMAPE is computed as \(mean(abs(forecast - validation) / ((abs(forecast) + abs(validation)) / 2))\).

Usage

smape(forecast, validation)

Value

A Symmetric Mean Absolute Percentage Error (SMAPE)

Arguments

forecast

A numeric vector of forecasted values

validation

A numeric vector of actual (real) values

Author

Michal Burda

See Also

rmse(), mase(), frbe()