smaape | R Documentation |
Scaled Mean Arctangent Absolute Percentage Error
smaape(x, y)
x |
[numeric()] [vector()] actual values |
y |
[numeric()] [vector()] forecast values |
[numeric()] scaled mean arctangent absolute percentage error
Kim and Kim 2016 doi.org/10.1016/j.ijforecast.2015.12.003
x <- rnorm(100, 0, 1)
y1 <- x
smaape(x, y1)
y2 <- rep(mean(x), length(x))
smaape(x, y2)
smaape(c(x, NA), c(y1, NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.