02.03.2013 Views

Downloadable - About University

Downloadable - About University

Downloadable - About University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Monte Carlo simulation 181<br />

Of course, for a simple problem like this we could obtain the required<br />

probability distribution by calculation. For example, we could use a<br />

probability tree to represent the six combinations of inflows and outflows<br />

and then calculate the probability of each combination occurring.<br />

However, since most practical problems are more complex than this we<br />

will use the example to illustrate the simulation approach. The fact that<br />

we can calculate the probabilities exactly for this problem will have the<br />

advantage of enabling us to assess the reliability of estimates which are<br />

derived from simulation.<br />

In order to carry out our simulation of the company’s cash flows<br />

we will make use of random numbers. These are numbers which are<br />

produced in a manner analogous to those that would be generated by<br />

spinning a roulette wheel (hence the name Monte Carlo simulation).<br />

Each number in a specified range (e.g. 00–99) is given an equal chance<br />

of being generated at any one time. In practical simulations, random<br />

numbers are normally produced by a computer, although, strictly speaking,<br />

most computers generate what are referred to as pseudo-random<br />

numbers, because the numbers only have the appearance of being random.<br />

If you had access to the computer program which is being used<br />

to produce the numbers and the initial value (or seed) then you would<br />

be able to predict exactly the series of numbers which was about to<br />

be generated.<br />

Before we can start our simulation we need to assign random numbers<br />

to the different cash flows so that, once a particular random number has<br />

been generated, we can determine the cash flow which it implies. In this<br />

example we will be using the hundred random numbers between 00<br />

and 99. For the cash inflow distribution we therefore assign the random<br />

numbers 00 to 29 (30 numbers in all) to an inflow of $50 000 which has a<br />

30% probability of occurring. Thus the probability of a number between<br />

00 and 29 being generated mirrors exactly the probability of the $50 000<br />

cash inflow occurring. Similarly, we assign the next 40 random numbers:<br />

30 to 69 to a cash inflow of $60 000, and so on, until all 100 numbers have<br />

been allocated.<br />

Cash inflow<br />

($)<br />

Probability<br />

(%)<br />

Random<br />

numbers<br />

50 000 30 00–29<br />

60 000 40 30–69<br />

70 000 30 70–99<br />

The process is repeated for the cash outflow distribution and the allocations<br />

are shown below.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!