Order Statistics¶
Order Statistics¶
Let \(X_{1}, \ldots, X_{n}\) denote a random sample from a random variable \(X\) having a continuous distribution and a finite support \((a, b)\) where neither is infinite. Now, let \(Y_{1}, \ldots Y_{n}\) denote the arrangement of \(X_{i}\)s so that they are in ascending order, i.e., \(Y_{1} < \ldots < Y_{n}\). In this case, \(Y_{i}\) will denote the ith order statistic of \(X_{i}\).
The joint distribution of \(Y_{i}\)s is given by
To derive the above, consider that \(X_{i}\) take up the values \(y_{1}, \ldots, y_{n}\). This is so that the inequality order between the \(y_{i}\)s is always maintained. There are \(n!\) ways to assign an arrangement of \(y_{i}\)s to \(X_{i}\)s. Any such assignment will be of the form \(y_{i}\) = \(x_{j}\) such that there is a one to one mapping. This assignment/change of variables has a Jacobian of 1 (since the matrix contains only 1s and 0s, and we can rearrange the rows to get an identity matrix in the end).
So we simply sum up the pdfs of all such combinations in \(X_{i}\) to get the final pdf for \(Y_{i}\)s.
PDF of Any Order Statistic¶
We know that
is the cumulative function in the support \((a, b)\). \(F_{X}(x) = 0\) if \(x \leq a\) and \(F_{X}(x) = 1\) if \(b \geq x\). Also, we have
Now the marginal pdf of any \(Y_{k}\) is
we took out \(f_{X}(y_{k})\) since \(y_{k}\) only appears in the last integral. Also, carefully notice the order of the integral. We first integrate \(y_{n}, \ldots, y_{k+1}\) and then from \(y_{1}, \ldots y_{k-1}\). This ordering is important to simplify the integral. This further helps choose the right limits that respect the inequalities between the variables. For instance, the first integral \(y_{n}\) will go from \(y_{n-1}\) to \(b\) since \(Y_{n-1} < Y_{n}\) by definition. The next will be from \(y_{n-2}\) to \(b\) since \(Y_{n-2} < Y_{n-1}\) by definition, and we have already integrated \(y_{n}\) out so that the upper limit of the integral is \(b\).
Solution to the first few integrals
Solving all the integrals, we will get the formula
for \(a < y_{k} < b\) and zero otherwise.