Tukey: Create a Tukey distribution

View source: R/Tukey.R

TukeyR Documentation

Create a Tukey distribution

Description

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

Usage

Tukey(nmeans, df, nranges)

Arguments

nmeans

Sample size for each range.

df

Degrees of freedom.

nranges

Number of groups being compared.

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.

Value

A Tukey object.

See Also

Other continuous distributions: Beta(), Cauchy(), ChiSquare(), Erlang(), Exponential(), FisherF(), Frechet(), GEV(), GP(), Gamma(), Gumbel(), LogNormal(), Logistic(), Normal(), RevWeibull(), StudentsT(), Uniform(), Weibull()

Examples


set.seed(27)

X <- Tukey(4L, 16L, 2L)
X

cdf(X, 4)
quantile(X, 0.7)

alexpghayes/distributions documentation built on Feb. 10, 2024, 9:50 a.m.