smape: Compute Symmetric Mean Absolute Percentage Error (SMAPE)

Description Usage Arguments Value Author(s) See Also

View source: R/smape.R

Description

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

Usage

1
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)

Author(s)

Michal Burda

See Also

rmse(), mase(), frbe()


beerda/lfl documentation built on Oct. 17, 2020, 8:57 p.m.