Discrete random variables and their distributions

About this lesson

Statistics (AP-aligned) › Random variables

To save a PDF, choose “Save as PDF” in the print dialog.

Discrete random variables and their distributions

Random variables.

Warm-up

Three quick questions from earlier lessons.

Discover

X is the number of heads in two coin tosses. Its values are 0, 1, 2. Which list gives their probabilities?

  1. 14,12,14\tfrac{1}{4}, \tfrac{1}{2}, \tfrac{1}{4}
  2. 13,13,13\tfrac{1}{3}, \tfrac{1}{3}, \tfrac{1}{3}

Key idea

A random variable assigns a number to each outcome.

A discrete random variable XX has a list of values with probabilities P(X=x)P(X = x). Every probability is between 0 and 1, and they sum to 1. Probabilities of events such as X≥2X \ge 2 add the matching values.

Worked example

P(X=0)=0.2P(X = 0) = 0.2, P(X=1)=0.5P(X = 1) = 0.5, XX takes only 0, 1, 2.

P(X=2)=1−0.2−0.5=0.3P(X = 2) = 1 - 0.2 - 0.5 = 0.3
Sum to 1.
P(X≥1)=0.8P(X \ge 1) = 0.8
Everything but 0.

Your turn, guided

Your turn: P(X=0)=0.1P(X = 0) = 0.1, P(X=1)=0.6P(X = 1) = 0.6. Find P(X=2)P(X = 2).

0.30.3
1 − 0.1 − 0.6.

Practice ★

  1. A random variable X takes the values 0, 1 and 2, with P(X = 0) = 29/100 and P(X = 1) = 13/100. Find P(X = 2).
  2. A random variable X takes the values 0, 1 and 2, with P(X = 0) = 14/100 and P(X = 1) = 18/100. Find P(X = 2).
  1. Which list could be the probabilities of a random variable with three values?
    1. 0.1, 0.5 and 4/10
    2. 0.5, 0.5 and 0.1
    3. 0.8, 0.4 and −0.2

Watch out!

Practice ★★

  1. X takes the values 0, 1, 2 with P(X = 0) = 25/100 and P(X = 1) = 15/100. Find P(X ≥ 1).
  2. X takes the values 0, 1, 2 with P(X = 0) = 34/100 and P(X = 1) = 15/100. Find P(X ≥ 1).

Exit ticket

Three questions to check you have got it.

  1. A random variable X takes the values 0, 1 and 2, with P(X = 0) = 29/100 and P(X = 1) = 13/100. Find P(X = 2).
  2. A random variable X takes the values 0, 1 and 2, with P(X = 0) = 14/100 and P(X = 1) = 18/100. Find P(X = 2).
  3. A random variable X takes the values 0, 1 and 2, with P(X = 0) = 18/100 and P(X = 1) = 23/100. Find P(X = 2).

Summary card

Discrete distributions

  • Values with probabilities in [0,1][0, 1] summing to 1.
  • Add probabilities for events.

Watch out: values are not automatically equally likely.

CC BY-SA 4.0