This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

OrderDistribution

OrderDistribution
represents the k^(th)-order statistics distribution for n observations from the distribution dist.
OrderDistribution
represents the joint ^(th)-order statistics distribution from n observations from the distribution dist.
  • OrderDistribution represents the distribution of the k^(th) element in the sorted list of n samples drawn from the parent distribution dist.
  • The distribution dist can be either a discrete or continuous distribution, but needs to be univariate.
Simple order distributions:
Order distribution of a single order statistic behaves like any other univariate distribution:
Joint order distribution of two or more order statistics works like any other multivariate distribution:
Simple order distributions:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Order distribution of a single order statistic behaves like any other univariate distribution:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
 
Joint order distribution of two or more order statistics works like any other multivariate distribution:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Compare the distribution of minimum and maximum from a normal sample:
Find the distribution of the k^(th)-order statistics in a normal sample of 10 elements:
Find probability density function:
Plot the PDF of the smallest, the seventh smallest, and the largest variable:
Quantile function:
Find the distribution of the maximum of independent discrete variables:
Probability density function:
Compare for different values of distribution parameter:
Find the median order statistic distribution:
Probability density function:
Mean and variance:
Find the joint distribution of the smallest and the largest elements:
Estimate the sample size:
Define the distribution of k^(th)-order statistics of ExponentialDistribution:
Probability density function:
Cumulative distribution function:
Distribution functions:
Find the distribution of the maximum of a sample of a continuous distribution:
Find the probability density function:
Plot the PDF for different sample sizes:
Find the distribution of the minimum in a sample from a discrete distribution:
Generate random numbers:
Compare with the PDF:
Find the k^(th)-order statistics of BinomialDistribution:
Find the probability density function:
Plot the PDF for the minimum, maximum, and the 4^(th)-order statistics:
Mean and variance for the 4^(th)-order statistics:
Skewness and kurtosis for the 4^(th)-order statistics:
Find the distribution of a maximum in a sample from SkellamDistribution:
Probability density function:
Quantile function:
Find the distribution of the maximum in a sample from a HistogramDistribution:
Probability density function:
Find the distribution of the k^(th)-order statistics from a SmoothKernelDistribution:
Compare the density functions for the minimum, the median, and the maximum:
Find the distribution of the minimum in a sample from an EmpiricalDistribution:
Cumulative distribution function:
Find the second largest order statistic from a TruncatedDistribution:
Cumulative distribution function:
Compare the PDFs of the order distribution and the truncated normal distribution:
Find the distribution of the maximum of the sample from a ParameterMixtureDistribution:
Compute probability density function:
Plot the PDF for different values of the parameter of the weight distribution:
Find the distribution of the middle element from a sample of 9 from a MixtureDistribution:
Compare probability density functions of mixture distribution and order distribution:
Compare means:
Find the distribution of a minimum from a TransformedDistribution:
Find the joined distribution of minimum and maximum from CensoredDistribution:
Find the distribution of a maximum from a MarginalDistribution:
BetaDistribution is the order distribution for UniformDistribution:
ExponentialDistribution is closed under Min:
FrechetDistribution is closed under Max:
GumbelDistribution is closed under Min:
ParetoDistribution is closed under Min:
SinghMaddalaDistribution is closed under Min:
WeibullDistribution is closed under Min:
GeometricDistribution is closed under Min:
Four six-sided dice are rolled. Find the expectation of the minimum value:
Find the expectation of the maximum value:
Find the expectation of the sum of the three largest values. Using the identity and linearity of Expectation you get:
A random sample of size 10 from a continuous distribution is sorted in ascending order. A new random variate is generated. Find the probability that the eleventh sample falls between the fourth and fifth smallest values in the sorted list:
The probability equals and is independent of k:
It is also independent of the distribution:
Compute a sample median expectation for ExponentialDistribution:
And when the sample is even:
Compute large approximations:
Compare with the population median:
Find the distribution of range in the size sample from an ExponentialDistribution:
Find the probability density function:
Compare it to the histogram, assuming a sample size of 6:
A new realization of random variate from ErlangDistribution is generated every minute. A record is said to occur if the value generated is larger than any prior realizations. Find the distribution of the value of the second record:
The first record necessarily occurs in the first minute. Given that the second record occurs on the ^(th) minute, its probability density is given by:
The probability for the second record to occur on the ^(th) minute is equal to the number of permutations with the first and last elements fixed and divided by the total number of permutations:
The density of interest is obtained by summing over :
Verify normalization for :
Compare the PDF of the second record with the PDF of the Erlang random variate:
Find the mean and standard deviation of the second record value:
Find the distribution of the largest element in a standard normal sample of size , where itself is a random number from a shifted GeometricDistribution with :
Find the probability density function:
Generate random numbers following this distribution:
Plot the density and compare it with the histogram:
Approximate the mean of the distribution:
Compare it with the sample mean:
A system is composed of three identical elements defined by the lifetime distribution. The system is said to have failed when two out of three components are down. Find the lifetime distribution of this system:
Compare the density function of the system with the density function of a component:
Find the mean lifetime of such a system:
Find the median lifetime:
OrderDistribution is the distribution of the RankedMin of a random sample:
Compare the histogram of the data with the PDF of the corresponding order distribution:
In particular the extreme cases correspond to Min and Max:
ExponentialDistribution is the limiting distribution of the where has a UniformDistribution:
Joint order distributions:
New in 8