4.1: Probability Distribution Function (PDF) for a Discrete Random Variable

Learning Outcomes

  • Recognize and understand discrete probability distribution functions, in general

The idea of a random variable can be confusing. In this video we help you learn what a random variable is, and the difference between discrete and continuous random variables.

A discrete probability distribution function has two characteristics:

  1. Each probability is between zero and one, inclusive.
  2. The sum of the probabilities is one.

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] the number of times per week a newborn baby’s crying wakes its mother after midnight. For this example, [latex]x = 0, 1, 2, 3, 4, 5[/latex].

[latex]P(x) =[/latex] probability that [latex]X[/latex] takes on a value [latex]x[/latex].

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

[latex]X[/latex] takes on the values [latex]0, 1, 2, 3, 4, 5.[/latex] This is a discrete PDF because:

  1. Each [latex]P(x)[/latex] is between zero and one, inclusive.
  2. The sum of the probabilities is one, that is,
[latex](\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 [latex]80[/latex]% of the time, two days [latex]15[/latex]% of the time, one day [latex]4[/latex]% of the time, and no days [latex]1[/latex]of the time. Suppose one week is randomly selected.

a. Let [latex]X[/latex] = the number of days Nancy ____________________.
 b. [latex]X[/latex] takes on what values?
 c. Suppose one week is randomly chosen. Construct a probability distribution table (called a PDF table) like the one in Example 1. 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?

 

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 X 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 [latex]0, 1,[/latex] and [latex]2.[/latex]

 

Concept Review

The characteristics of a probability distribution function (PDF) for a discrete random variable are as follows:

  1. Each probability is between zero and one, inclusive (inclusive means to include zero and one).
  2. The sum of the probabilities is one.

 Try it

Solution:

a. Let [latex]X[/latex] = the number of days Nancy attends class per week.

b. [latex]0, 1, 2,[/latex] and [latex]3[/latex]

c.

[latex]x[/latex] [latex]P(x)[/latex]
[latex]0[/latex] [latex]0.01[/latex]
[latex]1[/latex] [latex]0.04[/latex]
[latex]2[/latex] [latex]0.15[/latex]
[latex]3[/latex] [latex]0.80[/latex]