Free Access Week

Learn Python and AI for free! One week only. No credit card needed.

Ends in:


lfl (version 2.0)

smape: Compute Symmetric Mean Absolute Percentage Error (SMAPE)

Description

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

Usage

smape(forecast, validation)

Arguments

forecast

A numeric vector of forecasted values

validation

A numeric vector of actual (real) values

Value

A Symmetric Mean Absolute Percentage Error (SMAPE)

See Also

rmse(), mase(), frbe()