Median Absolute Deviation (MAD) is a measure of variation used in a similar manner to the standard deviation. The MAD is more robust in the presence of outliers and does not require a Gaussian distribution.
In order to estimate the standard deviation for a Gaussian distribution the MAD can be multiplied by 1.4826
Syntax: |
---|
MedianAbsoluteDeviation( series, bars ) |
Parameter: |
Description: |
---|---|
bars |
The number of bars over which to find the median absolute deviation |
Returns: |
---|
The median absolute deviation over the specified number of bars. |
Example: |
---|
' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chart Display: |
Links: |
---|
See Also: |
---|
Edit Time: 9/26/2020 1:25:37 PM |
Topic ID#: 418 |