Description
Compute symmetric mean absolute percent error (sMAPE).
Usage
sMAPE.ts(actual, prediction)
Value
Numeric scalar with the sMAPE.
Arguments
- actual
Numeric vector of observed values.
- prediction
Numeric vector of predicted values.
Details
sMAPE = mean( |a - p| / ((|a| + |p|)/2) ), excluding zero denominators.