LoslegenKostenlos loslegen

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?

Diese Übung ist Teil des Kurses

Probability Puzzles in R

Kurs anzeigen

Anleitung zur Übung

  • 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.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

outs <- c(0:25)

# Calculate probability of not winning
p_no_outs <- ___/choose(47, 2)

# Calculate probability of winning
p_win <- ___

print(p_win)
Code bearbeiten und ausführen