I have two functions $f_x$ = $\frac{1}{2}\delta(x-5) + 1/4$ where the 1/4 corresponds to a uniform distribution from 5 to 7. I also have $f_{y|x}$ = $\frac {1}{2}\delta(y-x-4) + 1/4$ which is 1/4 in the range of x+4 to x+6. I am trying to find $f_y$ using the equation: $$ f_y = \int f_x f_{y|x} \,\mathrm dx \>. $$ My question is: How do I find the limits of this integration? I had thought something like integrating from $y-4$ to $y-6$ but that doesn't really seem correct.
Tell me more
×
Cross Validated is a question and answer site for
statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.
|
|
@whuber is correct on both counts (and should be given credit for an accepted answer, imho). In general, to derive a marginal distribution, you integrate the joint distribution over the entire support of the variable you are integrating out. In this case, integrating wrt $x$ over the entire real line gives the correct answer. Working from first principles: recall how a conditional distribution is defined in terms of a joint distribution:
The marginal distribution of $y$ is given by integrating out $x$ over its entire support (the closure of the set on which $x \ne 0$). You get the same answer if you integrate over the entire real line:
|
|||
|
|