![Hands-On Mathematics for Deep Learning](https://wfqqreader-1252317822.image.myqcloud.com/cover/81/36698081/b_36698081.jpg)
Joint distributions
So far, we have dealt with and learned about distributions that relate to one random variable; but now, say we have two random variables, X and Y. Then, their joint distribution is defined as , such that
.
In joint distributions, we usually tend to know the distribution of a set of variables, but sometimes, we may only want to know the distribution of a subset. We call this the marginal distribution. We define the marginal distribution of X as follows:
![](https://epubservercos.yuewen.com/FF11E0/19470372701459106/epubprivate/OEBPS/Images/Chapter_285.jpg?sign=1738835917-XGFcTirUtge0ZXl395OxEa4wpM718yZn-0-60e12a046e31df6cad04f93fe96cdb72)
Let's say our n continuous random variables in A are jointly distributed and have the f PDF. Then, we have the following:
Here, and
.
Let's revisit an earlier example, where we have two variables, X and Y. If the variables are continuous, then their joint distribution is and
.
Now, let's suppose our n continuous random variables are independent. Then, for all cases of
.
If is a cumulative distribution function and
is the PDF, then
and
.