Activity 3 Data

Section 1

2 3 4 5 6 7 8 9 10 11 12 W1 L1 P1 W L Rolls
0 1 1 5 7 3 7 4 6 1 1 4 2 30 15 21 159
0 1 2 7 2 6 8 5 3 2 0 8 1 27 19 17 138
0 3 2 3 3 6 7 3 5 2 2 8 5 23 18 18 105
1 4 3 7 6 3 6 2 3 0 1 3 6 27 13 23 114
2 3 3 6 6 4 2 4 2 1 3 5 8 23 11 25 103
1 3 1 4 7 2 6 5 2 3 2 5 6 25 16 20 96
2 4 0 2 5 7 6 5 1 3 1 10 7 19 16 20 109
1 0 2 6 6 5 5 6 2 1 2 6 3 27 20 16 117
1 0 0 5 5 9 3 6 5 1 1 10 2 24 14 22 103
0 3 2 5 2 7 7 6 1 3 0 10 3 23 15 21 120
1 3 3 5 2 6 7 4 3 2 0 8 4 24 14 22 115

Section 2

2 3 4 5 6 7 8 9 10 11 12 W1 L1 P1 W L Rolls
2 4 2 3 4 4 3 3 5 4 2 8 8 20 17 19 105
1 2 5 1 6 7 3 5 2 3 1 10 4 22 16 20 114
2 3 2 5 6 5 5 3 4 1 0 6 5 25 22 14 126
1 0 2 7 2 10 1 6 3 2 2 12 3 21 23 13 121
0 1 5 3 6 2 8 3 2 3 3 5 4 27 14 22 135
0 3 4 3 4 5 6 5 3 1 2 6 5 25 17 19 113
1 2 7 5 4 7 3 2 0 5 0 12 3 21 20 16 107
1 2 0 1 6 6 3 4 7 5 1 11 4 21 24 12 106
2 5 2 5 3 3 9 0 2 4 1 7 8 21 14 22 106
0 3 2 3 5 8 3 5 6 1 0 9 3 24 15 21 134

Totals

Sect 2 3 4 5 6 7 8 9 10 11 12 W1 L1 P1 W L Rolls
1 9 25 19 55 51 58 64 50 33 19 13 77 47 272 171 225 1,279
2 10 25 31 36 46 57 44 36 34 29 12 86 47 227 182 178 1,167
Total 19 50 50 91 97 115 108 86 67 48 25 163 94 499 353 403 2,446

Hypothesis Testing

Although hypothesis testing isn't covered until later, here are some things we'll be looking at later. Don't worry too much about what they mean for right now, but you may want to come back and look at them later.

Chi-Square Goodness of Fit Test

Probability theory tells us that the chance of getting a sum of 2 is 1/36, the chance of getting a sum of 3 is 2/36, and so on. The sum of the dice should have a nice triangular pattern if the theoretical values hold true. The expected frequencies are found by multiplying the total number of games by the chance of getting a 2, 3, 4, ..., or 12.

Sum 2 3 4 5 6 7 8 9 10 11 12 Total
Observed 19 50 50 91 97 115 108 86 67 48 25 756
Expected 21 42 63 84 105 126 105 84 63 42 21 756

Chi-sq = 8.55634921, df = 10, p-value = 0.574660

The p-value represents the probability of getting the results we actually got if the sum of the dice have the distribution they're supposed to have. A p-value of less than 0.05 would cause us to question whether or not the dice were behaving as they were expected to behave. This could happen if the dice weren't properly rolled or if some team made up their results.

Test About One Proportion

Another claim is that the probability of winning a game of craps is 244/495 and the probability of losing a game of craps is 251/495. We'll test the claim about the probabilty of winning a game of craps by comparing our results to the 244/495 and seeing whether or not our results are close enough that any differences could be do to chance alone or whether something unusual is going on (maybe our class is very lucky ... or unlucky ... at shooting craps. 244/495 is approximately 49.29% of the time.

Test of H0: p = 244/495 vs H1: p ≠ 244/495

x n sample p 95% C.I. Test
statistic
p-value
lower upper
353 756 0.466931 0.431368 0.502495 -1.430 0.152774

The p-value is the chance of getting the results we obtained if the true chance of winning a game is 244/495 = 49.2323%. If the p-value is less than 0.05 (5%), then we consider our results to be too unusual to happen by chance alone decide that something must be going on.

Our winning rate of 46.69% appears to be close enough to the expected 49.29% to say that our results could have happened by chance alone. There doesn't appear to be anything unusual going on here.

Of course, if we did this again, we might get different results.

Data Dictionary

2-12
The number of times that a 2, 3, 4, ..., 12 was the initial roll for the game of craps
W1, L1, P1
The number of times that the initial roll was a win (W1), loss (L1), or point (P1)
W, L
The number of times the overall result was a win (W) or loss (L)
Rolls
The total number of rolls necessary to play 36 games of craps