Modified z-score
See original GitHub issueScipy has stats.median_abs_deviation
implemented, which means this supports non-parametric/‘median-stack’ stats. There is stats.zscore
, which is mean-std stack. This feature would be very helpful when working with skewed data or data with outliers.
I’m just wondering if we could have modified z-score with median and median abs deviation implemented?
I am happy to work on this if maintainer would approve. Suggestion on how to implement is appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
What is a Modified Z-Score? (Definition & Example) - Statology
A modified z-score is more robust because it uses the median to calculate z-scores as opposed to the mean, which is known to...
Read more >Anomaly detection by Z-Score and Modified Z-Score - Medium
The modified z-score tackles this problem by using medians instead: MAD stands for median absolute deviation from the median.
Read more >Modified Z-Score - Oracle Help Center
This method works well for skewed data or data that is not normally distributed & where the number of observations is less. MAD...
Read more >Modified Z Score to detect outliers with python code - YouTube
Modified Z score is used many times to detect outliers instead of simple Z score. In this video we will understand what exactly...
Read more >Modified Z Score Compared to Z Score for Detecting Outliers ...
This video compares the Z Score method of detecting outliers to the Modified Z Score method using Microsoft Excel. The Modified Z Score...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can, but you will still need to email the list at some point to see if adding the feature is desired. The order is up to you.
This needed an email to the mailing list to move forward. Since there are some reasons above not to add this, let’s close in the meantime. If anyone would like to champion this, to please send that email and lmk to re-open the issue. Thanks!