Description
Average the two signed errors for meanBias and their magnitudes for meanAbsoluteError.
Signed errors preserve direction while absolute or squared errors emphasize magnitude. Their gradients and small-residual approximations represent specific mathematical terms rather than complete performance evaluations.
Average the two signed errors for meanBias and their magnitudes for meanAbsoluteError.
When to use this tool
Use Forecast Bias Cancellation One Pair when you need an explicit error, gradient, or local loss component.
How to use the tool and how it works
- Enter firstError, secondError. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read meanBias, meanAbsoluteError, cancelled. Use the output convention below.
Average the two signed errors for meanBias and their magnitudes for meanAbsoluteError. Return MAE minus abs(meanBias) as cancelled.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstError | First Error | Required. Finite number. |
| secondError | Second Error | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| meanBias | Mean Bias | Required. Finite number. |
| meanAbsoluteError | Mean Absolute Error | Required. Finite number. |
| cancelled | Cancelled | Required. Finite number. |
{
"input": {
"firstError": 3,
"secondError": -5
},
"output": {
"meanBias": -1,
"meanAbsoluteError": 4,
"cancelled": 3
}
} Limitations and assumptions
- Use matching units; this illustrates cancellation in one pair rather than estimating population bias or significance.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Assess a full error distribution and keep the sign and aggregation conventions consistent across models.
References
Similar or alternative tools
- Metrics: Forecast Error Sign Convention
Subtract actual from forecast for forecast-minus-actual, or reverse the subtraction for actual-minus-forecast.
- Metrics: Forecast Error Underprediction Weight
Use residual = actual minus forecast.