Insight 7 -- Montecarlo techniques
Monte Carlo Methods
Monte Carlo methods (aka experiments) are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. Their essential idea is using randomness to solve problems that might be deterministic in principle. Monte Carlo methods are typically used to solve problems which belongs to the following 'classes':
Monte Carlo methods (aka experiments) are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. Their essential idea is using randomness to solve problems that might be deterministic in principle. Monte Carlo methods are typically used to solve problems which belongs to the following 'classes':
- optimisation;
- numerical integration;
- generating draws from probability distribution.
In principle, Monte Carlo methods can be used to solve any problem having a probabilistic interpretation. In fact, since there is no known consensus on how Monte Carlo should be defined, we can say that a Monte Carlo method is just a technique to solve a mathematical/statistical problem whereas a Monte Carlo simulation is the actual Monte Carlo simulation/experiment (e.g. repeatedly sample from a specific population in order to compute the empirical mean and/or other statistics in interest). To put it simpler, pouring out a box of coins and then computing the ratio of coins that land heads versus tails is a Monte Carlo method of determining the behaviour of repeated coin tosses (this is not a Monte Carlo simulation). On the other hand, a Monte Carlo simulation example may be: drawing a large number of pseudo-random uniform variables from the interval [0, 1] at one time, or once at a large number of different times, and assigning values less than or equal to 0.5 as heads and greater than 0.5 as tails.
However, there's no formal standard definition of the Monte Carlo methods nor to describe the difference between a technique and a simulation. As pointed out by Kalos and Whitlock in 2008, the differences between a method and a simulation are not always easy to maintain. For instance, there exist situations for which both can be applied (i.e. is possible to simulate the experiment directly or, for example, by taking several different random samples).
Random Numbers & Statistical Tests
The main idea behind the Monte Carlo simulation is that the results are computed based on repeated random sampling and statistical analysis. In order to be useful, the required random numbers don't need to be always truly random, although their unpredictability is vital for problem classes such as cryptographic applications and primality tests. The most used techniques to compute those random numbers are deterministic and thus outputs pseudorandom numbers which compared to truly random numbers may be efficiently reproduced.
The only requirements on the pseudorandom sequence of numbers is that they're random enough.
In other words, this means that they should pass a series of statical tests which serve as a measure to test how uniformly distributed the generated numbers are. In 2003, a professor of the Wayne State University published a list of the characteristics of a high quality Monte Carlo simulation:
- the PRNG has certain characteristics (e.g. a long "period" before the sequence repeated)
- the PRNG outputs values that pass tests for randomness
- there are enough samples to ensure accurate results
- samples are taken using the proper sampling technique and the used algorithm is valid for what is being modelled
Commenti
Posta un commento