Module 9 - Probability Applets Lab Activity Copy
What Is the Relationship between Theoretical and Empirical Probability?
We investigate this question in the following two activities using coin flipping.
You will not need to turn anything in for this lab. Just work through the directions and questions below to understand the connection between theoretical probability and empirical probability.
Purpose
Our goal is to understand how the empirical probability relates to the theoretical probability. We will focus on P(H), the probability of a head. First we will examine what happens with a fair coin. Then we will examine what happens with an unfair coin.
You will use the applet below for both investigations. Follow the instructions posted below the applet.
Part (1): A Fair Coin
A single flip of a coin has an uncertain outcome. We do not know if we will get heads or tails. If we flip the coin 6 times, we are not guaranteed to get 3 heads and 3 tails. So what exactly does it mean when we say the theoretical probability P(heads) = 0.5? To answer this question, we use an applet to simulate flipping a fair coin.
-
Start by setting the applet to represent the flipping of a fair coin. Set P(heads) to 0.5.
-
Now use the applet to simulate flipping a fair coin three times.
Set Coins to 1. Press the “1 Flip” button 3 times.
Notice that for each flip, you will see either heads (1) or tails (0) appear in the histogram count. Obviously, these are the only possibilities, so you will not see anything appear for values on the horizontal axis greater than 1 because you are only flipping one coin. -
First estimate of the theoretical probability P(H) for a fair coin using 3 flips.
Based on your 3 flips, what is the estimate for P(H)?
(Calculate this by dividing: # heads divided by 3. Why divide by 3? Because there were 3 coin flips.)
-
A second estimate of the theoretical probability P(H) for a fair coin using 30 flips.
Press the Reset button so that the count is cleared.
Keep Coins = 1 and P(heads) = 0.5. Now press the “10 Flips” button 3 times so that you have 30 coin flips. (This is easier than pressing "1 Flip" thirty times!)
a) Based on your 30 flips, what is your estimate for P(H)?
(Calculate P(H) = # heads / 30)
How close was your estimate to the theoretical probability of 0.5?
b) Obviously, we will not always get 15 heads out of 30 flips. The histogram below shows results for 12 of your classmates. Each small rectangle represents an empirical estimate for P(H) from 30 flips.
To check your understanding of this graph, identify where your P(H) estimate would be in the histogram.
Out of 12 people, two people got exactly 0.5 (15 heads in 30 flips; shown in red.) Results ranged from 7 to 23 heads, so estimates for P(H) ranged from 0.23 (7 out of 30) to 0.77 (23 out of 30). The average empirical probability estimate (shown by the green triangle in the histogram) was 0.497, which is very close to the theoretical probability.
-
A third estimate of the theoretical probability P(H) for a fair coin using 1000 flips.
Press the Reset button so that the count is cleared.
Keep Coins = 1 and P(heads) = 0.5. Now press the Auto button and watch the count of heads and tails change. Click the Pause (II) button once Total Flips is 1,000.
a) Based on your 1000 flips, what is your estimate for P(H)?
b) Obviously, we will not always get 500 heads out of 1000 flips. The histogram below shows results for 12 of your classmates. Each small rectangle represents an empirical estimate for P(H) from 1000 flips.
Out of 12 people, no one got an estimate for P(H) that was exactly 0.5 (500 heads in 1000 flips.) Results ranged from 467 to 509 heads, so estimates for P(H) ranged from about 0.47 (467 out of 1000) to 0.51 (509 out of 1000). The average empirical probability estimate (shown by the green triangle in the histogram) was 0.491, which is very close to the theoretical probability.
- Which provides a better estimate of the theoretical probability P(H) for the fair coin: an empirical probability using 30 flips or 1000 flips? Why do you think so?
Part (2): An Unfair Coin
-
Start by setting the applet to represent the flipping of an unfair coin. Set P(heads) to 0.2 to represent a coin that has only a 20% probability of landing on heads. We will repeat some of Part 1 using the unfair coin to examine how empirical probability estimates relate to the theoretical probability of 0.2.
-
An estimate of P(H) for an unfair coin using 30 flips.
With Coins = 1 and P(heads) = 0.2, press the “10 Flips” button 3 times so that you have 30 coin flips. (This is easier than pressing "1 Flip" thirty times!)
a) Based on your 30 flips, what is your empirical estimate for P(H)?
How close was your estimate to the theoretical probability 0.2?
b) The histogram below shows results for 12 of your classmates. Each small rectangle represents an estimate for P(H) from 30 flips.
To check your understanding of this graph, identify where your P(H) estimate would be in the histogram.
Two of the 12 students got exactly 6 heads, which is 6/30=0.2. But many students did not. Results ranged from 3 to 8 heads, so estimates for P(H) ranged from 0.10 (3 out of 30) to 0.27 (8 out of 30) with an average of 0.18 (5.25 heads out of 30), which is close to the theoretical probability of 0.2.
-
Another estimate of P(H) for an unfair coin using 1000 flips.
Press the Reset button so that the count is cleared.
Keep Coins = 1 and P(heads) = 0.2. Now press the Auto button and watch the count of heads and tails change. Click the Pause (II) button once Total Flips is 1,000.
a) Based on your 1000 flips, what is your empirical estimate for P(H)?
b) Obviously, when the theoretical probability is 0.20, we will not always get 200 heads out of 1000 flips. The histogram below shows results for 12 of your classmates. Each small rectangle represents an estimate for P(H) from 1000 flips.
Out of 12 people, no one got exactly 200 heads in 1000 flips. Results ranged from 184 to 218 heads, so estimates for P(H) ranged from about 0.18 (184 out of 1000) to 0.22 (218 out of 1000) with an average of 0.202 (201.6 heads), which is very close to the theoretical probability of 0.200.
- Which provides a better estimate of theoretical probability P(H) for the unfair coin: an empirical probability using 30 flips or 1000 flips? Why do you think so?
What can we learn from these activities? Here are the big conceptual points:
- This activity helped us examine the relationship between empirical probability and theoretical probability.
- An empirical probability is an estimate based on a relative frequency: a calculation of how often an outcome occurs in a long series of repetitions. It is based on data.
- A theoretical probability is what we expect to happen. It is not based on data.
- When we examine empirical probabilities, on average they do a good job estimating a theoretical probability.
- There is less variability in the empirical probabilities with a large number of repetitions.
- In some situations we will not know, or it is impossible to determine, a theoretical probability, so we can use a single empirical probability as an estimate. In these situations, we are more confident about estimating the probability of an outcome using an empirical probability with a large number of repetitions.