The mean absolute error (MAE) is a metric used to measure the accuracy of your regression model.
This calculator helps you find the MAE value. You need to provide the observed (actual) and predicted values, then click the ‘Calculate’ button:
MAE = 2.41667
The formula for calculating the MAE is as follows:
MAE = Σ|yi – ŷi| / n
Here, Σ
is the sum of values yi
is the observed value, ŷi
is the predicted value, n
is the number of observations.
To get the MAE value, you need to subtract the xᵗʰ
predicted value from each xᵗʰ
observed value, then absolute the difference. Once you do that for all observations, sum the absolute values and divide by the number of observations.
If you want to get the mean absolute percentage error instead, use the MAPE calculator.
I hope this calculator helps. Happy analyzing!