MAE {DiceEval} | R Documentation |
Mean Absolute Error
Description
The mean of absolute errors between real values and predictions.
Usage
MAE(Y, Ypred)
Arguments
Y |
a real vector with the values of the output |
Ypred |
a real vector with the predicted values at the same inputs |
Value
a real which represents the mean of the absolute errors between the real and the predicted values:
where denotes the points of the experimental design,
the output of the computer code and
the fitted model.
Author(s)
D. Dupuy
See Also
other quality criteia as RMSE
and RMA
.
Examples
X <- seq(-1,1,0.1)
Y <- 3*X + rnorm(length(X),0,0.5)
Ypred <- 3*X
MAE(Y,Ypred)
[Package DiceEval version 1.6.1 Index]