Skip to content
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

updated documentation of mean_and_std and mean_and_var ... #607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zierenberg
Copy link

... but there remains an inconsistency that should be rather addressed now than postponed.

I did this pull request to show the changes (and the additional confusion) that would be necessary in my eyes to resolve the inconsistent default value for corrected in mean_and_var(x) [default corrected=true consistent with Statistics.std(x)] and mean_and_var(x,w) [default corrected=false consistent with StatsBase.std(x,w) which is however deprecated].

Also, I hope that the code update is adequate because I did not figure out how to test the docstring properly [thankful for easy to reproduce advice].

I personally would not accept the pull request, but I would rather stimulate discussion about whether it is the right time to make a breaking release and resolve the deprecated behavior in StatsBase. But this is obviously not my decision to make.

…ins an inconsistency that should be rather addressed now than postponed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant