Minimum and maximum for OnlineStats.OrderStats

Would these definitions make sense for OnlineStats.OrderStats from OnlineStats.jl?

Base.minimum(o::OrderStats) = minimum(o.ex)
Base.maximum(o::OrderStats) = maximum(o.ex)
Base.extrema(o::OrderStats) = extrema(o.ex)

Not meaning to be rude but the package’s GitHub is probably a better place to ask, isn’t it? You could simply open a PR and let the maintainers decide.

Or am I missing the point of your post?

I think this may be a more general statistics question. Does the concept of extrema make sense in terms of order statistics or is that an implementation detail?

I’m not a statistician and this concept is relatively new to me.

I did submit a pull request to OnlineStats.jl:

1 Like