|
SEEDName:
Dataplot supports several different random number generators. The desired generator can be set with the command
where <generator> is one of the following:
LINEAR CONGRUENTIAL MULTIPLICATIVE CONGRUENTIAL GFSR FUSHIMI AS183 GENZ LUXURY FIBONACCI CONGRUENTIAL The deault generator is the FIBONACCI CONGRUENTIAL generator (the default prior to 2018/05 was the FIBONACCI generator). The seed value applies to the following generators
FIBONACCI CONGRUENTIAL MULTIPLICATIVE CONGRUENTIAL AS183 For the FIBONACCI and FIBONACCI CONGRUENTIAL generators, the minimum seed value should be 305 and the seed should be an odd number. Values of the seed less than 305 are equivalent to 305 and even values of the seed are equivalent to the nearest odd number. For the other generators, if you want to obtain a different sequence of random numbers you can do something like the following
LET NRAND = 10000 LET YJUNK = UNIFORM RANDOM NUMBERS FOR I = 1 1 ISKIP LET Y = UNIFORM RANDOM NUMBERS FOR I = 1 1 NRAND This example will first generate 50,000 random numbers that will not be used. It then generates 10,000 random numbers that will be used. To obtain a different sequence of random numbers, modify the value of ISKIP.
where <iseed> is an integer number or parameter that defines the seed.
SEED DEFAULT
3005 (2019/03)
SEED 4021 LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100 SEED 34201 LET Y2 = NORMAL RANDOM NUMBERS FOR I = 1 1 100 SEED 19793 LET Y3 = NORMAL RANDOM NUMBERS FOR I = 1 1 100 SEED 46987 LET Y4 = NORMAL RANDOM NUMBERS FOR I = 1 1 100 LINE COLOR BLACK BLUE RED GREEN MULTIPLE KERNEL DENSITY PLOT Y1 Y2 Y3 Y4
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/08/2020 |