> "Sometimes you need to know not just how wrong you are, but which direction you're wrong in."
Mean Error (ME), also known as Mean Bias Error, measures the average error between actual and predicted values while preserving the sign. Unlike MAE, ME reveals systematic bias in predictions: whether a model consistently over-predicts or under-predicts.
## Historical Context
ME is one of the fundamental error metrics in statistics and forecasting. While MAE and MSE focus on error magnitude, ME fills the critical role of detecting directional bias. A model could have low MAE but significant ME, indicating consistent over or under-prediction that cancels out when measuring magnitude alone.
## Architecture & Physics
ME preserves the sign of errors, allowing positive and negative errors to cancel each other. This makes it ideal for detecting systematic bias but unsuitable for measuring prediction accuracy alone.
### Properties
* **Can be negative**: ME can be positive, negative, or zero
* **Positive ME**: Model under-predicts (actual > predicted on average)
* **Negative ME**: Model over-predicts (actual < predicted on average)
* **Zero ME**: No systematic bias (but not necessarily accurate)
* **Same units**: ME is in the same units as the original data
* **Cancellation**: Errors can cancel out, hiding large individual errors
## Mathematical Foundation
### 1. Error Calculation
For each observation, calculate the signed difference between actual and predicted values: