Probability density function ?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
csc2iffy
Messages
74
Reaction score
0

Homework Statement


Suppose X selects an integer from the set S = {0,1,...,9} and Y selects an integer from {0,...,x^2}. Find:
(a) f(x,y) [joint prob density func]
(b) fY(y) [marginal for Y]
(c) Probability (Y <= 10 | X = 5)
(d) Probability (Y <= 10 | X <= 5)

Homework Equations


The Attempt at a Solution


I'm confused how to start this problem (finding the j.p.d.f.). My teacher's notes are kind of all over the place so this is what I attempted to put together:

(a) f(x,y) = Prob(X=x, Y=y) = f(y|x)f(x)
f(x) = 1/10
f(x,y) = 1/(x2+1) * (1/10)

(b) I'm guessing.. f(y) = Ʃ [ 1/(x^2+1) * (1/10) ]
I'm confused about what the summation is over. In the book it says "probability distribution h(y) of Y alone is obtained by summing f(x,y) over values of X". So does this mean f(y) = Ʃ [ 1/(x^2+1) * (1/10) ] from x=0 to x=9? Or is it from x=y0 (some fixed y) to x=9? If it is the latter case, how do I go about solving this?

Sry, i don't know if I mentioned it but (b) is supposed to be the marginal for Y (and Y alone)
 
Last edited:
Physics news on Phys.org
First you don't give a probability function for X or Y alone. Should we assume uniform probability?

You say "Suppose X selects an integer from the set S = {0,1,...,9} and Y selects an integer from {0,...,x^2}." Do you mean Suppose X selects an integer, x, from the set S = {0,1,...,9} and Y selects an integer from {0,...,x^2}? If not, what is x?
 
Sorry, the full problem says X uniformly selects an integer, x, from S={1,...,9}, and then Y uniformly selects an integer from {0,...,x^2}

Also, once I have (b), how do I apply that to (c) and (d)?
 
Last edited:
Thanks for your help... I'm starting to see it now somewhat. One last question: is my fY(y) = (1/10) Ʃ (1/(x2+1)) from x=y0 to x=9 correct?

I got
(c) 42.3%
(d) ?
 
Last edited: