13.3: Simple Dice Games
- Page ID
- 10257
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)In this section, we will analyze several simple games played with dice—poker dice, chuck-a-luck, and high-low. The casino game craps is more complicated and is studied in the next section.
Poker Dice
Definition
The game of poker dice is a bit like standard poker, but played with dice instead of cards. In poker dice, 5 fair dice are rolled. We will record the outcome of our random experiment as the (ordered) sequence of scores: \[\bs{X} = (X_1, X_2, X_3, X_4, X_5)\] Thus, the sample space is \(S = \{1, 2, 3, 4, 5, 6\}^5\). Since the dice are fair, our basic modeling assumption is that \(\bs{X}\) is a sequence of independent random variables and each is uniformly distributed on \(\{1, 2, 3, 4, 5, 6\}\).
Equivalently, \(\bs{X}\) is uniformly distributed on \(S\): \[\P(\bs{X} \in A) = \frac{\#(A)}{\#(S)}, \quad A \subseteq S\]
In statistical terms, a poker dice hand is a random sample of size 5 drawn with replacement and with regard to order from the population \(D = \{1, 2, 3, 4, 5, 6\}\). For more on this topic, see the chapter on Finite Sampling Models. In particular, in this chapter you will learn that the result of Exercise 1 would not be true if we recorded the outcome of the poker dice experiment as an unordered set instead of an ordered sequence.
The Value of the Hand
The value \(V\) of the poker dice hand is a random variable with support set \(\{0, 1, 2, 3, 4, 5, 6\}\). The values are defined as follows:
- None alike. Five distinct scores occur.
- One Pair. Four distinct scores occur; one score occurs twice and the other three scores occur once each.
- Two Pair. Three distinct scores occur; one score occurs twice and the other three scores occur once each.
- Three of a Kind. Three distinct scores occur; one score occurs three times and the other two scores occur once each.
- Full House. Two distinct scores occur; one score occurs three times and the other score occurs twice.
- Four of a king. Two distinct scores occur; one score occurs four times and the other score occurs once.
- Five of a kind. Once score occurs five times.
Run the poker dice experiment 10 times in single-step mode. For each outcome, note that the value of the random variable corresponds to the type of hand, as given above.
The Probability Density Function
Computing the probability density function of \(V\) is a good exercise in combinatorial probability. In the following exercises, we will need the two fundamental rules of combinatorics to count the number of dice sequences of a given type: the multiplication rule and the addition rule. We will also need some basic combinatorial structures, particularly combinations and permutations (with types of objects that are identical).
The number of different poker dice hands is \(\#(S) = 6^5 = 7776\).
\(\P(V = 0) = \frac{720}{7776} = 0.09259\).
Proof
Note that the dice scores form a permutation of size 5 from \(\{1, 2, 3, 4, 5\}\).
\(\P(V = 1) = \frac{3600}{7776} \approx 0.46296\).
Proof
The following steps form an algorithm for generating poker dice hands with one pair. The number of ways of performing each step is also given:
- Select the score that will appear twice: \(6\)
- Select the 3 scores that will appear once each: \(\binom{5}{3}\)
- Select a permutation of the 5 numbers in parts (a) and (b): \(\binom{5}{2, 1, 1, 1}\)
\(\P(V = 2) = \frac{1800}{7776} \approx 0.23148\).
Proof
The following steps form an algorithm for generating poker dice hands with two pair. The number of ways of performing each step is also given:
- Select two scores that will appear twice each: \(\binom{6}{2}\)
- Select the score that will appear once: \(4\)
- Select a permutation of the 5 numbers in parts (a) and (b): \(\binom{5}{2, 2, 1}\)
\(\P(V = 3) = \frac{1200}{7776} \approx 0.15432\).
Proof
The following steps form an algorithm for generating poker dice hands with three of a kind. The number of ways of performing each step is also given:
- Select the score that will appear 3 times: \(6\)
- Select the 2 scores that will appear once each: \(\binom{5}{2}\)
- Select a permutation of the 5 numbers in parts (a) and (b): \(\binom{5}{3, 1, 1}\)
\(\P(V = 4) = \frac{300}{7776} \approx 0.03858\).
Proof
The following steps form an algorithm for generating poker dice hands with a full house. The number of ways of performing each step is also given:
- Select the score that will appear 3 times: \(6\)
- Select the score that will appear twice: \(5\)
- Select a permutation of the 5 numbers in parts (a) and (b): \(\binom{5}{3, 2}\)
\(\P(V = 5) = \frac{150}{7776} = 0.01929\).
Proof
The following steps form an algorithm for generating poker dice hands with four of a kind. The number of ways of performing each step is also given:
- Select the score that will appear 4 times: \(6\)
- Select the score that will appear once: 5
- Select a permutation of the 5 numbers in parts (a) and (b): \(\binom{5}{4, 1}\)
\(\P(V = 6) = \frac{6}{7776} \approx 0.00077\).
Proof
There are 6 choices for the score that will appear 5 times.
Run the poker dice experiment 1000 times and compare the relative frequency function to the density function.
Find the probability of rolling a hand that has 3 of a kind or better.
Answer
0.2130
In the poker dice experiment, set the stop criterion to the value of \(V\) given below. Note the number of hands required.
- \(V = 3\)
- \(V = 4\)
- \(V = 5\)
- \(V = 6\)
Chuck-a-Luck
Chuck-a-luck is a popular carnival game, played with three dice. According to Richard Epstein, the original name was Sweat Cloth, and in British pubs, the game is known as Crown and Anchor (because the six sides of the dice are inscribed clubs, diamonds, hearts, spades, crown and anchor). The dice are over-sized and are kept in an hourglass-shaped cage known as the bird cage. The dice are rolled by spinning the bird cage.
Chuck-a-luck is very simple. The gambler selects an integer from 1 to 6, and then the three dice are rolled. If exactly \(k\) dice show the gambler's number, the payoff is \(k : 1\). As with poker dice, our basic mathematical assumption is that the dice are fair, and therefore the outcome vector \(\bs{X} = (X_1, X_2, X_3)\) is uniformly distributed on the sample space \(S = \{1, 2, 3, 4, 5, 6\}^3\).
Let \(Y\) denote the number of dice that show the gambler's number. Then \(Y\) has the binomial distribution with parameters \(n = 3\) and \(p = \frac{1}{6}\): \[\P(Y = k) = \binom{3}{k} \left(\frac{1}{6}\right)^k \left(\frac{5}{6}\right)^{3 - k}, \quad k \in \{0, 1, 2, 3\}\]
Let \(W\) denote the net winnings for a unit bet. Then
- \(W = - 1\) if \(Y = 0\)
- \(W = Y\) if \(Y \gt 0\)
The probability density function of \(W\) is given by
- \(\P(W = -1) = \frac{125}{216}\)
- \(\P(W = 1) = \frac{75}{216}\)
- \(\P(W = 2) = \frac{15}{216}\)
- \(\P(W = 3) = \frac{1}{216}\)
Run the chuck-a-luck experiment 1000 times and compare the empirical density function of \(W\) to the true probability density function.
The expected value and variance of \(W\) are
- \(\mathbb{E}(W) = -\frac{17}{216} \approx 0.0787\)
- \(\text{var}(W) = \frac{75815}{46656} \approx 1.239\)
Run the chuck-a-luck experiment 1000 times and compare the empirical mean and standard deviation of \(W\) to the true mean and standard deviation. Suppose you had bet $1 on each of the 1000 games. What would your net winnings be?
High-Low
In the game of high-low, a pair of fair dice are rolled. The outcome is
- high if the sum is 8, 9, 10, 11, or 12.
- low if the sum is 2, 3, 4, 5, or 6
- seven if the sum is 7
A player can bet on any of the three outcomes. The payoff for a bet of high or for a bet of low is \(1:1\). The payoff for a bet of seven is \(4:1\).
Let \(Z\) denote the outcome of a game of high-low. Find the probability density function of \(Z\).
Answer
\(\P(Z = h) = \frac{15}{36}\), \(\P(Z = l) = \frac{15}{36}\), \(\P(Z = s) = \frac{6}{36}\), where \(h\) denotes high, \(l\) denotes low, and \(s\) denotes seven.
Let \(W\) denote the net winnings for a unit bet. Find the expected value and variance of \(W\) for each of the three bets:
- high
- low
- seven
Answer
Let \(W\) denote the net winnings on a unit bet in high-low.
- Bet high: \(\E(W) = -\frac{1}{6}\), \(\var(W) = \frac{35}{36}\)
- Bet low: \(\E(W) = -\frac{1}{6}\), \(\var(W) = \frac{35}{36}\)
- Bet seven: \(\E(W) = -\frac{1}{6}\), \(\var(W) = \frac{7}{2}\)