Learning Outcomes
- Describe the two characteristics of a probability distribution for a discrete random variable
- Create a discrete probability distribution for a given discrete random variable
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:
- Each probability is between zero and one, inclusive.
- 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:
- Each [latex]P(x)[/latex] is between zero and one, inclusive.
- The sum of the probabilities is one, that is,
Try it
A hospital researcher is interested in the number of times the average post-op patient will ring the nurse during a 12-hour shift. For a random sample of 50 patients, the following information was obtained. Let [latex]X=[/latex] the number of times a patient rings the nurse during a 12-hour shift. For this exercise, [latex]X=0, 1, 2, 3, 4, 5[/latex]. [latex]P(x)[/latex] = the probability that [latex]X[/latex] takes on value [latex]x[/latex]. Why is this a discrete probability distribution function (two reasons)?
[latex]X[/latex] | [latex]P(x)[/latex] |
---|---|
[latex]0[/latex] | [latex]P(x= 0) = \frac{4}{50}[/latex] |
[latex]1[/latex] | [latex]P(x= 1) = \frac{8}{50}[/latex] |
[latex]2[/latex] | [latex]P(x= 2) = \frac{16}{50}[/latex] |
[latex]3[/latex] | [latex]P(x= 3) = \frac{14}{50}[/latex] |
[latex]4[/latex] | [latex]P(x= 4) = \frac{6}{50}[/latex] |
[latex]5[/latex] | [latex]P(x= 5) = \frac{2}{50}[/latex] |
Example
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.
- Let [latex]X[/latex] = the number of days Nancy ____________________.
-
[latex]X[/latex] takes on what values?
-
Suppose one week is randomly chosen. Construct a probability distribution table (called a PDF table) like the one in the previous Try It. 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?
Try it
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?