Wize AP Statistics Textbook > Random Variables and Probability Distributions
Randomness and Probability

0:00 / 0:00
Discrete Random Variables
A random variable takes on values that depend on the outcomes of a random experiment.
- Each value this variable takes on depends on a probability (outcomes cannot be determined with certainty).
- The values of a random variable can vary with each repetition of the experiment.
A discrete random variable can only take on a finite number of values (it has a countable number of possible values).
Example
Which of the following is/are discrete random variables?
1. represents the number of heads that shows up in 3 consecutive tosses of a fair coin. →
YES
- Tossing a fair coin 3 times is a random experiment, each toss of a head has a probability of
- can take on four possible values (0 heads, 1 head, 2 heads, or 3 heads), each with a specific probability
2. represents the number of correct answers a student gets by randomly guessing the answers to 10 multiple choice questions, each with 1 correct option and 3 incorrect ones. →
YES
- Guessing the answer 10 times is a random experiment, each correct answer has a probability of
- can take on 11 possible values (0 correct, 1 correct, 2 correct, ... , 10 correct), each with a specific probability
3. represents the height of a customer who is randomly selected at a grocery store. →
NO
- Although randomly selecting a customer and measuring their height is a random experiment, does NOT take on a finite (countable) number of possible values since a customer can take on any height within a certain range (ex. they can be 151cm, 151.2cm, 151.22cm, 151.222cm, etc.)
Practice: Discrete Random Variables
Which of the following are discrete random variables? (Check all that applies.)

0:00 / 0:00
Probability Distribution Function

The probability distribution function (PDF) of a discrete random variable lists all possible values this variable can take, along with their associate probabilities.
The PDF of a discrete random variable is usually expressed as a table:
Notes
- each probability is between 0 and 1
- the sum of all probabilities is equal to 1
Example
A bird laid 4 eggs. Let be the number of baby birds that are born (hatched) healthy.
Here's the PDF of :
- can only take on a finite number of possible values (the bird can have any whole number of healthy babies between 0 and 4)
- All the possible values are listed
- The probabilities associated with each possible is listed and
- The sum of all probabilities 's is equal to 1

Portions of information contained in this publication/book are printed with permission of Minitab, LLC. All such material remains the exclusive property and copyright of Minitab, LLC. All rights reserved.

0:00 / 0:00
Expected Value, Variance, and Standard Deviation of Discrete Random Variables
Let be a discrete random variable.
The expected value or mean of is denoted by or , and is calculated by
The variance of is denoted by or , and is calculated by
The standard deviation of is denoted by or , and is calculated by
Example
Let be the random variable that represents the number of Heads that comes up in 2 consecutive tosses of a fair coin. Find the mean, variance, and standard deviation of .
Here's the PDF of X, along with some additional columns that will help with the calculation of mean, variance, and standard deviation.
- TT: Heads;
- TH or HT: Heads;
- HH: Heads;
Mean
Variance
Standard Deviation

0:00 / 0:00
Example: Expected Value & Standard Deviation
Suppose you roll a fair die once. Let X be the number you get.
Find the expected value, variance, and standard deviation of .
All the possible outcomes:
Here is the PDF:

Expected Value or Mean
Variance
Method 1:
Method 2:
Standard Deviation

0:00 / 0:00
Example: Probability Distribution Function
The exact number of cookies in a box varies from box to box according to the probability distribution function (PDF) given by:

(a) What is the probability of getting exactly 20 cookies?
Find the probability of 20 using the complement rule:
(b) Find the probability that there are exactly 18 cookies given that there are at least 18 cookies in a jar.
Conditional probability:
(c) If in fact there are at most 17 cookies in a jar, what is the probability that there will be at least 16 cookies in the jar?
Conditional probability:
Amori is good at math and spelling so she entered a math contest and a spelling bee. The probability of her winning each contest is listed below. Assume the two contests are independent.

(a) What is the probability that she wins both contests?
Anna and Louis are newlyweds and plan to have children.
Suppose they have three children. Let X be the number of boys, where .
*Assume the probability of getting a boy is 50% and the probability of getting a girl is 50%.
Complete the probability table:
For P(X), provide answers with three decimal places (e.g. 0.175)

| X | 0 | 1 | 2 | 3 |
| P(X=x) |
Practice: Expected Value & Standard Deviation
Find the expected value and standard deviation.
