Conditional Distribution Functions

Brandon1994
Messages
9
Reaction score
0

Homework Statement


If X1 is uniform on [0,1], and, conditional on X1, X2, is uniform on [0,X1], find the joint and marginal distributions of X1 and X2


Homework Equations



conditional joint distribution

The Attempt at a Solution



f(x1|x2) = 1/x1 (for 0<x2<x1)
f(x1) = 1 ( for 0<x1<1)

then
F(x1,x2) = Integrate (1/x1) from {x2,0,x2}{x1,0,x1}
I get an ln(0) when i try to integrate however

for the marginal distribution of x2, i get X2~[0,X1] //i am not sure if that's the answer they are looking for, if i try to write an explicit density function for X2 i get that the density is infinity, again due to the ln (0) term.

Thanks
 
Physics news on Phys.org
Brandon1994 said:

Homework Statement


If X1 is uniform on [0,1], and, conditional on X1, X2, is uniform on [0,X1], find the joint and marginal distributions of X1 and X2


Homework Equations



conditional joint distribution

The Attempt at a Solution



f(x1|x2) = 1/x1 (for 0<x2<x1)
f(x1) = 1 ( for 0<x1<1)

then
F(x1,x2) = Integrate (1/x1) from {x2,0,x2}{x1,0,x1}
I get an ln(0) when i try to integrate however

for the marginal distribution of x2, i get X2~[0,X1] //i am not sure if that's the answer they are looking for, if i try to write an explicit density function for X2 i get that the density is infinity, again due to the ln (0) term.

Thanks

You have it exactly backwards: you are given ##f(x_2|x_1)##, not ##f(x_1|x_2).##

Also: what does the notation "Integrate(1/x1) from {x2,0,x2}{x1,0,x1}" mean? I have never seen that before.

Anyway, the first thing to do is to answer the question "what is the joint distribution of ##(X_1,X_2)?## You have not done that.
 
wouldn't the joint density be:
f(X1,X2) = 1/X1

and I was saying to find the marginal density f(X2) you would integrate the above expression
 
Brandon1994 said:
wouldn't the joint density be:
f(X1,X2) = 1/X1

and I was saying to find the marginal density f(X2) you would integrate the above expression

Yes, f(x1,x2) = 1/x1, bit only on an appropriate region in (x1,x2)-space. You need to spell out the details.

Of course you need to do an integral to get the marginal distibution of x2, but that was not the point. I asked what you meant by the weird notation "Integrate(1/x1) from {x2,0,x2}{x1,0,x1}". This looks like something you invented that nobody else knows about, but surely you must have in mind some meaning for it. I am asking you to explain that meaning---in detail, not just saying that you need to integrate. That is: what is the integration variable, and what are the limits of integration?Even better, what is the final answer you get?
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top