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.

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:

$$X=\left(\begin{array}{c}X_{1}\\ X_{2}\\ X_{3}\\ X_{4}\\ X_{5}\end{array}\right)$$Thus, the sample space is $S=\{1, 2, 3, 4, 5, 6\}^{5}$. Since the dice are fair, our basic modeling assumption is that $X$ is a sequence of independent random variables and each is uniformly distributed on $\{1, 2, 3, 4, 5, 6\}$.

Show that $X$ is uniformly distributed on $S$:

$$(X\in A)=\frac{|A|}{|S|}\text{,\hspace{1em}}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 $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.

Computing the probability density function of $V$ is a good exercise in combinatorial probability. In the following exercises, you will need to use the two fundamental rules of combinatorics to count the number of dice sequences of a given type: the multiplication rule and the addition rule. You will also need to remember some basic combinatorial structures, particularly combinations and permutations (with types of objects that are identical). We give some hints on constructing an algorithm for generating sequences of the given type.

Show that the number of different poker dice hands is $$|S|=6^{5}=7776$$.

Show that $(V=0)=720/7776\approx 0.09259$.

- Note that the dice scores form a permutation of size 5 from $\{1, 2, 3, 4, 5, 6\}$

Show that $(V=1)=3600/7776\approx 0.46296$

- Select the score that will appear twice.
- Select the 3 scores that will appear once each.
- Select a permutation of the 5 numbers in parts (a) and (b).

Show that $(V=2)=1800/7776\approx 0.23148$

- Select two scores that will appear twice each.
- Select the score that will appear once.
- Select a permutation of the 5 numbers in parts (a) and (b).

Show that $(V=3)=1200/7776\approx 0.23148$

- Select the score that will appear 3 times.
- Select the 2 scores that will appear once each.
- Select a permutation of the 5 numbers in parts (a) and (b).

Show that $(V=4)=300/7776\approx 0.03858$

- Select the score that will appear 3 times.
- Select the score that will appear twice.
- Select a permutation of the 5 numbers in parts (a) and (b).

Show that $(V=5)=150/7776\approx 0.01929$.

- Select the score that will appear 4 times.
- Select the score that will appear once.
- Select a permutation of the 5 numbers in parts (a) and (b).

Show that $(V=6)=6/7776\approx 0.00077$.

- Select the score that will appear 5 times.

Run the poker dice experiment 1000 times with an update frequency of 10. Note the apparent convergence of the relative frequency function to the density function.

In the poker dice experiment, set the update frequency to 100 and 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 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 oversized 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 $$X=\left(\begin{array}{c}X_{1}\\ X_{2}\\ X_{3}\end{array}\right)$$ 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. Show that $Y$ has the binomial distribution with parameters $n=3$ and $p=1/6$:

$$(Y=k)=(3, k)1/6^{k}5/6^{(3-k)}\text{,\hspace{1em}}k\in \{0, 1, 2, 3\}$$Let $W$ denote the net winnings for a unit bet. Show that

$$W=\begin{cases}-1 & \text{if $Y=0$}\\ Y & \text{if $Y> 0$}\end{cases}$$Show that

- $(W=-1)=125/216$
- $(W=1)=75/216$
- $(W=2)=15/216$
- $(W=3)=1/216$

Run the chuck-a-luck experiment 1000 times, updating every 10 runs. Note the apparent convergence of the empirical density of $W$ to the true density.

Show that

- $(W)=-17/216\approx -0.0787$
- $\sigma(W)^2=75815/46656\approx 1.239$

Run the chuck-a-luck experiment 1000 times, updating every 10 runs. Note the apparent convergence of the empirical moments of $W$ to the true moments. Suppose you had bet $1 on each of the 1000 games. What would your net winnings be?

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)$.