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.

X,Y are independent random variables. X's pdf = f(x) Y's pdf = g(x) if Z= X+Y what is the Z's pdf? Can it be calculated?

share|improve this question
2  
The first hit upon Googling the very title of this question produces a good answer: please read our faq about the wisdom of doing a little bit of research before asking a question. – whuber Jun 19 '11 at 16:35

closed as too localized by whuber Jun 19 '11 at 16:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

2 Answers

up vote 2 down vote accepted

Reference: http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter7.pdf

If $X$ and $Y$ are two independent, continuous random variables, then you can find the distribution of $Z=X+Y$ by taking the convolution of $f(x)$ and $g(y)$:$$h(z)=(f*g)(z)=\int_{-\infty}^{\infty}f(x)g(z-x)dx$$If $X$ and $Y$ are two independent, discrete random variables, then you can find the distribution of $Z=X+Y$ by taking the discrete convolution of $X$ and $Y$:$$\mbox{P}(Z=k)=\sum_{i=-\infty}^{\infty}\mbox{P}(X=i)\cdot\mbox{P}(Y=k-i)$$

share|improve this answer
Thank you~Can I also ask if Z2=X-Y,what is the pdf of Z2? (This time I have do the search and couldn't find the answer)(Should I post another question or just here is ok?) – sam Jun 19 '11 at 17:23
1  
It's pretty much the same as what I've written above. $X-Y$ is the same as $X+(-Y)$. The distribution of $-Y$ is the same as the distribution of $Y$ except that it is mirrored over the vertical line at 0. – Max Jun 19 '11 at 18:15

If $A$ is the domain for $f(x)$ then $h(z)=\int_{x\in A}f(x)g(z-x)\,dx$.

A sum would be used in the discrete case.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.