| maape | R Documentation |
Given the observed and predicted values of numeric data computes the Mean Arctangent Absolute Percentage Error.
maape(observed, predicted, remove_na = TRUE)
observed |
( |
predicted |
( |
remove_na |
( |
Mean Arctangent Absolute Percentage Error is computed as:
where y_i is the observed value of element i, haty_i is the predicted value of element i and N is the total number of elements.
A single numeric value with the Mean Arctangent Absolute Percentage Error.
Other numeric_metrics:
mae(),
mse(),
nrmse(),
numeric_summary(),
pearson(),
r2(),
rmse(),
spearman()
## Not run:
set.seed(1)
x <- rnorm(100)
maape(x, x)
maape(x, x - 1)
maape(x, x + 10)
maape(x, x + 10)
maape(x, x + 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.