Skip to content

fix #905: use the correct mad() normalization #949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aplavin
Copy link
Contributor

@aplavin aplavin commented Jan 29, 2025

Make mad() actually follow the definition of median absolute deviation as it is generally defined (eg https://en.wikipedia.org/wiki/Median_absolute_deviation, scipy, matlab, mathematica, ...).

Obviously breaking. Are there any other breaking fixes that could go into the next StatsBase version?

See #905, #97, #347 for more context.

@andreasnoack andreasnoack added the breaking A breaking change that needs a semver major release label Apr 29, 2025
@@ -1,7 +1,7 @@
name = "StatsBase"
uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
authors = ["JuliaStats"]
version = "0.34.4"
version = "0.35.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should really go to 1.0 next time we make a breaking release.

Suggested change
version = "0.35.0"
version = "1.0"

It would be good to check whether we want to make other breaking changes though (I don't have ideas off the top of my head).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A breaking change that needs a semver major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants