RMSE and MAE in the Target's Units

Taking the square root of mean squared error gives a quantity with the target's unit. Its emphasis on larger errors differs from mean absolute error.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace two residuals
  2. Decide which errors matter
  3. Compute both errors on one set of residuals
  4. Compare two prediction profiles at a shared scale

Trace two residuals

Absolute errors 0 and 4 give MAE two and RMSE \(\sqrt{8}\). Both summarize the same examples with different operations. See absolute and squared prediction loss.

Decide which errors matter

A task may need to report both typical absolute deviation and rare large deviations. Residual plots show where larger errors occur.[1][2]

Compute both errors on one set of residuals

Errors of zero, zero and six minutes give MAE two minutes. Their MSE is twelve square minutes, so RMSE is \(\sqrt{12}\) minutes, about 3.46. A large individual error raises RMSE more strongly. See worked absolute and squared loss.

Magnitudes: 0,0,6 → MAE 2
Squares: 0,0,36 → MSE 12
RMSE ≈ 3.46 minutes

Compare two prediction profiles at a shared scale

Errors two, two and two have the same MAE and RMSE two. Decide whether a metric's preference against large deviations matches the operational goal.

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩
  2. scikit-learn Developers, Metrics and Scoring: Quantifying the Quality of Predictions ↩