Tukey's studentized range distribution, used for Tukey's honestly significant differences test in ANOVA.

Tukey(nmeans, df, nranges)

Arguments

nmeans

Sample size for each range.

df

Degrees of freedom.

nranges

Number of groups being compared.

Value

A Tukey object.

Details

We recommend reading this documentation on https://alexpghayes.github.io/distributions3, where the math will render with additional detail and much greater clarity.

Support: \(R^+\), the set of positive real numbers.

Other properties of Tukey's Studentized Range Distribution are omitted, largely because the distribution is not fun to work with.

See also

Examples

set.seed(27) X <- Tukey(4L, 16L, 2L) X
#> Tukey distribution (nmeans = 4df = 16, nranges = 2)
cdf(X, 4)
#> [1] 0.7727647
quantile(X, 0.7)
#> [1] 3.556556