











































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












































Often need to replace current generator
Require - Knowledge of current generator - Sometimes in โ depth understanding of random number generators themselves
Needing sometimes millions or billions of random numbers
Attributes of each particle should be independent of those attributes of any other particle
Fill the entire attribute space in a manner which is consistent with the physics
The sequence has a finite number of integers
The sequence gets traversed in a particular order - The sequence repeats if the period of the generator is exceeded
Choosing Correct Input is Key
(a,c,m,X0)
LCG (5, 1, 16,
ยป 1,6,15,12,13,2,11,8,9,14,7,4,5,10,3,0, ยป 1,6,15,12,13,2,11,8,9,14,โฆ - When the next result depends upon only the previous integer, the longest period possible is P=M - Odd/Even pattern - lack of randomness results from using a power of two for M Yields
is a power of
(here:
C= - Maximum period is going to be 2^(m โ 2) - Correlation (each differ by
Enter the date and time into an equations and return an integer then make sure it is odd
Standard seed for these equations
Choose Rn and R(n+1)
Then plot this point of interest in a surrounding area. - Plot these points in succession - The area will be uniformly covered by the LCG in a โrandomโ order - Covering of only part of the unit or certain areas of the unit would prove to be not useful for Monte Carlo Methods