# Resolved: how to calculate

Which are the formulas to calculate this errors?

1 answers ( 1 marked as helpful)

MAE = (1/n) Σ(i=1 to n) |y_i – ŷ_i|

where:

n is the number of observations in the dataset.

y_i is the true value.

ŷ_i is the predicted value.

MAPE = (1/n) Σ(i=1 to n) |[y_i – ŷ_i]/y_i|

where:

n is the number of observations in the dataset.

y_i is the true value.

ŷ_i is the predicted value.

RMSE = sqrt [(Σ(i=1 to n) (y_i – ŷ_i)²) / n]

where

where:

n is the number of observations in the dataset.

y_i is the true value.

ŷ_i is the predicted value.

I hope this helps.