I am interested in finding an analytic expression for the below cdf of an order distribution, whose form I now describe.
Suppose that the time until a particular process occurs can be modelled as the sum of two gamma random variables: $\tau=t_1+t_2$, where $t_1\sim\text{gamma}(a,b)$ and $t_2\sim\text{gamma}(c,d)$ and $a\neq c$ and $b\neq d$.
In Mathematica, I can get a distribution that describes $\tau$ using:
bDist = TransformedDistribution[ u + v, {u \[Distributed] GammaDistribution[a, b], v \[Distributed] GammaDistribution[c, d]}]
Now suppose I have $n$ independent random variables of the above composite gamma, each of which is $\tau_i$ (that is, in Mathematica, each distribution is described by bDist
). Further, suppose that I am interested in $T=\text{min}(\tau_1,...,\tau_n)$, that is, the time taken for the first such process to occur.
$T$ is the 1st order statistic of the composite distribution; that is, in Mathematica:
cDist = OrderDistribution[{bDist, n}, 1];
For a particular set of parameters, I can use simulation to estimate what the cdf for the above distribution looks like:
temp = RandomVariate[ cDist /. {a -> 8, b -> 0.5, c -> 3, d -> 2, n -> 5}, 10000];
approxDist = SmoothKernelDistribution[temp];
Plot[CDF[approxDist, x], {x, 0, 20}]
which produces a curve like:
My question is, is there a way to derive an analytic expression for the above curve for any set of parameters?
I have tried:
Assuming[n >= 1 && n \[Element] Integers && a > 0 && b > 0 && c > 0 && d > 0, CDF[cDist, x]]
But Mathematica just returns this unevaluated (after much thought).
bDist
but it is unlikely that there is an analytic expression for that. $\endgroup$