H T H
where H is a head and T a tail. Suppose we record
In the three tosses above, we observe 2 heads and 3 runs in the sequence.
We are interested in talking about probabilities involving both measurements "number of heads" and "number of runs". These are described as joint probabilities , since they reflect the outcomes of two variables.
To construct this type of probability distribution, we first describe the collection of possible outcomes for the two variables. The number of heads in three tosses could be 0, 1, 2, or 3, and the number of runs in a sequence could be 1, 2, or 3. We represent these outcomes by the following two-way table:
| NUMBER OF HEADS | |||||
|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | ||
| 1 | |||||
| NUMBER OF RUNS | 2 | ||||
| 3 | |||||
Next we have to place probabilities in the above table. If we toss a coin three times, there are 8 possible outcomes. Since the coin is fair, each of the outcomes has the same probability. In the table below, we list the eight outcomes, the number of heads and the number of runs in the outcome and the probability of the outcome.
| OUTCOME | # OF HEADS | # OF RUNS | PROBABILITY |
|---|---|---|---|
| H H H | 3 | 1 | 1/8 |
| H H T | 2 | 2 | 1/8 |
| H T H | 2 | 3 | 1/8 |
| H T T | 1 | 2 | 1/8 |
| T H H | 2 | 2 | 1/8 |
| T H T | 1 | 3 | 1/8 |
| T T H | 1 | 2 | 1/8 |
| T T T | 0 | 1 | 1/8 |
Now we are ready to fill in the probability table. Start with the box in the first row and first column. What is the probability that the number of runs is equal to 1 and the number of heads is equal to 0? Looking at the outcome table, we see that this happens once (for outcome TTT). So the probability of 1 run and 0 heads is equal to the probability of TTT, which is 1/8. What's the probability of 1 run and 1 head. We see from the outcome table that this never happens, so the probability in this box is 0. Next look at the box in the second row and second column. To find the probability of 2 runs and 1 head, we see that this happens twice in the outcome table (HTT and TTH). So the probability in this box is 2/8. If we continue this for all boxes, we get the following probability table.
| NUMBER OF HEADS | |||||
|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | ||
| 1 | 1/8 | 0 | 0 | 1/8 | |
| NUMBER OF RUNS | 2 | 0 | 2/8 | 2/8 | 0 |
| 3 | 0 | 1/8 | 1/8 | 0 | |
For the following questions, it might be helpful to convert this probability table to a count table. Suppose that we tossed three coins 800 times. Then we would expect to get 1 run and 0 head 1/8th of the experiments, or 100 times, we expect to get 2 runs and 1 head 2/8th of the time, or 200 experiments, and so on. By converting probabilities to counts, we get the following count table. This represents what we think would happen if we did this coin experiment many times. Note that I have added an extra row and extra column to the table. The TOTAL column gives the number of counts in each row and the TOTAL row gives the number of counts in each column.
| NUMBER OF HEADS | ||||||
|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | TOTAL | ||
| 1 | 100 | 0 | 0 | 100 | 200 | |
| NUMBER OF RUNS | 2 | 0 | 200 | 200 | 0 | 400 |
| 3 | 0 | 100 | 100 | 0 | 200 | |
| TOTAL | 100 | 300 | 300 | 100 | 800 | |
Using this count table, we'll ask some questions which explore the connection between the number of heads in this experiment and the number of runs.
Return to AN INTRODUCTION TO PROBABILITY