Learn R Programming

distributional (version 0.2.1)

dist_studentized_range: The Studentized Range distribution

Description

stable

Usage

dist_studentized_range(nmeans, df, nranges)

Arguments

nmeans

sample size for range (same for each group).

df

degrees of freedom for \(s\) (see below).

nranges

number of groups whose maximum range is considered.

Details

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

We recommend reading this documentation on https://pkg.mitchelloharawild.com/distributional/, where the math will render nicely.

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

stats::Tukey

Examples

Run this code
# NOT RUN {
dist <- dist_studentized_range(nmeans = c(6, 2), df = c(5, 4), nranges = c(1, 1))

dist

cdf(dist, 4)

quantile(dist, 0.7)

# }

Run the code above in your browser using DataLab