Glossary
Antithetic variant method
A simple improvement method of Monte Carlo’s convergence. When a normal random number is generated, change its sign to produce a new random number. This makes all the odd moments (e.g., mean, skewness) turned zero with a significant increase in convergence. A normal random numbers sequence generated by antithetic variant method is self-explanatory.
Array formula in Excel
Excel performs multiple-calculation using array formula and returns multiple results at a time. To input the array formula, select the desired cell for output, type the expression, and then press CTRL+SHIFT+ENTER. For further information, see the topic about "Array Formula" in your Excel Online Help.
Why I always see the same result even if I input formula into multiple cells?
Beta function
Box-Muller method
The simplest method of converting uniform random numbers into normal random numbers. The conversion is applicable to one sequence of pseudo-random numbers.
c.d.f.
See Cumulative distribution function
Central moment
Central moment is the moment about the mean. The k-th central moment is defined as:
where is the probability density function and is the mean of the distribution.
- The 0th central moment is one.
- The 1st central moment is zero.
- The 2nd central moment is called variance.
- The 3rd central moment is used to define skewness.
- The 4th central moment is used to define kurtosis.
Choice of the random number generator algorithm
NtRand has three pseudo random number generator algorithms. The selection is made by 2nd argument (Algorithm) of each random number functions.
- Algorithm=0: Mersenne Twister 2002
Produce 53bit precision (0, 1) uniform real random numbers by revised Mersenne Twister algorithm released 1/26/2002. At this moment, this is the 'standard' Mersenne Twister. In this implementation, its random seed is 64 bit width. I recommend this algorithm in most of the case. - Algorithm=1: Mersenne Twister 1998
Mersenne Twister used within Version 1.x NtRand. Its random seed is 64 bit width. Previous Mersenne Twister algorithm had a small problem. The highest bit of the seed is not well reflected to the state vector. The problem is reported in Mersenne Twister home page, and TT800 problem report. The reports say Jeff Szuhay reveals the problem to MT's small cousin TT800. However, this is not so 'small' problem and I also detected in 1998. So I modified MT slightly when I released NtRand in 1998. My resolution is to project 64bit random seed into 32bit space, and avoid this reflection problem. (I didn't report the problem like Jeff does. Sorry, Prof. Matsumoto.) From the first release in 1998, NtRand uses this algorithm. Now, the 'standard' Mersenne Twister algorithm has released, I won't recommend my resolution. Use this option only if you want to keep backward compatibility. - Algorithm=2: Numerical Recipes ran2
This is the recommended random number generator algorithm in the book, W. H. Press, S. A. Teukolsky, W. T. Vetterling, B. P. Flannery, Numerical Recipes in C 2nd ed., Cambridge Univ. Press, 1992. This is very famous algorithm and it has long period (> 2 x 10^18^). However, unfortunately, the algorithm doesn't pass many random number quality tests (e.g. 2-dimensional random walk, n-block test, etc.). It has clear correlation problem and I don't recommend this especially for multi-dimensional Monte Carlo simulation. There are several other algorithms in Numerical Recipes book, however, all of them are no good.
Cumulative distribution function
The real-valued function which describes the probability distribution of a real-valued random variable. The value at x represents the probability that the variable has value less than or equal to x.