CDF and PDF of order statistics

AI Thread Summary
The discussion focuses on finding the cumulative distribution function (CDF) and probability density function (PDF) for the sum of the largest two out of K independent and identically distributed (i.i.d.) exponentially distributed random variables. The CDF can be expressed in terms of the probabilities of pairs of these random variables being less than a certain value, leading to a product of their individual probabilities. The conversation highlights the complexity of determining independence among the sums of the variables, suggesting the use of order statistics and moment-generating functions (MGFs) for simpler distributions. Additionally, convolution methods are recommended for more complex cases where the variables may not be identically distributed. The discussion emphasizes the need for clarity on independence to accurately derive the desired distributions.
EngWiPy
Messages
1,361
Reaction score
61
Hi,

I have K i.i.d. exponentially distributed random variables with mean unity. I need to find the CDF and PDF of the summation of the largest two random variables. How can I do that? The problem in this case is that the combinations are not independent.

Thanks in advance
 
Physics news on Phys.org
EDIT: Oops, sorry, when I said it was clear that the X_i+X_j are clearly iid I was mistaken. I'm not sure that they're not independent, but if they are independent, it certainly isn't clear.

--------

The CDF of this random variable, let's call it X, is given by:

a \mapsto P(X < a)

What's the probability that the sum of the largest two of your exponentials is less than a? Well, the sum of the largest two is less than a iff the sum of every two is less than a. In other words, if we let X_1, \dots, X_K be your exponentials, then:

P(X < a) = P(X_1 + X_2 < a\mbox{ and }X_1 + X_3 < a\mbox{ and } \dots \mbox{ and }X_{K-1} + X_K < a)

Since the X_i are iid, [STRIKE]it's not hard to see that the X_i+X_j are iid[/STRIKE]. As such, we can rewrite the above:

P(X < a) = \prod_{1\leq i<j\leq K}P(X_i + X_j < a) = P(X_1 + X_2 < a)^{{K\choose 2}}

a \mapsto P(X_1 + X_2 < a) is the CDF of a \Gamma (2,1) distributed random variable.
 
Last edited:
AKG said:
EDIT: Oops, sorry, when I said it was clear that the X_i+X_j are clearly iid I was mistaken. I'm not sure that they're not independent, but if they are independent, it certainly isn't clear.

--------

The CDF of this random variable, let's call it X, is given by:

a \mapsto P(X < a)

What's the probability that the sum of the largest two of your exponentials is less than a? Well, the sum of the largest two is less than a iff the sum of every two is less than a. In other words, if we let X_1, \dots, X_K be your exponentials, then:

P(X < a) = P(X_1 + X_2 < a\mbox{ and }X_1 + X_3 < a\mbox{ and } \dots \mbox{ and }X_{K-1} + X_K < a)

Since the X_i are iid, [STRIKE]it's not hard to see that the X_i+X_j are iid[/STRIKE]. As such, we can rewrite the above:

P(X < a) = \prod_{1\leq i<j\leq K}P(X_i + X_j < a) = P(X_1 + X_2 < a)^{{K\choose 2}}

a \mapsto P(X_1 + X_2 < a) is the CDF of a \Gamma (2,1) distributed random variable.

Interesting! But are the events X1+X2<a and X1+X3<a are independent?
 
S_David said:
Hi,

I have K i.i.d. exponentially distributed random variables with mean unity. I need to find the CDF and PDF of the summation of the largest two random variables. How can I do that? The problem in this case is that the combinations are not independent.

Thanks in advance

Hey S_David.

The first thing is to get the distribution for the largest and second largest distribution. This can be done with order statistics.

Once you have these distributions, then if they are of the same type you can use MGF's to find the result type of adding the two (usually this is a good idea because in many situations adding to distributions that are i.i.d results in the same distribution with different parameters).

If the type is complex, use the convolution theorem to get the CDF and hence the PDF of the sum of the two variables. These variables have to be independent, but not necessarily identical distributed.

For convolution algorithm and more depth:

http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter7.pdf

Formula for order statistic given a known PDF can be found here:

http://www.encyclopediaofmath.org/index.php/Order_statistic
 
CDF of highest of n = Fn(x)
2nd highest < x if either highest < x or exactly one (any of the n) > x:
CDF of 2nd highest = Fn(x) + (1-Fn(x))*n*Fn-1(x)
= n*Fn-1(x) - (n-1)*Fn(x)
CDF of sum of highest two = ∫y(n*Fn-1(x-y) - (n-1)*Fn(x-y)).dFn(y)
= ∫y(n*Fn-1(x-y) - (n-1)*Fn(x-y))*n*Fn-1(y).dF(y)
 
haruspex said:
CDF of highest of n = Fn(x)
2nd highest < x if either highest < x or exactly one (any of the n) > x:
CDF of 2nd highest = Fn(x) + (1-Fn(x))*n*Fn-1(x)
= n*Fn-1(x) - (n-1)*Fn(x)
CDF of sum of highest two = ∫y(n*Fn-1(x-y) - (n-1)*Fn(x-y)).dFn(y)
= ∫y(n*Fn-1(x-y) - (n-1)*Fn(x-y))*n*Fn-1(y).dF(y)
On second thoughts, still an independence problem there.
Try 2:
P[2nd highest < x | highest = y > x] = (F(x)/F(y))n-1
P[2nd highest < x | highest = y < x] = 1
CDF of sum of highest two = Fn(x/2) + ∫y>x/2(F(x-y)/F(y))n-1.dFn(y)
= Fn(x/2) + n∫y>x/2F(x-y)n-1.dF(y)
Looks nicer at least.
 
Last edited:
I'm taking a look at intuitionistic propositional logic (IPL). Basically it exclude Double Negation Elimination (DNE) from the set of axiom schemas replacing it with Ex falso quodlibet: ⊥ → p for any proposition p (including both atomic and composite propositions). In IPL, for instance, the Law of Excluded Middle (LEM) p ∨ ¬p is no longer a theorem. My question: aside from the logic formal perspective, is IPL supposed to model/address some specific "kind of world" ? Thanks.
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...
Back
Top