Covariance - Python Automation and Machine Learning for ICs - - An Online Book - |
||||||||
Python Automation and Machine Learning for ICs http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= Covariance measures the degree to which two variables change together. It indicates the direction of the linear relationship between two variables. If the covariance is positive, it means that as one variable increases, the other tends to increase as well. If the covariance is negative, it means that as one variable increases, the other tends to decrease. However, the magnitude of covariance doesn't tell us about the strength of the relationship. The covariance between two random variables X and Y is calculated using the following formula: Cov(X, Y) = E[(X - μX) * (Y - μY)] ----------------------------------------- [3465a] Where:
Another way to express the covariance between two random variables can be given by,
where,
============================================
|
||||||||
================================================================================= | ||||||||
|
||||||||