Graphics Programs Reference
In-Depth Information
150
100
50
0
100
50
0
50
100
150
We see the bell curve shape emerging again. Though it is unlikely, the
chances are not insignificant that the house is behind by more than 50 units
after 1000 games. If each unit is worth $1000, then we might advise the
casino to have at least $100,000 cash on hand to be prepared for this
possibility. Maybe even that is not enough — to see we would have to
experiment further.
Finally, let's see what happens after 10,000 games. We expect on average
the house to be ahead by 200 units at this point, and based on our earlier
discussion the range of values we use to make the histogram need only go up
by a factor of 3 or so from the previous case. Even 100 trials will take a while
to run now, but we have to start somewhere.
hist(profits(10000, 100), -200:25:600); axis tight
18
16
14
12
10
8
6
4
2
0
200
100
0
100
200
300
400
500
600
Search WWH ::




Custom Search