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

Provides same interface to studentized range distribution functions ([p/q]tukey) #66

Merged
merged 13 commits into from
Feb 4, 2019

Conversation

BioTurboNick
Copy link
Contributor

@BioTurboNick BioTurboNick commented Jan 25, 2019

To support an implementation of proposed StudentizedRange() in Distributions.jl.

The interface of the Rmath library is a bit different for the tukey functions than the others, with a parameter (nranges) set to 1 which isn't really explained by the R documentation. Thanks to the Rmath.jl package which showed me the right argument ordering.

All are a bit slower than the other distributions, ~1 order of magnitude.

Note: there is a case where the underlying ptukey and qtukey functions diverge with higher df/k and values closer to 0. This is documented as a broken test and with a special case in testing to avoid those values.

src/distrs/srdist.jl Outdated Show resolved Hide resolved
src/distrs/srdist.jl Outdated Show resolved Hide resolved
src/distrs/srdist.jl Outdated Show resolved Hide resolved
@simonbyrne simonbyrne merged commit b46dadc into JuliaStats:master Feb 4, 2019
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.

3 participants