Let $X$ and $Y$ be some random variables. How do I find their joint distribution?
If I would have the joint distribution, I would find $X$ and $Y$ by integrating over the other variable. Also, if $X$ and $Y$ were independent, the joint distribution would be the product of the distributions of $X$ and $Y$. However, do I find the joint distribution in the general case, when $X$ and $Y$ are not necessarily independent?