Está en la página 1de 5

Monte carlo simulation

Data is compiled from students regarding the number of movies seen per month
is tabulated as a probability distribution.
0 0.09433962 0 0.018868 0.10
1 0.33962264 1 0.037736 0.34
2 0.28301887 2 0.188679 0.28
3 0.11320755 3 0.188679 0.11
4 0.09433962 4 0.188679 0.10
5 0.03773585 5 0.150943 0.04
8 0.03773585 6 0.188679 0.03
1 11 0.037736 1.00
1

SIMULATION USING EXCEL Lower limit 00


Upper limit 99
Allot Allot
No. of
Freq Random Random
movies
Nos. (LL) Nos. (UL)
x p(x) LL UL
0 0.100 0 9
1 0.340 10 43
2 0.280 44 71
3 0.110 72 82
4 0.100 83 92
5 0.040 93 97
8 0.030 97 99

College 1
Random No.of
Student No Movies
1 7 0
2 58 2
3 79 3
4 90 4
5 49 2
6 60 2
7 78 3
8 60 2
9 94 5
10 91 4 Sample Mean (X-bar)
11 22 1 Avg SD (S)
12 11 1
13 8 0
14 26 1
15 12 1 Avg SD (
16 23 1
17 91 4
18 60 2
19 32 1
20 34 1
21 78 3
22 65 2
23 96 5
24 35 1
25 76 3
26 95 5
27 43 1
28 49 2
29 11 1
30 14 1
31 62 2
32 15 1
33 64 2
34 84 4
35 23 1
36 5 0
37 42 1
38 61 2
39 28 1
40 24 1
41 86 4
42 69 2
43 60 2
44 37 1
45 76 3
46 63 2
47 72 3
48 26 1
49 56 2
50 4 0
Mean 1.980
Max 5.000
Min 0.000
SD 1.332
Older methods of assigning - Random (when no excel was available)
Assign number by random selection Assign numbers Assign Chips
Initially designed on this model Revision of model
10.00% Assign 10 numbers for p=0 00-09
34.00% Assign 34 numbers for p=1 10-43
28.00% Assign 28 numbers for p=2 44-71
11.00% Assign 11 numbers for p=3 72-82
10.00% Assign 10 numbers for p=4 83-92
4.00% Assign 4 numbers for p=5 93-96
3.00% Assign 3 numbers for p=8 97-99
100.00%
F9 To keep chaning the random data for viewing diff nos
=RAND()
LL =RANDbetween(LL,UL)
UL =LOOKUP(Student,LowerLimit,no.of.movies)

College
Mean Max Min SD
No.

1 1.980 5.000 0.000 1.332 USE:Data/Whatifanalysis/Data


2 2.020 8.000 0.000 1.571
3 2.440 8.000 0.000 1.820
4 2.780 8.000 0.000 2.315 Use any blank cell and give this
5 1.800 5.000 0.000 1.429
6 1.960 5.000 0.000 1.324
7 2.040 8.000 0.000 1.795
8 1.820 5.000 0.000 1.257
9 2.000 5.000 0.000 1.309
10 2.020 8.000 0.000 1.684

11
1.620 8.000 0.000 1.383
12 2.520 8.000 1.000 1.798
13 2.460 8.000 0.000 2.140
14 2.360 8.000 0.000 1.711
15 2.180 8.000 0.000 1.734
16 2.260 8.000 0.000 1.838
17 2.080 5.000 0.000 1.291
18 1.920 5.000 0.000 1.383
19 2.040 8.000 0.000 1.616
20 1.660 8.000 0.000 1.673
ample Mean (X-bar) 2.098 Find Avg Mean for all 20 college means
Avg SD (S) 0.297 Find SD for all 20 college means
Avg Mean fluctuates much less than individual variations in each college
Avg SD fluctuates much less than individual variations in each college

Avg SD (σ of x-bar) 0.042 =Avg SD / √ n (n = sample size of each college)


n = 50
Conclusion
Sample mean - is the average of the sample average means of all college
Sample SD - has lesser spread than spread of each individual college

ALWAYS USE 'STDEV' FOR ALL St.Dev. CALCULATION OF SAMPLES


was available)
Random No. books

Whatifanalysis/DataTable

nk cell and give this cells reference in column input

0 college means

También podría gustarte