Conditional expectation (discrete + continuous)

island-boy
Messages
93
Reaction score
0
I need help in solving the following problem:

Let X be uniformly distributed over [0,1]. And for some c in (0,1), define Y = 1 if X>= c and Y = 0 if X < c. Find E[X|Y].

My main problem is that I am having difficulty solving for f(X|Y) since X is continuous (uniform continuous over [0,1]) while Y is discrete (takes values of 0 or 1 only)
 
Physics news on Phys.org
Actually, "E[X|Y]" does not make sense to me. That is the expected value of X given that Y is what? E[X|Y= 1] can be done and E[X|Y= 0].

Of course, if Y= 1, then X>= c so that is just E[X] where X is now uniformly distributed over [c, 1]. If Y= 0, then X is uniformly distributed over [0, c).
 
The problem is asking for the best predictor of X based on Y which is essentially E(X|Y)...I believe I should have different answers for different values of Y.

I got what you are saying though HallsofIvy. I'll try to work out the problem again. Thanks!
 
Hi, an additional question regarding the problem...

Given the question above, here's what I was able to get (that's suppose to be a chart below):

X: ......[c,1].......[0,c)
Y:.......1.......0
E[X|Y]:......(1+c)/2 ......c/2
X-E[X|Y]:...[(c-1)/2, (1-c)/2]......[-c/2, c/2 )

Solving, I got Var(X) = (c^2)/12

letting Z = X-E[X|Y]

How do I solve for Var(Z)
 
Last edited:
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