-
Notifications
You must be signed in to change notification settings - Fork 191
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
Quantile output not sorted #164
Comments
The difference is smaller than |
This is actually a problem in Base, particularly this line. I think we can fix this by changing
to
|
It's not a problem for my algorithm, but FWIW it originally happened on a dataset with more unique values than quantiles. I just trimmed it to file the issue. |
Fixes issue JuliaStats/StatsBase.jl#164, and another when `p < eps()`.
Thank you for the quick fix @simonbyrne and @andreasnoack |
Fixes issue JuliaStats/StatsBase.jl#164, and another when `p < eps()`.
Fixes issue JuliaStats/StatsBase.jl#164, and another when `p < eps()`.
On Julia 0.4.5 and the latest release of StatsBase:
The quantiles are:
Is that a bug, or is it a conscious decision to define "empty quantiles"?
The text was updated successfully, but these errors were encountered: