CoxianDistribution

CoxianDistribution[{α1,,αm-1},{λ1,,λm}]
represent an m-phase Coxian distribution with phase probabilities and rates .

DetailsDetails

  • An m-phase Coxian distribution can be interpreted as m sequential service phases with rates , where one continues to service phase i+1 with probability and finishes with probability .
  • The probability density for value and distinct rates is a linear combination of exponentials for and zero for .
  • CoxianDistribution allows to be any positive number not greater than 1 and to be any positive real numbers.
  • CoxianDistribution can be used with such functions as Mean, CDF, and RandomVariate.

Background
Background

  • CoxianDistribution[{α1,,αm-1},{λ1,,λm}] represents a continuous statistical distribution defined over the interval , parameterized by two vectors and , and known as an -phase Coxian distribution. The parameters are called "phase probabilities" and have values in the interval , while the parameters are called "phase rates" and have positive real values. Together, these parameters determine the overall shape of the probability distribution function (PDF) and, depending on their values, the PDF may be monotonic decreasing or unimodal. In addition, the tails of the PDF are "thin" in the sense that the PDF decreases exponentially rather than decreasing algebraically for large values of . (This behavior can be made quantitatively precise by analyzing the SurvivalFunction of the distribution.) Random variables X satisfying are sometimes said to have a Coxian distribution of order .
  • While the foundations of Coxian distributions originate with the work of mathematician D. R. Cox in the 1950s, much of the current corpus of knowledge was established through work on generalizations of hyperexponential distributions dating from the 1980s. To be mathematically precise, a random variable X has a Coxian distribution of order if it starts in phase 1 and goes through no more than exponential phases where, for the ^(th) phase (which has mean length equal to ), X continues to phase i+1 with probability and finishes with probability . A number of real-world phenomena behave in a way naturally modeled by a Coxian distribution, including teletraffic in mobile cellular networks, durations of stay among patients in geriatric facilities, and queueing systems of various types.
  • RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from a Coxian distribution. Distributed[x,CoxianDistribution[{α1,,αm-1},{λ1,,λm}]], written more concisely as , can be used to assert that a random variable x is distributed according to a Coxian distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
  • The probability distribution and cumulative density functions may be given using PDF[CoxianDistribution[{α1,,αm-1},{λ1,,λm}],x] and CDF[CoxianDistribution[{α1,,αm-1},{λ1,,λm}],x]. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively.
  • DistributionFitTest can be used to test if a given dataset is consistent with a Coxian distribution, EstimatedDistribution to estimate a Coxian parametric distribution from given data, and FindDistributionParameters to fit data to a Coxian distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic Coxian distribution and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic Coxian distribution.
  • TransformedDistribution can be used to represent a transformed Coxian distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain a Coxian distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving Coxian distributions.
  • The Coxian distribution is related to a number of other distributions. For example, CoxianDistribution is related to HyperexponentialDistribution both in its derivation and in the sense that the PDF of m-phase distribution CoxianDistribution[{1,,1},{λ1,,λm}] is the same as that of ExponentialDistribution[{λ1,,λm}]. This creates a link between CoxianDistribution and ExponentialDistribution as well, and this link can be made precise by noting that the m-phase CoxianDistribution[{0,,αm-1},{λ1,,λm}] has the same PDF as ExponentialDistribution[λ1]. Finally, for any λ, the PDF of the m-phase distribution CoxianDistribution[{1,,1},{λ,,λ}] is the same as that of ErlangDistribution[{m,λ}].

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Probability density function:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Cumulative distribution function:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Mean and variance:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Median can be found numerically:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2012
(9.0)