Exam P · Joint & Marginal Distributions · Free Lesson

Covariance and Correlation Coefficient for Discrete Random Variables

Free SOA Exam P (Probability) lesson in Joint & Marginal Distributions. 15 min read, ~2,319 words.

If equity and bond returns move in opposite directions, portfolio variance shrinks, diversification works. The covariance and correlation coefficient quantify the direction and strength of linear dependence between two random variables.

HIGH-FREQUENCY: The computational formula is the standard approach. Compute from the joint PMF; compute from the marginals.

For discrete random variables:

TRAP: The converse of property 5 is FALSE. does NOT imply independence. Covariance only captures linear dependence. Two variables can be maximally dependent with zero covariance if the dependence is nonlinear.

Classic counterexample: Let be uniform on and . Then , , so . But is completely determined by .

Read the full lesson, free →
Worked examples and practice. Free with a free account, no card.

Common mistakes

Bottom line

Exam shortcut

Compute five quantities in order: , , , , . For with a table, sum only cells where both and are nonzero. "Covariance = Cross minus Product of means." Pattern matches variance: . "Variance of a sum = sum of variances plus twice the covariance." The 2 is there because has a cross-term .

The full lesson (about 2,319 words, 15 min read) adds 3 worked examples, all 6 common mistakes, a self-check, free in the app.

Learning objectives

Browse all free Exam P lessons or jump into free Exam P practice questions.