Tukey's studentized range distribution, used for Tukey's honestly significant differences test in ANOVA.
dist_studentized_range(nmeans, df, nranges)We recommend reading this documentation on pkgdown which renders math nicely. https://pkg.mitchelloharawild.com/distributional/reference/dist_studentized_range.html
In the following, let \(Q\) be a Studentized Range random variable with
parameters nmeans = \(k\) (number of groups), df = \(\nu\) (degrees
of freedom), and nranges = \(n\) (number of ranges).
Support: \(R^+\), the set of positive real numbers.
Mean: Approximated numerically.
Variance: Approximated numerically.
Probability density function (p.d.f): The density does not have a closed-form expression and is computed numerically.
Cumulative distribution function (c.d.f): The c.d.f does not have a
simple closed-form expression. For \(n = 1\) (single range), it involves
integration over the joint distribution of the sample range and an
independent chi-square variable. The general form is computed numerically
using algorithms described in the references for stats::ptukey().
Moment generating function (m.g.f): Does not exist in closed form.