Forecast accuracy metrics
Usage
morie_ts_accuracy(forecast_mean, actual)
Arguments
- forecast_mean
Numeric vector of point forecasts.
- actual
Numeric vector of realised values (same length).
Value
Named numeric vector: RMSE, MAE, MAPE, ME.
Examples
morie_ts_accuracy(c(1, 2, 3), c(1.1, 1.9, 3.2))
#> RMSE MAE MAPE ME
#> 0.14142136 0.13333333 6.86802233 0.06666667