Description Usage Arguments See Also Examples
mase
computes the mean absolute scaled error between two numeric
vectors. This function is only intended for time series data, where
actual
and numeric
are numeric vectors ordered by time.
1 | mase(actual, predicted, step_size = 1)
|
actual |
The ground truth numeric vector ordered in time, with most recent observation at the end of the vector. |
predicted |
The predicted numeric vector ordered in time, where each element
of the vector represents a prediction for the corresponding
element of |
step_size |
A positive integer that specifies how many observations to look back
in time in order to compute the naive forecast. The default is
However, if |
1 2 3 4 |
[1] 0.2777778
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.