Mean Absolute Percentage Error
Calculates weighted mean absolute percentage error of predicted values. The smaller, the better.
mape(actual, predicted, w = NULL, ...)
actual |
Strictly positive observed values. |
predicted |
Predicted values. |
w |
Optional case weights. |
... |
Further arguments passed to |
A numeric vector of length one.
mape(1:10, c(1:9, 12)) mape(1:10, c(1:9, 12), w = rep(1, 10)) mape(1:10, c(1:9, 12), w = 1:10)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.