In probability and statistics, studentized range distribution is the continuous probability distribution of the studentized range of an i.i.d. sample from a normally distributed population.
Suppose that we take a sample of size n from each of k populations with the same normal distribution N(μ, σ2) and suppose that
\bar{y}min
\bar{y}max
q=
\overline{y | |
max |
-\overline{y}min
Differentiating the cumulative distribution function with respect to q gives the probability density function.
fR(q;k,\nu)=
\sqrt{2\pi | |
k(k-1)\nu |
\nu/2
Note that in the outer part of the integral, the equation
\varphi(\sqrt{\nu}s)\sqrt{2\pi}=
-\left(\nus2/2\right) | |
e |
The cumulative distribution function is given by [1]
FR(q;k,\nu)=
\sqrt{2\pi | |
k\nu |
\nu/2
If k is 2 or 3,[2] the studentized range probability distribution function can be directly evaluated, where
\varphi(z)
\Phi(z)
fR(q;k=2)=\sqrt{2}\varphi\left(q/\sqrt{2}\right)
fR(q;k=3)=6\sqrt{2}\varphi\left(q/\sqrt{2}\right)\left[\Phi\left(q/\sqrt{6}\right)-\tfrac{1}{2}\right]
When the degrees of freedom approaches infinity the studentized range cumulative distribution can be calculated for any k using the standard normal distribution.
FR(q;k)=k
infty | |
\int | |
-infty |
\varphi(z)l[\Phi(z+q)-\Phi(z)r]k-1dz=k
infty | |
\int | |
-infty |
l[\Phi(z+q)-\Phi(z)r]k-1d\Phi(z)
Critical values of the studentized range distribution are used in Tukey's range test.[3]
The studentized range is used to calculate significance levels for results obtained by data mining, where one selectively seeks extreme differences in sample data, rather than only sampling randomly.
The Studentized range distribution has applications to hypothesis testing and multiple comparisons procedures. For example, Tukey's range test and Duncan's new multiple range test (MRT), in which the sample x1, ..., xn is a sample of means and q is the basic test-statistic, can be used as post-hoc analysis to test between which two groups means there is a significant difference (pairwise comparisons) after rejecting the null hypothesis that all groups are from the same population (i.e. all means are equal) by the standard analysis of variance.[4]
When only the equality of the two groups means is in question (i.e. whether μ1 = μ2), the studentized range distribution is similar to the Student's t distribution, differing only in that the first takes into account the number of means under consideration, and the critical value is adjusted accordingly. The more means under consideration, the larger the critical value is. This makes sense since the more means there are, the greater the probability that at least some differences between pairs of means will be significantly large due to chance alone.
The studentized range distribution function arises from re-scaling the sample range R by the sample standard deviation s, since the studentized range is customarily tabulated in units of standard deviations, with the variable . The derivation begins with a perfectly general form of the distribution function of the sample range, which applies to any sample data distribution.
In order to obtain the distribution in terms of the "studentized" range q, we will change variable from R to s and q. Assuming the sample data is normally distributed, the standard deviation s will be distributed. By further integrating over s we can remove s as a parameter and obtain the re-scaled distribution in terms of q alone.
For any probability density function f, the range probability density f is:[2]
fR(r;k)=
infty | |
k(k-1)\int | |
-infty |
fX\left(t+\tfrac{1}{2}r\right)fX\left(t-\tfrac{1}{2}r\right)\left[\intt-\tfrac{1{2}r}t+\tfrac{1{2}r}fX(x)dx\right]k-2dt
What this means is that we are adding up the probabilities that, given k draws from a distribution, two of them differ by r, and the remaining k - 2 draws all fall between the two extreme values. If we change variables to u where
u=t-\tfrac{1}{2}r
fR(r;k)=
infty | |
k(k-1)\int | |
-infty |
fX(u+r)fX(u)\left[FX(u+r)-FX(u)\right]k-2du
We introduce a similar integral, and notice that differentiating under the integral-sign gives
\begin{align} | \partial |
\partialr |
&\left[
infty | |
k\int | |
-infty |
fX(u)l[FX(u+r)-FX(u)r]k-1du\right]\\[5pt] ={}&
infty | |
k(k-1)\int | |
-infty |
fX(u+r)fX(u)l[FX(u+r)-FX(u)r]k-2du \end{align}
which recovers the integral above, so that last relation confirms
\begin{align} FR(r;k) &=k
infty | |
\int | |
-infty |
fX(u)l[FX(u+r)-FX(u)r]k-1du\\ &=k
infty | |
\int | |
-infty |
l[FX(u+r)-FX(u)r]k-1dFX(u) \end{align}
because for any continuous cdf
\partialFR(r;k) | |
\partialr |
=fR(r;k)
The range distribution is most often used for confidence intervals around sample averages, which are asymptotically normally distributed by the central limit theorem.
In order to create the studentized range distribution for normal data, we first switch from the generic f and F to the distribution functions φ and Φ for the standard normal distribution, and change the variable r to s·q, where q is a fixed factor that re-scales r by scaling factor s:
fR(q;k)=
infty | |
sk(k-1)\int | |
-infty |
\varphi(u+sq)\varphi(u)\left[\Phi(u+sq)-\Phi(u)\right]k-2du
Choose the scaling factor s to be the sample standard deviation, so that q becomes the number of standard deviations wide that the range is. For normal data s is chi distributed and the distribution function f of the chi distribution is given by:
fS(s;\nu)ds =\begin{cases} \dfrac{\nu\nu/2s\nu-1
-\nus2/2 | |
e |
}{2\left(\nu/2\Gamma(\nu/2)}ds&for0<s<infty,\\[4pt]0&otherwise. \end{cases}
Multiplying the distributions f and f and integrating to remove the dependence on the standard deviation s gives the studentized range distribution function for normal data:
fR(q;k,\nu)=
\nu\nu/2k(k-1) | |
2\left(\Gamma(\nu/2) |
infty | |
\int | |
0 |
s\nu
-\nus2/2 | |
e |
infty | |
\int | |
-infty |
\varphi(u+sq)\varphi(u)\left[\Phi(u+sq)-\Phi(u)\right]k-2duds
q is the width of the data range measured in standard deviations,
is the number of degrees of freedom for determining the sample standard deviation, and
k is the number of separate averages that form the points within the range.
The equation for the pdf shown in the sections above comes from using
-\nus2/2 | |
e |
=\sqrt{2\pi}\varphi(\sqrt{\nu}s)