1st
September 2010
Session
1.5
Pairs of Dice and Random Variables.
Case Study #1.7: Pairs
to Sums
Case Description: Work
with a random variable that acts on pairs of outcomes.
We assume that the dice are
fair, and that the dice operate separately and independently.
Case Study Objectives:
We toss a pair of fair
dice, one three-sided d3:(faces 1,2,3) and one four-sided d4:(faces 1,2,3,4).
How many pairs are
possible, and what is the probability for each pair ?
Fair D4 model
Face Value |
Probability |
1 |
1/4 |
2 |
1/4 |
3 |
1/4 |
4 |
1/4 |
Total |
4/4 |
Fair D3 model
Face Value |
Probability |
1 |
1/3 |
2 |
1/3 |
3 |
1/3 |
Total |
3/3 |
There are 4*3=12 distinct
pairs possible: Writing each pair as (d4 face value, d3 face value):
(1,1), (2,1), (3,1),
(4,1), (1,2), (2,2), (3,2), (4,2), (1,3), (2,3), (3,3), (4,3)
(d4,d3) |
1 |
2 |
3 |
4 |
1 |
(1,1) |
(2,1) |
(3,1) |
(4,1) |
2 |
(1,2) |
(2,2) |
(3,2) |
(4,2) |
3 |
(1,3) |
(2,3) |
(3,3) |
(4,3) |
Under the independent
multiplication principle,
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pair → Sum |
1 |
2 |
3 |
4 |
1 |
(1,1) → 2 |
(2,1) → 3 |
(3,1) → 4 |
(4,1) → 5 |
2 |
(1,2) →
3 |
(2,2) → 4 |
(3,2) → 5 |
(4,2) → 6 |
3 |
(1,3) →
4 |
(2,3) → 5 |
(3,3) → 6 |
(4,3) → 7 |
Compute probabilities for
each sum. Map the pairs to sums, and list the pairs that lead to each sum.
Using the probabilities for each pair, compute probabilities for each sum
value:
Pr
Pr
1/12
Pr
Pr
Pr
(1/12)+(1/12)=
2/12
Pr
Pr
Pr
(1/12)+(1/12)
+(1/12)=
3/12
Pr
Pr
Pr
(1/12)+(1/12)
+(1/12)=
3/12
Pr
Pr
Pr
(1/12)+(1/12)=
2/12
Pr
Pr
1/12
Case Study #1.8
Probability Computation
Rules
Case Description:
Compute selected probabilities associated with a pair of dice.
D4 model
Face Value |
Probability |
1 |
4/10 |
2 |
3/10 |
3 |
2/10 |
4 |
1/10 |
Total |
10/10 |
d3 model
Face Value |
Probability |
1 |
1/6 |
2 |
2/6 |
3 |
3/6 |
Total |
1.00 |
The experiment: On each trial
of the experiment, we toss the pair of dice (defined above) and observe the
pair of faces that show.
Case Objectives: Lay out
the possible face-pairs, and compute the probability for each pair. State any
required assumptions.
Consider the random variable
that maps the pair of face values into the sum of the face values.
The PAIR Model
There are 4*3=12 distinct
pairs possible: Writing each pair as (d4 face value, d3 face value):
(1,1), (2,1), (3,1),
(4,1), (1,2), (2,2), (3,2), (4,2), (1,3), (2,3), (3,3), (4,3)
(d4,d3) |
1 |
2 |
3 |
4 |
1 |
(1,1) |
(2,1) |
(3,1) |
(4,1) |
2 |
(1,2) |
(2,2) |
(3,2) |
(4,2) |
3 |
(1,3) |
(2,3) |
(3,3) |
(4,3) |
Under the independent
multiplication principle,
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
Pr
The SUM Model
Pair → Sum |
1 |
2 |
3 |
4 |
1 |
(1,1) → 2 |
(2,1) → 3 |
(3,1) → 4 |
(4,1) → 5 |
2 |
(1,2) → 3 |
(2,2) → 4 |
(3,2) → 5 |
(4,2) → 6 |
3 |
(1,3) → 4 |
(2,3) → 5 |
(3,3) → 6 |
(4,3) → 7 |
Pr
Pr
Pr
Pr
(3/60)+(8/60)=
11/60
Pr
Pr
Pr
(2/60)+(6/60)+(12/60)=
20/60
Pr
Pr
Pr
(1/60)+(4/60) +(9/60)=
14/60
Pr
Pr
Pr
8/60
Pr
Pr
3/60
Compare sample
proportions (p) to model probabilities (P). Compare precision with increasing
sample size.
Samples:
6:30
Fair Pair Model |
|
|
|
Loaded Pair Model |
|
|
|
||
Sample #1 |
|
|
|
|
Sample #4 |
|
|
|
|
Sum |
n |
p |
P |
E200 |
Sum |
n |
p |
P |
E200 |
2 |
23 |
0.115 |
0.083 |
16.7 |
2 |
20 |
0.100 |
0.067 |
13.3 |
3 |
37 |
0.185 |
0.167 |
33.3 |
3 |
34 |
0.170 |
0.183 |
36.7 |
4 |
50 |
0.250 |
0.250 |
50.0 |
4 |
67 |
0.335 |
0.333 |
66.7 |
5 |
39 |
0.195 |
0.250 |
50.0 |
5 |
47 |
0.235 |
0.233 |
46.7 |
6 |
40 |
0.200 |
0.167 |
33.3 |
6 |
22 |
0.110 |
0.133 |
26.7 |
7 |
11 |
0.055 |
0.083 |
16.7 |
7 |
10 |
0.050 |
0.050 |
10.0 |
Total |
200 |
1 |
1 |
200 |
Total |
200 |
1 |
1 |
200 |
Sample #2 |
|
|
|
|
Sample #5 |
|
|
|
|
Sum |
n |
p |
P |
E200 |
Sum |
n |
p |
P |
E200 |
2 |
14 |
0.070 |
0.083 |
16.7 |
2 |
15 |
0.075 |
0.067 |
13.3 |
3 |
41 |
0.205 |
0.167 |
33.3 |
3 |
35 |
0.175 |
0.183 |
36.7 |
4 |
46 |
0.230 |
0.250 |
50.0 |
4 |
65 |
0.325 |
0.333 |
66.7 |
5 |
41 |
0.205 |
0.250 |
50.0 |
5 |
13 |
0.065 |
0.233 |
46.7 |
6 |
38 |
0.190 |
0.167 |
33.3 |
6 |
27 |
0.135 |
0.133 |
26.7 |
7 |
20 |
0.100 |
0.083 |
16.7 |
7 |
45 |
0.225 |
0.050 |
10.0 |
Total |
200 |
1 |
1 |
200 |
Total |
200 |
1 |
1 |
200 |
Sample #3 |
|
|
|
|
Sample #6 |
|
|
|
|
Sum |
n |
p |
P |
E200 |
Sum |
n |
p |
P |
E200 |
2 |
27 |
0.135 |
0.083 |
16.7 |
2 |
24 |
0.120 |
0.067 |
13.3 |
3 |
33 |
0.165 |
0.167 |
33.3 |
3 |
31 |
0.155 |
0.183 |
36.7 |
4 |
47 |
0.235 |
0.250 |
50.0 |
4 |
55 |
0.275 |
0.333 |
66.7 |
5 |
52 |
0.260 |
0.250 |
50.0 |
5 |
55 |
0.275 |
0.233 |
46.7 |
6 |
25 |
0.125 |
0.167 |
33.3 |
6 |
27 |
0.135 |
0.133 |
26.7 |
7 |
16 |
0.080 |
0.083 |
16.7 |
7 |
8 |
0.040 |
0.050 |
10.0 |
Total |
200 |
1 |
1 |
200 |
Total |
200 |
1 |
1 |
200 |
Pooled 123 |
|
|
|
|
Pooled 456 |
|
|
|
|
Sum |
n |
p |
P |
E600 |
Sum |
n |
p |
P |
E600 |
2 |
64 |
0.107 |
0.083 |
50 |
2 |
59 |
0.098 |
0.067 |
40 |
3 |
111 |
0.185 |
0.167 |
100 |
3 |
100 |
0.167 |
0.183 |
110 |
4 |
143 |
0.238 |
0.250 |
150 |
4 |
187 |
0.312 |
0.333 |
200 |
5 |
132 |
0.220 |
0.250 |
150 |
5 |
115 |
0.192 |
0.233 |
140 |
6 |
103 |
0.172 |
0.167 |
100 |
6 |
76 |
0.127 |
0.133 |
80 |
7 |
47 |
0.078 |
0.083 |
50 |
7 |
63 |
0.105 |
0.050 |
30 |
Total |
600 |
1 |
1 |
600 |
Total |
600 |
1 |
1 |
600 |
8:00
Fair Pair Model |
|
|
|
Loaded Pair Model |
|
|
|
||
Sample #1 |
|
|
|
|
Sample #4 |
|
|
|
|
Sum |
n |
p |
P |
E200 |
Sum |
n |
p |
P |
E200 |
2 |
19 |
0.095 |
0.083 |
16.7 |
2 |
17 |
0.085 |
0.067 |
13.3 |
3 |
43 |
0.215 |
0.167 |
33.3 |
3 |
33 |
0.165 |
0.183 |
36.7 |
4 |
55 |
0.275 |
0.250 |
50.0 |
4 |
66 |
0.330 |
0.333 |
66.7 |
5 |
37 |
0.185 |
0.250 |
50.0 |
5 |
45 |
0.225 |
0.233 |
46.7 |
6 |
25 |
0.125 |
0.167 |
33.3 |
6 |
28 |
0.140 |
0.133 |
26.7 |
7 |
21 |
0.105 |
0.083 |
16.7 |
7 |
11 |
0.055 |
0.050 |
10.0 |
Total |
200 |
1 |
1 |
200 |
Total |
200 |
1 |
1 |
200 |
Sample #2 |
|
|
|
|
Sample #5 |
|
|
|
|
Sum |
n |
p |
P |
E200 |
Sum |
n |
p |
P |
E200 |
2 |
24 |
0.120 |
0.083 |
16.7 |
2 |
16 |
0.080 |
0.067 |
13.3 |
3 |
34 |
0.170 |
0.167 |
33.3 |
3 |
41 |
0.205 |
0.183 |
36.7 |
4 |
55 |
0.275 |
0.250 |
50.0 |
4 |
63 |
0.315 |
0.333 |
66.7 |
5 |
37 |
0.185 |
0.250 |
50.0 |
5 |
41 |
0.205 |
0.233 |
46.7 |
6 |
39 |
0.195 |
0.167 |
33.3 |
6 |
30 |
0.150 |
0.133 |
26.7 |
7 |
11 |
0.055 |
0.083 |
16.7 |
7 |
9 |
0.045 |
0.050 |
10.0 |
Total |
200 |
1 |
1 |
200 |
Total |
200 |
1 |
1 |
200 |
Sample #3 |
|
|
|
|
Sample #6 |
|
|
|
|
Sum |
n |
p |
P |
E200 |
Sum |
n |
p |
P |
E200 |
2 |
18 |
0.090 |
0.083 |
16.7 |
2 |
20 |
0.100 |
0.067 |
13.3 |
3 |
32 |
0.160 |
0.167 |
33.3 |
3 |
38 |
0.190 |
0.183 |
36.7 |
4 |
48 |
0.240 |
0.250 |
50.0 |
4 |
47 |
0.235 |
0.333 |
66.7 |
5 |
57 |
0.285 |
0.250 |
50.0 |
5 |
45 |
0.225 |
0.233 |
46.7 |
6 |
25 |
0.125 |
0.167 |
33.3 |
6 |
33 |
0.165 |
0.133 |
26.7 |
7 |
20 |
0.100 |
0.083 |
16.7 |
7 |
17 |
0.085 |
0.050 |
10.0 |
Total |
200 |
1 |
1 |
200 |
Total |
200 |
1 |
1 |
200 |
Pooled 123 |
|
|
|
|
Pooled 456 |
|
|
|
|
Sum |
n |
p |
P |
E600 |
Sum |
n |
p |
P |
E600 |
2 |
61 |
0.102 |
0.083 |
50 |
2 |
53 |
0.088 |
0.067 |
40 |
3 |
109 |
0.182 |
0.167 |
100 |
3 |
112 |
0.187 |
0.183 |
110 |
4 |
158 |
0.263 |
0.250 |
150 |
4 |
176 |
0.293 |
0.333 |
200 |
5 |
131 |
0.218 |
0.250 |
150 |
5 |
131 |
0.218 |
0.233 |
140 |
6 |
89 |
0.148 |
0.167 |
100 |
6 |
91 |
0.152 |
0.133 |
80 |
7 |
52 |
0.087 |
0.083 |
50 |
7 |
37 |
0.062 |
0.050 |
30 |
Total |
600 |
1 |
1 |
600 |
Total |
600 |
1 |
1 |
600 |
We’re seeing the pair model
inheriting its probability structure from the individual dice. The random
variable in turn inherits its probability structure from the pair model.
Begin work on Pairs of
Dice and Random Variables
c