Relative absolute error
Defined as sum_of_absolute_errors / mean_absolute_deviation. Undefined for single instances and when every truth value is identical. In this case the output will be NA.
RAE(truth, response)
truth |
[numeric] vector of true values |
response |
[numeric] vector of predicted values |
n = 20 set.seed(123) truth = rnorm(n) response = rnorm(n) RAE(truth, response)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.