Exercise

Two cards to come

Let's now consider the point at which two cards will still come. Here, we will find the probability of winning for any number of outs.

At this point, there are 3 cards face up, and 2 in your hand. With 52 total cards in the deck, this leaves 47 unseen cards, so the denominator is \({47 \choose 2}\) to represent the total number of combinations for the two cards to come.

An often-used approximation among poker players is that the win probability is equal to \(\frac{4 \times outs}{100}\). How good is this approximation?

Instructions

100 XP
  • Use the outs vector to fill in the numerator of p_no_outs, which counts the number of ways that none of the outs will come in the next two cards.
  • Calculate the probabilities of winning corresponding to each number of outs.