Lesson 10.4: Discrete Random Variables and Expectation
Introduction
In this lesson, we will explore discrete random variables and their associated probability distributions. Understanding these concepts is crucial for making informed decisions across various fields, including business and social sciences. By the end of this lesson, you will:
- Gain a solid understanding of discrete random variables and their probability distributions.
- Learn how to calculate the expected value of a discrete random variable.
- Understand how expectation can be used to inform simple decisions.
- Construct a probability distribution for a discrete random variable and perform calculations on it.
Let us dive into the fascinating world of probability!
Discrete Random Variables and Probability Distributions
What is a Discrete Random Variable?
A discrete random variable is a variable that can take on a countable number of distinct values. This means that the values can often be listed out, such as the number of students in a classroom, the number of heads in a series of coin flips, or the score on a die roll.
Characteristics of Discrete Random Variables
- Countability: The values are distinct and can be counted.
- Non-negativity: Many discrete random variables (like counts of items) cannot take on negative values, although this depends on the context.
- Example: Let $ X $ be the number of heads obtained when flipping a fair coin three times. Here, the possible values for $ X $ are 0, 1, 2, and 3.
Probability Distributions
A probability distribution for a discrete random variable is a function that gives the probabilities of the various outcomes the random variable can take on. It satisfies two key properties:
- The sum of the probabilities of all possible outcomes must equal 1.
- Probabilities for each outcome must be between 0 and 1, inclusive.
Example: Constructing a Probability Distribution
Let's consider a fair six-sided die. Let $ Y $ be a discrete random variable representing the outcome of rolling the die. The probability distribution can be defined as follows:
- $ P(Y=1) = \frac{1}{6} $
- $ P(Y=2) = \frac{1}{6} $
- $ P(Y=3) = \frac{1}{6} $
- $ P(Y=4) = \frac{1}{6} $
- $ P(Y=5) = \frac{1}{6} $
- $ P(Y=6) = \frac{1}{6} $
You can see that:
$$\sum_{y=1}^{6} P(Y=y) = 1$$
This distribution meets both properties of a probability distribution.
Expected Value of a Discrete Random Variable
The expected value (or expectation) is a key concept in probability, representing the average or mean outcome of a random variable if the experiment were repeated many times. It is denoted as $ E(X) $ for a discrete random variable $ X $. The expected value is calculated using:
$$E(X) = \sum_{x} x \cdot P(X=x)$$
where $ x $ represents all possible outcomes of the random variable and $ P(X=x) $ is the probability of each outcome.
Example: Calculate the Expected Value
Consider the earlier example of a fair six-sided die. The expected value can be calculated as follows:
$$E(Y) = \sum_{y=1}^{6} y \cdot P(Y=y)$$
Substituting in the probabilities we defined, we have:
$$E(Y) = 1 \cdot \frac{1}{6} + 2 \cdot \frac{1}{6} + 3 \cdot \frac{1}{6} + 4 \cdot \frac{1}{6} + 5 \cdot \frac{1}{6} + 6 \cdot \frac{1}{6}$$
Calculating each term yields:
$$E(Y) = \frac{1}{6}(1 + 2 + 3 + 4 + 5 + 6)$$
The sum $ 1 + 2 + 3 + 4 + 5 + 6 = 21 $, so:
$$E(Y) = \frac{21}{6} = 3.5$$
This means that if you rolled a die many times, the average of all rolls would approach 3.5.
Using Expectation to Inform Decisions
The expected value can assist in decision-making processes. For example, consider two different games:
- Game A: Roll a six-sided die and win the amount shown.
- Game B: Pay 3 to roll a six-sided die, but you win $10 if you roll a 5 or 6; otherwise, you lose your $3.
To evaluate which game is better, calculate the expected value of both games.
- Game A:
$$E(A) = E(Y) = 3.5$$
- Game B:
- Winning probabilities: $ P(5 \text{ or } 6) = \frac{1}{3} $
- Losing probability: $ P(\text{not } 5 \text{ or } 6) = \frac{2}{3} $
- Expected payout: $(10 - 3) \cdot \frac{1}{3} - 3 \cdot \frac{2}{3}$
$$E(B) = (7) \cdot \frac{1}{3} - 2 = \frac{7}{3} - 2 = \frac{7 - 6}{3} = \frac{1}{3}$$
Since $ E(A) = 3.5 $ and $ E(B) = \frac{1}{3} $, Game A offers a better expected outcome than Game B.
Conclusion
In this lesson, we covered the essentials of discrete random variables and how to calculate their expected values. We applied these concepts to evaluate games, showing how expectation can guide decision-making. As you continue to study probability, remember the importance of discrete random variables and their distributions.
Study Notes
- Discrete Random Variable: A variable that can take a countable number of distinct values.
- Probability Distribution: A function that defines the probabilities for each outcome of a discrete random variable.
- Expected Value: Calculated using the formula $ E(X) = \sum_{x} x \cdot P(X=x) $.
- Decision-Making: Use expected values to compare and inform decisions in uncertain scenarios.
