4.2 Probability Distribution of a Discrete Random Variable

LEARNING OBJECTIVES

  • Recognize, understand, and construct discrete probability distributions.

random variable describes the outcomes of a statistical experiment in words. The values of a random variable can vary with each repetition of an experiment.


Watch this video: Random Variables and Probability Distributions by Dr Nic’s Maths and Stats [4:38]


The probability distribution for a random variable lists all the possible values of the random variable and the probability the random variable takes on each value.  The probability distribution for a random variable describes how probabilities are distributed over the values of the random variable.  A probability distribution can be a table, with a column for the values of the random variable and another column for the corresponding probability, or a graph, like a histogram with the values of the random variable on the horizontal axis and the probabilities on the vertical axis.

In a probability distribution, each probability is between 0 and 1, inclusive.  Because all possible values of the random variable are included in the probability distribution, the sum of the probabilities is 1.

EXAMPLE

A child psychologist is interested in the number of times a newborn baby’s crying wakes its mother after midnight.  For a random sample of 50 mothers, the following information was obtained. Let [latex]X[/latex] be the number of times per week a newborn baby’s crying wakes its mother after midnight.  For this example, the values of the random variable are [latex]x = 0, 1, 2, 3, 4, 5[/latex].

In the table, the left column contains all of the possible values of the random variable and the right column, [latex]P(x)[/latex], is the probability that [latex]X[/latex] takes on the corresponding value [latex]x[/latex].  For example, in the first row, the value of the random variable is 0 and the probability the random variable is 0 is [latex]\displaystyle{\frac{2}{50}}[/latex].  In the context of this example, that means that the probability a newborn baby’s crying wakes its mother 0 times per week is [latex]\displaystyle{\frac{2}{50}}[/latex].

[latex]x[/latex] [latex]P(x)[/latex]
0 [latex]\frac{2}{50}[/latex]
1 [latex]\frac{11}{50}[/latex]
2 [latex]\frac{23}{50}[/latex]
3 [latex]\frac{9}{50}[/latex]
4 [latex]\frac{4}{50}[/latex]
5 [latex]\frac{1}{50}[/latex]

Because [latex]X[/latex] can only take on the values 0, 1, 2, 3, 4, and 5, [latex]X[/latex] is a discrete random variable.   Note that each probability is between 0 and 1 and the sum of the probabilities is 1:

 

[latex]\displaystyle{\frac{2}{50}+\frac{11}{50}+\frac{23}{50}+\frac{9}{50}+\frac{4}{50}+\frac{1}{50}=1}[/latex]

TRY IT

Suppose Nancy has classes three days a week. She attends classes three days a week 80% of the time, two days a week  15% of the time, one day a week 4% of the time, and no days 1% of the time. Suppose one week is randomly selected.

  1. Let [latex]X[/latex] be the number of days Nancy ____________________.
  2. [latex]X[/latex] takes on what values?
  3. Suppose one week is randomly chosen. Construct a probability distribution table like the one in example above. The table should have two columns labeled [latex]x[/latex] and [latex]P(x)[/latex].  What does the [latex]P(x)[/latex] column sum to?
Click to see Solution
  1. Let [latex]X[/latex] be the number of days Nancy attends class per week.
  2. 0, 1, 2, and 3.
  3. [latex]x[/latex] [latex]P(x)[/latex]
    0 0.01
    1 0.04
    2 0.15
    3 0.80

    The [latex]P(x)[/latex] column sums to 1.

EXAMPLE

Jeremiah has basketball practice two days a week. Ninety percent of the time, he attends both practices. Eight percent of the time, he attends one practice. Two percent of the time, he does not attend either practice. What is [latex]X[/latex] and what values does it take on?

Solution:

[latex]X[/latex] is the number of days Jeremiah attends basketball practice per week. [latex]X[/latex] takes on the values 0, 1, and 2.


Watch this video: Constructing a Probability Distribution for a Random Variable by Khan Academy [6:47]


Concept Review

A probability distribution for a random variable describes how the probabilities are distributed over the random variable—in other words, the probability distribution describes the probability that the random variable takes on a specific value. A probability distribution includes all possible value the random variable can take on and the corresponding probability.  Each probability is between 0 and 1, inclusive, and the sum of the probabilities is 1.


Attribution

“4.1 Probability Distribution Function (PDF) for a Discrete Random Variable in Introductory Statistics by OpenStax is licensed under a Creative Commons Attribution 4.0 International License.

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Introduction to Statistics Copyright © 2022 by Valerie Watts is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.