mamse | R Documentation |
Mean Absolute Mean-Scaled Error
mamse(x, y)
x |
[numeric()][vector()] observed values |
y |
[numeric()][vector()] forecast values |
[numeric()] scalar
x <- rnorm(100, 0, 1)
y1 <- x
mamse(x, y1)
y2 <- rep(mean(x), length(x))
mamse(x, y2)
mamse(c(x, NA), c(y1, NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.