Computational Order Statistics

Using mathStatica [1], Rose and Smith [2] illustrate the automated derivation of the exact density of order statistics obtained from a random sample of size n on a continuous random variable. This article illustrates the new functionality in mathStatica to allow for discrete random variables. Moreover, by building on the new Piecewise capability in Mathematica, we are able to further generalise to the case of non-identically distributed random variables, thereby providing a completely flexible solution.