powered by
Tukey's studentized range distribution, used for Tukey's honestly significant differences test in ANOVA.
dist_studentized_range(nmeans, df, nranges)
sample size for range (same for each group).
degrees of freedom for \(s\) (see below).
number of groups whose maximum range is considered.
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.
stats::Tukey
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