HOME

TheInfoList



OR:

In descriptive statistics, the range of a set of data is size of the narrowest interval which contains all the data. It is calculated as the difference between the largest and smallest values (also known as the sample maximum and minimum). It is expressed in the same units as the data. The range provides an indication of statistical dispersion. Closely related alternative measures are the Interdecile range and the
Interquartile range In descriptive statistics, the interquartile range (IQR) is a measure of statistical dispersion, which is the spread of the data. The IQR may also be called the midspread, middle 50%, fourth spread, or H‑spread. It is defined as the differen ...
.


Range of continuous IID random variables

For ''n'' independent and identically distributed continuous random variables ''X''1, ''X''2, ..., ''X''''n'' with the cumulative distribution function G(''x'') and a probability density function g(''x''), let T denote the range of them, that is, T= max(''X''1, ''X''2, ..., ''X''''n'')- min(''X''1, ''X''2, ..., ''X''''n'').


Distribution

The range, T, has the cumulative distribution function ::F(t)= n \int_^\infty g(x) (x+t)-G(x) \, \textx. Gumbel notes that the "beauty of this formula is completely marred by the facts that, in general, we cannot express ''G''(''x'' + ''t'') by ''G''(''x''), and that the numerical integration is lengthy and tiresome." If the distribution of each ''X''''i'' is limited to the right (or left) then the asymptotic distribution of the range is equal to the asymptotic distribution of the largest (smallest) value. For more general distributions the asymptotic distribution can be expressed as a Bessel function.


Moments

The mean range is given by ::n \int_0^1 x(G) ^-(1-G)^\,\textG where ''x''(''G'') is the inverse function. In the case where each of the ''X''''i'' has a standard normal distribution, the mean range is given by ::\int_^\infty (1-(1-\Phi(x))^n-\Phi(x)^n ) \,\textx.


Derivation of the distribution

Please note that the following is an informal derivation of the result. It is a bit loose with the calculation of the probabilities. Let m, M denote respectively the min and max of the random variables X_1 \dots X_n. The event that the range is smaller than T can be decomposed into smaller events according to: * the index of the minimum value * and the value x of the minimum. For a given index i and minimum value x, the probability of the joint event: # X_i is the minimum, # and X_i=x, # and the range is smaller than T, is: g(x) \left G(x+T) - G(x) \right Summing over the indices and integrating over x yields the total probability of the event: "the range is smaller than T" which is exactly the cumulative density function of the range: F(t) = n \int_^ g(x) \left (t+x)-G(x) \right \, \textx which concludes the proof.


The range in other models

Outside of the IID case with continuous random variables, other cases have explicit formulas. These cases are of marginal interest. * non-IID continuous random variables. * Discrete variables supported on \mathbb N. A key difficulty for discrete variables is that the range is discrete. This makes the derivation of the formula require
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
.


Related quantities

The range is a specific example of order statistics. In particular, the range is a linear function of order statistics, which brings it into the scope of L-estimation.


See also

* Interdecile range *
Interquartile range In descriptive statistics, the interquartile range (IQR) is a measure of statistical dispersion, which is the spread of the data. The IQR may also be called the midspread, middle 50%, fourth spread, or H‑spread. It is defined as the differen ...
* Studentized range


References

{{DEFAULTSORT:Range (Statistics) Statistical deviation and dispersion Scale statistics Summary statistics