Lecture Notes: Calculating Covariance Between Two Variables
Introduction
Topic: Calculating covariance between two variables X and Y.
Purpose: Understand how to use a formula to calculate covariance and interpret its result.
Covariance Formula
Formula: Covariance between X and Y is the sum of the products of the differences in X values and their mean (XÌ„) times differences of Y values and their mean (YÌ„), divided by (n-1) for sample covariance or n for population covariance.