Mathematics · live now

Multiple discrete random variables

Work with two random variables together. Start with joint PMFs and the marginal and conditional PMFs they give, then decide when random variables are independent and find the expected value of a function of two of them.

No account needed to read a lesson · 30-day money-back guarantee

See the full learning path

6

lessons

54

practice questions

65

prerequisite lessons

See it taught

2 of the 6 lessons here are free to preview - the whole explanation and worked example, with no account and no email.

Live, not a screenshot

Lesson 03 · Joint PMFs

1
(0,?)
2
(0,?)
3
(0,?)
4
(0,?)
5
(0,?)
6
(1,?)
Ω
(X,Y)
y=0
y=1
x=0
x=1
One roll of a fair die. X=1 if the roll is a six and 0 otherwise; Y=1 if the roll is odd and 0 otherwise.

Step 1: The outcomes and X

Each of the six outcomes has probability 16. Under each outcome is its value of X: X=1 only for the roll 6.

Step 2: The value of Y

Y=1 for the odd rolls 1, 3 and 5. This completes the pair (x,y) under each outcome.

Step 3: Sort the outcomes into cells

Each outcome goes in the cell for its pair, in row x and column y. No roll is both a six and odd, so the cell for (1,1) is empty.

Step 4: Add the probabilities

The probability of each pair is the sum of the probabilities of the outcomes in its cell. For the shaded cell, (0,1), the outcomes are 1, 3 and 5:

P(X=0,Y=1)=16+16+16=12

The empty cell gets probability 0.

The diagram from the lesson itself, running live.

6 of 7 lessons

6 lessons you can take today, and 1 more being written. Expand any one to see what it covers. Each unlocks when its own prerequisites are passed.

01

Independence of random variables

12 questions

Learn when two random variables are independent, how to prove that they are dependent with one pair of values, and when functions of them are independent too.

Covers

Recognising independent random variables

Disproving independence with one pair

Functions of independent random variables

02

Independent and identically distributed random variables

9 questions

Learn what it means for random variables to be identically distributed, and how to recognise independent and identically distributed (i.i.d.) random variables.

Covers

Identically distributed random variables

Independent and identically distributed

03

Joint PMFs

Preview

8 questions

Learn what the joint PMF of two random variables is, how to build it from an experiment's outcomes, and how to use it to find the probability of an event about both.

Covers

Building a joint PMF from the outcomes

Probabilities from a joint PMF

Preview this lesson - no account needed

04

Marginal PMFs

8 questions

Learn how to find the PMF of each of two random variables from their joint PMF, and which probabilities these marginal PMFs determine on their own.

Covers

Marginal PMFs from a joint PMF

What marginal PMFs determine

05

Conditional PMFs

Preview

9 questions

Learn how to find the conditional PMF of one random variable given a value of another from their joint PMF, and how to rebuild the joint PMF from one marginal PMF and the conditional PMFs.

Covers

Slicing and renormalising

Rebuilding the joint from conditionals

Preview this lesson - no account needed

06

Expected value of a function of two random variables

8 questions

Learn how to find the expected value of a function of two discrete random variables from their joint PMF, and when the expected value of their product is the product of their expected values.

Covers

The expected value of g(X,Y)g(X, Y)

The expected value of XYXY for independent XX and YY

—

Conditional independence of random variables

In drafting

Where this unit sits in the curriculum

This unit is part of our Essential Probability & Statistics for ML learning path, which contains 205 lessons. Every one of them is drawn below.

The diagnostic test lets you skip any lesson you already know, including the ones in this unit.

Every dot is a lesson and every line a prerequisite. The 6 red dots are the lessons in Multiple discrete random variables; the 65 blue dots feeding into them are the lessons Multiple discrete random variables depends on; the 134 pale dots are the rest of the learning path, which come after Multiple discrete random variables or alongside it.Multiple discrete random variablesFirst lessons on the left205 lessons

Hover any dot to name its lesson.

6 lessons in this unit

65 prerequisite lessons across the unit, counting every step back to the start

134 other lessons in the learning path - after this unit, or alongside it

Every dot is a lesson, every line a prerequisite. You can only start a lesson once you have mastered all of its prerequisites, so you are always building on solid foundations.

Start Multiple discrete random variables

One subscription covers every learning path, and you can test out of anything you already know.

One subscription covers every learning path · 30-day money-back guarantee

More in Probability and Statistics: Sample spaces and events, Counting, Probability fundamentals, Conditional probability and independence, Bayes' theorem and evidence, Discrete random variables, Expectation and variance, Named discrete distributions, Sums, covariance and correlation, Continuous random variables