Definition: Covariance
Let have a joint distribution with means and variances .
The covariance of is defined as:
Definition: Correlation Coefficient
If and , the correlation coefficient between and is:
Correlatino measures the linear dependence between 2 random variables.
Properties
Key Properties
- (Theorem 2.5.1)
- when (Theorem 2.5.2)
- does not imply independence (Example 2.5.3)
Theorem 2.5.3: Linear Conditional Mean
If is linear in , then:
And the conditional variance:
See also
Cheatsheets:
Examples
Discrete Case (Example 2.5.1)
For coin flips: = heads on first two flips, = heads on all three flips.
- ,
- ,
Continuous Case (Example 2.5.2)
, , :