A measure of spread. Median Absolute Deviation. So the mad function is supposed to be a superior way to calculate a more accurate IQR. It's superior because it's more robust, which means it is more resistant to outliers.
I'm not sure yet what the advantages and use cases are of selecting IQR over mad and vice versa.
R Example
> mad(rivers)
[1] 214.977
No comments:
Post a Comment
Please help to combat malicious use of the Internet.