Find P(X < Y) for X and Y independent random variables

Probability theory and statistics

Find P(X < Y) for X and Y independent random variables

Postby Guest » Wed Mar 23, 2016 10:01 am

Hello,

I am new to probability theory. Here is the problem I am trying to solve:

Let X [tex]\in[/tex] Exp([tex]\lambda[/tex]) and Y[tex]\in[/tex] Exp([tex]\nu[/tex]) Find the probability:
[tex]P(X < Y)[/tex]

I have a solution in my textbook, but I fail to understand the first step:
[tex]P(X < Y) = \int\limits_{0}^{\infty}P(X < Y | X = x)\lambda e^{-\lambda x}[/tex]

Why is this true? I know how the distribution function looks like for exponential distribution, but I fail to understand this first step. Could anyone help me out?

Best,
Hristo
Guest
 

Re: Find P(X < Y) for X and Y independent random variables

Postby Guest » Wed Mar 23, 2016 6:01 pm

This is just the continuous version of the law of total probability:
https://en.wikipedia.org/wiki/Law_of_total_probability

[tex]P(A) = \sum_{i=-\infty}^{\infty}P(A|(i-1)d < B\leq id)P((i-1)d< B\leq id)[/tex] (by the law of total probability)
[tex]\approx \sum_{i=-\infty}^{\infty}P(A|B=id)P((i-1)d< B\leq id)[/tex] when [tex]d[/tex] is very small
[tex]\approx \sum_{i=-\infty}^{\infty}P(A|B=id)f_B(id)d[/tex] where [tex]f[/tex] is the pdf for [tex]B[/tex]
Let [tex]b=id[/tex] to get
[tex]P(A)\approx \sum_{b=-\infty}^{\infty}P(A|B=b)f_B(b)d[/tex] where [tex]b[/tex] is incremented in steps of size [tex]d[/tex]
As [tex]d[/tex] gets smaller, the sum essentially becomes an integral, and the approximation becomes exact:
[tex]P(A) = \int\limits_{-\infty}^{\infty}P(A|B=b)f_B(b)db[/tex]

Replacing
[tex]A[/tex] with [tex]X<Y[/tex],
[tex]B[/tex] with [tex]X[/tex],
[tex]b[/tex] with [tex]x[/tex],
[tex]f_B(b)[/tex] with [tex]f_X(x) = \lambda e^{-\lambda x}[/tex] when [tex]x\geq 0[/tex] and [tex]0[/tex] otherwise
gives
[tex]P(X<Y) = \int\limits_0^{\infty}P(X<Y|X=x)\lambda e^{-\lambda x}dx[/tex]

Hope this helped,

R. Baber.
Guest
 


Return to Probabilities and Statistics



Who is online

Users browsing this forum: No registered users and 2 guests