question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scipy 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:closed
  • Created 3 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mdhabercommented, Mar 11, 2021

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.

0reactions
mdhabercommented, Jul 26, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found