smape: Mean Absolute Percentage Error

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/smape.R

Description

This criterion is frequently used in business forecasting. See Wikipedia article https://en.wikipedia.org/wiki/Symmetric_mean_absolute_percentage_error.

Usage

1
smape(yTest, yHat)

Arguments

yTest

test data

yHat

predictions of the test data

Details

tba

Value

mean percentage absolute errors

Author(s)

A. I. McLeod

See Also

gcv, mse, mape

Examples

1
smape(abs(rnorm(10)), rep(sqrt(2/pi),10))

gencve documentation built on May 29, 2017, 7:12 p.m.