Computes the studentized midrange distribution (pdf, cdf and quantile) and generates random numbers.