Conditional Expectation problem

jamescaan2004
Messages
2
Reaction score
0
1. I have a problem that I cannot figure out how to solve. I want to find the following:
E(X|X<Y) where X follows exp(a) and Y follows exp(b) (exp is for exponential distribution). Any ideas on how to solve it?

I got E(X|X<Y) = \int_{-∞}^{∞} E(X|X&lt;y)f_{y}(y)dy = \int_{-∞}^{∞} \frac{\int_0^y x f_x(x)dx}{F_y(y)}f_{y}(y)dy = \int_{-∞}^{∞} \frac{-x e^{-ax}|^{0}_{y}-\int_0^y -e^{-ax}dx}{1-e^{-ay}}be^{-by}dy = \int_{-∞}^{∞} \frac{-y e^{-ay} + \frac{1}{a}e^{-ay}-\frac{1}{a}}{1-e^{-ay}}be^{-by}dy

However, I need to find a closed form solution to this problem in terms of rates a and b. Any ideas on how to solve this problem?
 
Last edited:
Physics news on Phys.org
jamescaan2004 said:
1. I have a problem that I cannot figure out how to solve. I want to find the following:
E(X|X<Y) where X follows exp(a) and Y follows exp(b) (exp is for exponential distribution). Any ideas on how to solve it?




I got E(X|X<Y) = \int_{-∞}^{∞} E(X|X&lt;y)f_{y}(y)dy = \int_{-∞}^{∞} \frac{\int_0^y x f_x(x)dx}{F_y(y)}f_{y}(y)dy = \int_{-∞}^{∞} \frac{-x e^{-ax}|^{0}_{y}-\int_0^y -e^{-ax}dx}{1-e^{-ay}}be^{-by}dy = \int_{-∞}^{∞} \frac{-y e^{-ay} + \frac{1}{a}e^{-ay}-\frac{1}{a}}{1-e^{-ay}}be^{-by}dy

However, I need to find a closed form solution to this problem in terms of rates a and b. Any ideas on how to solve this problem?


Why do you integrate from ##-\infty## to ##+\infty##? These are exponential distributions, and surely you know what the appropriate range should be!

Anyway, start by obtaining the conditional density ##f_{X<Y}(x)## of ##X##, which is given by
f_{X&lt;Y}(x) \Delta x = \Pr ( x &lt; X &lt; x + \Delta x | X &lt; Y)<br /> = \frac{ \Pr(x &lt; X &lt; x + \Delta x \; \&amp; \; X &lt; Y)}{\Pr( X &lt; Y)}
 
Ray Vickson said:
Why do you integrate from ##-\infty## to ##+\infty##? These are exponential distributions, and surely you know what the appropriate range should be!

Anyway, start by obtaining the conditional density ##f_{X<Y}(x)## of ##X##, which is given by
f_{X&lt;Y}(x) \Delta x = \Pr ( x &lt; X &lt; x + \Delta x | X &lt; Y)<br /> = \frac{ \Pr(x &lt; X &lt; x + \Delta x \; \&amp; \; X &lt; Y)}{\Pr( X &lt; Y)}

Thank you very much for your response. I have tried it several times for the last couple of days and cannot get anything out of it. Would you please be able to provide any additional insight?
 
jamescaan2004 said:
Thank you very much for your response. I have tried it several times for the last couple of days and cannot get anything out of it. Would you please be able to provide any additional insight?

I am going to ask you a series of questions, and you should try very seriously to answer them. If you do, you ought to obtain the answer to your question.

1) What is the formula for the bivariate density function ##f_{X,Y}(x,y)##, and over what ##(x,y)## region does that apply? From now on, let us call that region the "relevant region".
2) What is the sub-region of ##Y > X## in the relevant region? Using the bivariate density, what is ##P(Y > X)##?
3) For very small ##\Delta x > 0##, what is the sub-region of ##x < X < x + \Delta X \; \& \; Y > X## within the relevant region? Using the bivariate density, what is the probability ##P(x < X < x + \Delta x \; \& \; Y > X)##?
4) Using your answers to 2) and 3), what is the conditional density ##f_{Y>X}(x)##? You obtain it from
f_{Y &gt; X}(x) \, \Delta x = P(x &lt; X &lt; x + \Delta x | Y &gt; X) = <br /> \frac{P(x &lt; X &lt; x + \Delta x \: \&amp; \; Y &gt; X)}{P(Y&gt;X)}
in the limit as ##\Delta x \to 0##. In other words,
f_{Y&gt;X}(x) = \lim_{\Delta x \to 0} \frac{P(x &lt; X &lt; x + \Delta x | Y &gt; X)}{\Delta x}

If you do this carefully and step-by-step you will arrive at a surprisingly simple answer. Then getting the conditional expected value is easy.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top