16.11.2012 Views

Wireless Network Design: Optimization Models and Solution ...

Wireless Network Design: Optimization Models and Solution ...

Wireless Network Design: Optimization Models and Solution ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

276 Marina Aguado, Jasone Astorga, Nerea Toledo <strong>and</strong> Jon Matias<br />

12.3 Validating Discrete Event Simulations: the R<strong>and</strong>om<br />

Number Seed <strong>and</strong> the Confidence Interval<br />

A simulation process is a statistical experiment. In order to represent a behavior<br />

that is not known for a specific element, the simulation environment makes use of<br />

stochastic modeling with r<strong>and</strong>om number streams to introduce changes in the element’s<br />

operating environment (i.e., its input). However, it is impossible for a computer<br />

program, by its very nature, to generate truly r<strong>and</strong>om numbers. Thus, the simulation<br />

framework relies on starting a pseudo-r<strong>and</strong>om number generator in different<br />

states to exhibit unpredictable behavior. The initial state of the generator is known<br />

as the r<strong>and</strong>om number seed. Each particular simulation run with a specific r<strong>and</strong>om<br />

number seed value will produce a different behavior <strong>and</strong> yield new <strong>and</strong> different<br />

results. To account for all statistical behavior that the system might exhibit, the simulation<br />

model must be run multiple times with different seed values. As more seeds<br />

are chosen, st<strong>and</strong>ard behavior should be observed more frequently than anomalous<br />

behavior. Intuitively, the more simulation runs performed, the more confidence we<br />

have in the results obtained from the study. In other words, the goal is to ensure<br />

that a simulation system produces valid statistical behavior by making a sufficient<br />

number of runs, each with a different r<strong>and</strong>om seed value. One of the important tasks<br />

a simulation designer must carry out is that of deciding how many separately seeded<br />

trials to run in a simulation experiment so that there will be enough data to make a<br />

strong statement about the system’s typical behavior.<br />

Suppose that a number of simulations of a system have been run with different<br />

r<strong>and</strong>om number seeds to obtain n samples of the statistic X, (x1, x2, x3, ..., xi, ...,<br />

xn). Statistic X may take on many values <strong>and</strong> its precise distribution is unknown. In<br />

order to calculate, µ, the true mean of the r<strong>and</strong>om variable X, which represents the<br />

typical behavior of the modeled system with regard to the statistic X, we should run<br />

a large number of simulations (theoretically, an infinite number would be required).<br />

However, since it is not usually possible to run a very large number of simulations<br />

to determine µ, it is interesting to determine the degree of precision with which<br />

the mean value, x, of an n-sample set approximates µ. This determines whether the<br />

value can be used with confidence to make statements about the typical behavior of<br />

the modeled system.<br />

Consider an experiment consisting of a collection of samples of X, each of size<br />

n, where x is the average value of the n samples corresponding to one trial of the<br />

experiment. If the experiment is performed many times with different seed values,<br />

then the resulting average value of x, which we denote by X, has its own distribution.<br />

In accordance with the central limit theorem, regardless of X’s actual distribution,<br />

as the number of samples grows large, the r<strong>and</strong>om variable X has a distribution that<br />

approaches that of a normal r<strong>and</strong>om variable with mean µ, the same mean as the<br />

r<strong>and</strong>om variable X itself. The theorem further states that if the true variance of X<br />

is σ 2 , the variance for statistic X is<br />

σ 2<br />

n<br />

. To conclude, if sufficient sample size n<br />

has been chosen, normally n > 30, it is possible to work with a normal distribution<br />

which has known properties instead of working with an unknown distribution.

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

Saved successfully!

Ooh no, something went wrong!