0% found this document useful (0 votes)
30 views

Sampling Example

This document contains data from rolling two dice multiple times. It includes the raw data sample of over 100 rolls with the sum of each roll. It then calculates summary statistics like the mean, variance, and standard deviation of the sample. Finally, it shows a histogram of the frequency of different sums ("bins") when rolling two dice.
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Sampling Example

This document contains data from rolling two dice multiple times. It includes the raw data sample of over 100 rolls with the sum of each roll. It then calculates summary statistics like the mean, variance, and standard deviation of the sample. Finally, it shows a histogram of the frequency of different sums ("bins") when rolling two dice.
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Bin

More

Frequency
1
2
1.5
8
2
9
2.5
13
3
11
3.5
23
4
13
4.5
11
5
8
5.5
9
6
1
0

Histogram
30
20
10
Frequency 0

Frequency

Bin

Frequency

ONE DIE
X
1
2
3
4
5
6

p_X
0.166667
0.166667
0.166667
0.166667
0.166667
0.166667

mu
3.5

(X-mu)
-2.5
-1.5
-0.5
0.5
1.5
2.5

(X-mu)2
6.25
2.25
0.25
0.25
2.25
6.25

ONE DIE - SAMPLE SIZE=2 (we throw 2 dice at a time)

3.5

throw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

1.20762

die1
3
6
5
5
5
2
2
5
1
3
3
2
2
3
1
4
5
1
3
6
3
2
2
5
5
5
5

die2
4
2
3
2
3
6
1
1
1
6
2
3
3
4
2
3
1
4
1
1
4
6
2
2
6
6
1

raw data sample


mean
3.5
4
4
3.5
4
4
1.5
3
1
4.5
2.5
2.5
2.5
3.5
1.5
3.5
3
2.5
2
3.5
3.5
4
2
3.5
5.5
5.5
3

mu_xbar
3.4722

(data-mu_xbar)
0.0278
0.5278
0.5278
0.0278
0.5278
0.5278
-1.9722
-0.4722
-2.4722
1.0278
-0.9722
-0.9722
-0.9722
0.0278
-1.9722
0.0278
-0.4722
-0.9722
-1.4722
0.0278
0.0278
0.5278
-1.4722
0.0278
2.0278
2.0278
-0.4722

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

4
3
2
6
5
1
4
5
1
4
1
1
3
5
4
4
6
1
1
1
2
3
6
4
3
6
6
5
6
1
1
6
6
2
4
4
1
1
6
6
5
2
1
6
2
6
3
5

5
4
6
2
6
5
2
4
6
6
3
3
4
2
1
2
6
2
3
3
4
2
3
2
4
1
2
5
5
4
2
1
4
2
6
6
2
2
4
5
4
3
1
1
2
5
4
4

4.5
3.5
4
4
5.5
3
3
4.5
3.5
5
2
2
3.5
3.5
2.5
3
6
1.5
2
2
3
2.5
4.5
3
3.5
3.5
4
5
5.5
2.5
1.5
3.5
5
2
5
5
1.5
1.5
5
5.5
4.5
2.5
1
3.5
2
5.5
3.5
4.5

1.0278
0.0278
0.5278
0.5278
2.0278
-0.4722
-0.4722
1.0278
0.0278
1.5278
-1.4722
-1.4722
0.0278
0.0278
-0.9722
-0.4722
2.5278
-1.9722
-1.4722
-1.4722
-0.4722
-0.9722
1.0278
-0.4722
0.0278
0.0278
0.5278
1.5278
2.0278
-0.9722
-1.9722
0.0278
1.5278
-1.4722
1.5278
1.5278
-1.9722
-1.9722
1.5278
2.0278
1.0278
-0.9722
-2.4722
0.0278
-1.4722
2.0278
0.0278
1.0278

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

5
6
5
6
2
4
3
2
6
1
2
6
3
3
6
3
3
1
3
4
5
5
5
3
1
6
5
1
4
3
4
4
3

3
5
4
5
4
3
5
3
2
2
5
3
1
2
5
5
2
2
2
2
5
1
2
6
4
2
2
6
5
6
6
3
4

4
5.5
4.5
5.5
3
3.5
4
2.5
4
1.5
3.5
4.5
2
2.5
5.5
4
2.5
1.5
2.5
3
5
3
3.5
4.5
2.5
4
3.5
3.5
4.5
4.5
5
3.5
3.5

0.5278
2.0278
1.0278
2.0278
-0.4722
0.0278
0.5278
-0.9722
0.5278
-1.9722
0.0278
1.0278
-1.4722
-0.9722
2.0278
0.5278
-0.9722
-1.9722
-0.9722
-0.4722
1.5278
-0.4722
0.0278
1.0278
-0.9722
0.5278
0.0278
0.0278
1.0278
1.0278
1.5278
0.0278
0.0278

variance
2.91667

sigma
1.70783

(data-mu_xbar)2
0.00077
0.27855
0.27855
0.00077
0.27855
0.27855
3.88966
0.22299
6.11188
1.05633
0.94522
0.94522
0.94522
0.00077
3.88966
0.00077
0.22299
0.94522
2.16744
0.00077
0.00077
0.27855
2.16744
0.00077
4.11188
4.11188
0.22299

variance_xbar
1.43441

sigma_xbar
1.1977

BINS
1
1.5
2
2.5
3
3.5
4
4.5
5
5.5
6

1.05633
0.00077
0.27855
0.27855
4.11188
0.22299
0.22299
1.05633
0.00077
2.33410
2.16744
2.16744
0.00077
0.00077
0.94522
0.22299
6.38966
3.88966
2.16744
2.16744
0.22299
0.94522
1.05633
0.22299
0.00077
0.00077
0.27855
2.33410
4.11188
0.94522
3.88966
0.00077
2.33410
2.16744
2.33410
2.33410
3.88966
3.88966
2.33410
4.11188
1.05633
0.94522
6.11188
0.00077
2.16744
4.11188
0.00077
1.05633

0.27855
4.11188
1.05633
4.11188
0.22299
0.00077
0.27855
0.94522
0.27855
3.88966
0.00077
1.05633
2.16744
0.94522
4.11188
0.27855
0.94522
3.88966
0.94522
0.22299
2.33410
0.22299
0.00077
1.05633
0.94522
0.27855
0.00077
0.00077
1.05633
1.05633
2.33410
0.00077
0.00077

You might also like