15  Equally Likely Outcomes and Counting Rules

Example 15.1 Suppose that to send an internet packet from the east coast of the US to the west coast, a packet must go through a major east-coast city (Boston, New York, Washington DC, or Atlanta), then a major midwest city (Chicago, St. Louis, or New Orleans), and then a major west-coast city (San Francisco or Los Angeles). How many possible routes are there?






Example 15.2 Suppose the board of directors of a corporation has identified 5 candidates — Ariana, Beyonce, Cardi, Drake, Elvis — for three distinct executive positions: chief executive officer (CEO), chief financial officer (CFO), and chief operating officer (COO). In the interest of fairness, the board assigns 3 of the 5 candidates to the positions completely at random. No individual can hold more than one of the positions.

When calculating probabilities below, consider the sample space of all possible executive teams.

  1. How many executive teams are possible?



  2. What is the probability that Ariana is CEO, Beyonce is CFO, and Cardi is COO?




  3. What is the probability that Ariana is CEO and Beyonce is CFO?



  4. What is the probability that Ariana is CEO?



Example 15.3 Your boss is forming a committee of 3 people for a new project team, and 5 people — Ariana, Beyonce, Cardi, Drake, Elvis— have volunteered to be on the committee. In the interest of fairness, 3 of the 5 people will be selected uniformly at random to form the committee.

  1. How many possible committees consist of Ariana, Beyonce, Cardi? How many executive teams from the previous example consisted of Ariana, Beyonce, Cardi? How is this example different from the executive team example?



  2. How many different possible committees of 3 people can be formed from the 5 volunteers?



Example 15.4 Continuous Example 15.3. Your boss is forming a committee of 3 people for a new project team, and 5 people — Ariana, Beyonce, Cardi, Drake, Elvis— have volunteered to be on the committee. In the interest of fairness, 3 of the 5 people will be selected uniformly at random to form the committee.

  1. Find the probability that the committee consists of Ariana, Beyonce, and Cardi.



  2. Find the probability that Ariana and Beyonce are on the committee.



  3. Find the probability that Ariana is on the committee.



Example 15.5 A standard deck of 52 cards contains 4 suits (hearts, diamonds, spades, clubs) each consisting of 13 different face values (2 through 10, jack, queen, king, ace). The deck is well shuffled and a hand of 5 cards is dealt (without replacement as is usual in practice).

  1. How many possible hands are there?



  2. What is the probability the hand contains exactly 4 hearts?



  3. What is the probability the hand contains 3 aces and 2 kings?



  4. What is the probability the hand is a full house (3 cards of one face value and 2 of another)?



Example 15.6 Capture-recapture sampling is a technique often used to estimate the size of a population. Suppose you want to estimate \(N\), the number of monarch butterflies in Pismo Beach. Assume that \(N\) is a fixed but unknown number1; the population size doesn’t change over time. You first capture a sample of \(N_1\) butterflies, selected randomly without replacement, and tag them and release them. At a later date, you then capture a second sample of \(n\) butterflies, selected randomly from the \(N\) butterflies without replacement. Let \(X\) be the number of butterflies in the second sample that have tags (because they were also caught in the first sample). (Assume that the tagging has no effect on behavior, so that selection in the first sample is independent of selection in the second sample.)

In practice, \(N\) is unknown and the goal is to estimate it based on what we observe for \(X\); we’ll see later how to do this later. For now, we’ll start with a simpler, but unrealistic, example where \(N\) is known. Assume there are \(N=52\) butterflies, \(N_1 = 13\) are tagged in the first sample, and \(n=5\) is the size of the second sample.

  1. What are the possible values of \(X\)?




  2. Describe in detail how you could use simulation to approximate the distribution of \(X\).




  3. Find \(\text{P}(X = 0)\) in two ways. Interpret the value in context.




  4. Find the probability that in the second sample the first butterfly selected is tagged but the rest are not.




  5. Find the probability that in the second sample the first four butterflies selected are not tagged but the fifth is.




  6. Find \(\text{P}(X = 1)\) in two ways. Interpret the value in context.




  7. Find \(\text{P}(X = 2)\) in two ways. Interpret the value in context.




  8. Suggest a formula for determining the distribution of \(X\).




  9. Suggest a simple shortcut formula for \(\text{E}(X)\).




  10. Use the distribution of \(X\) to compute \(\text{E}(X)\). Does it match with the shortcut formula? Intepret the value in context.





  1. Another approach—a Bayesian approach—is to treat the unknown number \(N\) as a random variable with a distribution that quantifies its uncertainty.↩︎

  2. We must have \(X\le N_1\) since there can’t be more successes in the sample than there are in the population. Similarly, we must have \(X\ge n - N_0\), that is \(n-X\le N_0\), since there can’t be more failures in the sample than there are in the population. Often the population sizes \(N_0\) and \(N_1\) are large relative to the sample size \(n\) in which case \(X\) simply takes values \(0, 1,\ldots, n\).↩︎