
359
Chapter 18: A Career in Modeling
A Simulating Discussion
Another approach to modeling is to simulate a process. The idea is to define
as much as you can about what a process does and then somehow use num-
bers to represent that process and carry it out. It’s a great way to find out
what a process does in case other methods of analysis are very complex.
Taking a chance: The Monte Carlo method
Many processes contain an element of randomness. You just can’t predict
the outcome with certainty. To simulate this type of process, you have to
have some way of simulating the randomness. Simulation methods that incor-
porate randomness are called Monte Carlo simulations. The name comes
from the city in Monaco whose main attraction is gambling casinos.
In the next sections, I show you a couple of examples. These examples aren’t
so complex that you can’t analyze them. I use them for just that reason: You
can check the results against analysis.
Loading the dice
In Chapter 16, I talked about a die (one member of a pair of dice) that’s
biased to come up according to the numbers on its faces: A 6 is six times as
likely as a 1, a 5 is five times as likely, and so on. On any toss, the probability
of getting a number n is n/21.
Suppose you have a pair of dice loaded this way. What would the outcomes
of 200 tosses of these dice look like? What would be the average of those 200
tosses? What would be the variance and the standard deviation? You can use
Excel to set up Monte Carlo simulations and answer these questions.
To start, I used Excel to calculate the probability of each outcome. Figure
18-6 shows how I did it. Column A holds all the possible outcomes of tossing
a pair of dice (2-12). Columns C through N hold the possible ways of getting
each outcome. Columns C, E, G, I, K, and M show the possible outcomes on
the first die. Columns D, F, H, J, L, and N show the possible outcomes on the
second die. Column B gives the probability of each outcome, based on the
numbers in Columns C-M. I highlighted B7 so the formula box shows I used
this formula to have Excel calculate the probability of a 7:
=((C7*D7)+(E7*F7)+(G7*H7)+(I7*J7)+(K7*L7)+(M7*N7))/21^2
I autofilled the remaining cells in Column B.
25 454060-ch18.indd 35925 454060-ch18.indd 359 4/21/09 7:37:16 PM4/21/09 7:37:16 PM