mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-17 01:58:06 +00:00
Merge branch 'dev'
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
| **PineScript** | [mapd.pine](mapd.pine) |
|
||||
|
||||
- Mean Absolute Percentage Deviation (MAPD) measures the average absolute percentage difference between actual and predicted values, using the predic...
|
||||
- Parameterized by `period`.
|
||||
- Output range: $\geq 0$.
|
||||
- Requires 1 bar of warmup before first valid output (IsHot = true).
|
||||
- **Similar:** [MAPE](../mape/Mape.md), [WMAPE](../wmape/Wmape.md) | **Trading note:** Mean Absolute Percentage Deviation; total absolute error divided by total actual values.
|
||||
- Validated against TA-Lib, Skender, and Tulip reference implementations where available.
|
||||
|
||||
Mean Absolute Percentage Deviation (MAPD) measures the average absolute percentage difference between actual and predicted values, using the predicted value as the denominator. This is the key difference from MAPE, which uses the actual value.
|
||||
@@ -176,4 +174,4 @@ mapd.Update(200, 100); // |200-100|/100 = 100%
|
||||
* [MAPE](../mape/Mape.md) - Mean Absolute Percentage Error (divides by actual)
|
||||
* [SMAPE](../smape/Smape.md) - Symmetric Mean Absolute Percentage Error
|
||||
* [MPE](../mpe/Mpe.md) - Mean Percentage Error (signed)
|
||||
* [MAE](../mae/Mae.md) - Mean Absolute Error (same units)
|
||||
* [MAE](../mae/Mae.md) - Mean Absolute Error (same units)
|
||||
Reference in New Issue
Block a user