Covariance matrix

Covariance formula: Cov(X, Y) = E[(X - E[X])(Y - E[Y])]

Covariance matrix

Covariance formula: Cov(X, Y) = E[(X - E[X])(Y - E[Y])]

Covariance measures the joint variability of two random variables. It quantifies how much the variables X and Y change together. Covariance is calculated as the expected value of the product of their deviations from their respective means.

Example

Suppose X represents the number of hours studied and Y represents the test scores. Cov(X, Y) = E[(X - E[X])(Y - E[Y])] measures how changes in study hours are associated with changes in test scores.

Understanding covariance helps in analyzing relationships between variables, which is crucial for statistical modeling and prediction.

Related concepts

One email a day: 5 concepts + the 5 stories that matter →

Swipe through 100 ML concepts daily

Open TickerNews