This image shows the mean absolute error formula.