- Hands-On Mathematics for Deep Learning
- Jay Dawani
- 269字
- 2021-06-18 18:55:25
Multiple random variables
A lot of the time, we will end up dealing with more than one random variable. When we do have two or more variables, we can inspect the linear relationships between the random variables. We call this the covariance.
If we have two random variables, X and Y, then the covariance is defined as follows:

The following are some of the axioms for the covariance:
- If c is a constant, then
.
.
.
.
.
.
, given that X and Y are independent (but it does not imply that the two are independent).
However, sometimes, the covariance doesn't give us the full picture of the correlation between two variables. This could be a result of the variance of X and Y. For this reason, we normalize the covariance as follows and get the correlation:

The resulting value will always lie in the [-1, 1] interval.
This leads us to the concept of conditional distributions, where we have two random variables, X and Y, that are not independent and we have the joint distribution, , from which we can get the probabilities,
and
. Then, our distribution is defined as follows:

From this definition, we can find our conditional distribution of X given Y to be as follows:

We may also want to find the conditional expectation of X given Y, which is as follows:

Now, if our random variables are independent, then, , which we know to be true because Y has no effect on X.
- 我們都是數據控:用大數據改變商業、生活和思維方式
- 算法競賽入門經典:習題與解答
- MongoDB管理與開發精要
- Python數據分析、挖掘與可視化從入門到精通
- Libgdx Cross/platform Game Development Cookbook
- Learning JavaScriptMVC
- 大數據Hadoop 3.X分布式處理實戰
- Microsoft Power BI數據可視化與數據分析
- 數據庫原理與應用
- Google Cloud Platform for Developers
- Mastering LOB Development for Silverlight 5:A Case Study in Action
- 二進制分析實戰
- Oracle高性能SQL引擎剖析:SQL優化與調優機制詳解
- 區塊鏈+:落地場景與應用實戰
- 算法設計與分析