Studentized range distribution

From testwiki
Jump to navigation Jump to search

Template:Probability distribution 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 y¯min is the smallest of these sample means and y¯max is the largest of these sample means, and suppose s² is the pooled sample variance from these samples. Then the following statistic has a Studentized range distribution.

q=ymaxymins/n

Definition

Probability density function

Differentiating the cumulative distribution function with respect to q gives the probability density function.

fR(q;k,ν)=2πk(k1)νν/2Γ(ν/2)2(ν/21)0sνφ(νs)[φ(z+qs)φ(z)[Φ(z+qs)Φ(z)]k2dz]ds

Note that in the outer part of the integral, the equation

φ(νs)2π=e(νs2/2)

was used to replace an exponential factor.

Cumulative distribution function

The cumulative distribution function is given by [1]

FR(q;k,ν)=2πkνν/2Γ(ν/2)2(ν/21)0sν1φ(νs)[φ(z)[Φ(z+qs)Φ(z)]k1dz]ds

Special cases

If k is 2 or 3,[2] the studentized range probability distribution function can be directly evaluated, where φ(z) is the standard normal probability density function and Φ(z) is the standard normal cumulative distribution function.

fR(q;k=2)=2φ(q/2)
fR(q;k=3)=62φ(q/2)[Φ(q/6)12]

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φ(z)[Φ(z+q)Φ(z)]k1dz=k[Φ(z+q)Φ(z)]k1dΦ(z)

Applications

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.

Derivation

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 Template:Nowrap. 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 [[chi distribution|Template:Mvar distributed]]. By further integrating over s we can remove s as a parameter and obtain the re-scaled distribution in terms of q alone.

General form

For any probability density function fTemplate:Sub, the range probability density fTemplate:Sub is:[2]

fR(r;k)=k(k1)fX(t+12r)fX(t12r)[t12rt+12rfX(x)dx]k2dt

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=t12r is the low-end of the range, and define FTemplate:Sub as the cumulative distribution function of fTemplate:Sub, then the equation can be simplified:

fR(r;k)=k(k1)fX(u+r)fX(u)[FX(u+r)FX(u)]k2du

We introduce a similar integral, and notice that differentiating under the integral-sign gives

r[kfX(u)[FX(u+r)FX(u)]k1du]=k(k1)fX(u+r)fX(u)[FX(u+r)FX(u)]k2du

which recovers the integral above,Template:Efn so that last relation confirms

FR(r;k)=kfX(u)[FX(u+r)FX(u)]k1du=k[FX(u+r)FX(u)]k1dFX(u)

because for any continuous cdf

FR(r;k)r=fR(r;k)

Special form for normal data

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 fTemplate:Sub and FTemplate:Sub 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)=sk(k1)φ(u+sq)φ(u)[Φ(u+sq)Φ(u)]k2du

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 distributedTemplate:Efn and the [[chi distribution|distribution function fTemplate:Sub of the chi distribution]] is given by:

fS(s;ν)ds={νν/2sν1eνs2/22(ν/21)Γ(ν/2)dsfor 0<s<,0otherwise.

Multiplying the distributions fTemplate:Sub and fTemplate:Sub and integrating to remove the dependence on the standard deviation s gives the studentized range distribution function for normal data:

fR(q;k,ν)=νν/2k(k1)2(ν/21)Γ(ν/2)0sνeνs2/2φ(u+sq)φ(u)[Φ(u+sq)Φ(u)]k2duds

where

q is the width of the data range measured in standard deviations,
Template:Mvar is the number of degrees of freedom for determining the sample standard deviation,Template:Efn 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

eνs2/2=2πφ(νs)

to replace the exponential expression in the outer integral.

Notes

Template:Notelist

References

Template:Reflist

Further reading

  1. Template:Cite journal
  2. 2.0 2.1 Template:Cite journal
  3. Template:Cite web
  4. Pearson & Hartley (1970, Section 14.2)