- 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.
- 漫話大數(shù)據(jù)
- Word 2010中文版完全自學手冊
- Hands-On Machine Learning with Microsoft Excel 2019
- Creating Mobile Apps with Sencha Touch 2
- 圖解機器學習算法
- Learning JavaScriptMVC
- 算法與數(shù)據(jù)中臺:基于Google、Facebook與微博實踐
- 智能數(shù)據(jù)分析:入門、實戰(zhàn)與平臺構(gòu)建
- 數(shù)亦有道:Python數(shù)據(jù)科學指南
- Spark大數(shù)據(jù)分析實戰(zhàn)
- 深入淺出Greenplum分布式數(shù)據(jù)庫:原理、架構(gòu)和代碼分析
- Apache Kylin權(quán)威指南
- 數(shù)據(jù)科學實戰(zhàn)指南
- 數(shù)據(jù)庫應用系統(tǒng)開發(fā)實例
- 中文版Access 2007實例與操作