Skip to contents

The book's own warning is honoured: MAPE breaks down when an actual observation is zero, so zero actuals raise rather than silently returning infinity.

Usage

morie_mapets(y, yhat)

Arguments

y

observed values

yhat

forecasts

Value

list(mape, mdape, maxape, n)

Examples

if (morie_crypto_liboqs_available()) {
  V <- c(1, 2, 3, 4, 5, 6, 7, 8)
  morie_mapets(V, V)
}