![]() Volume 9, Issue 4 Articles Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
Computational Order Statistics
4. Extensions and Forthcoming FeaturesThus far, this article has assumed that we are dealing with samples of iid variables. In this section, we take the major step of relaxing these assumptions. The generalisation to non-identical distributions is an enormously flexible and powerful capability. To do so, we require the new Piecewise functionality found in Mathematica 5.1 or later. In the examples that follow, we provide an illustration/preview of this new functionality as already implemented in the developmental version of mathStatica and which will be available in its next public release. Non-Identical ParametersLet
Then, the pdf of the minimum order statistic (in, say, a sample of size 4) is:
The pdf of the next largest order statistic,
Non-Identical DistributionsNext, let us suppose we have three completely different distributions defined over three different domains of support. In the following,
We can now solve completely general questions. For example, let us suppose we have a random sample of size
The output can be viewed in the electronic version of this notebook. This same technology provides a neat way to solve problems such as finding the pdf of
with domain of support:
Here is a plot of the pdf we have just derived:
Figure 7. We can easily 'check' our solution using Monte Carlo methods. Here are 100,000 pseudorandom drawings from each of the three distributions:
Next, we create 100,000 samples of size 3 containing one drawing from each of the three distributions, and then map the Min function across each sample, generating our 100,000 empirical drawings of the sample minimum:
Figure 8 compares the empirical pdf (---) of the data we have just generated with the theoretical pdf (---) derived earlier:
Figure 8. Independence Relaxed, Identicality MaintainedThe distribution of an order statistic is derived as a many-to-one transformation from the joint distribution of
In the case of If the standard iid assumptions hold, then
If, for example, Just as identicality can be relaxed in many ways, so too can independence. To introduce a dependence structure, we may begin by rewriting (1) in its copula form
where the second line recognises that Tractable results can be obtained by assuming an Archimedean dependence structure for
where
where the denominator would be computed as per To illustrate, let
and cdf
and summarise our assumptions:
Enter the details for a particular case considered by Ballerini [12], namely, that of the Gumbel-Hougaard family of
Then, from (5), the pdf of
with domain of support:
Setting
Figure 9.
|
||||||||
About Mathematica | Download Mathematica Player © 2005 Wolfram Media, Inc. All rights reserved. |