mls junk generator
Initial Release
by Scumdog Steev / Steve Myles
License: MIT License
About: This is a pseudo-random number generator implemented in Excel/VBA and R.
Project Home: http://steve.mylesandmyles.info/projects/mls-junk-generator/
Algorithm:
For any seed values of w, x, y, z:
r_i = 5.980217w^2 + 9.446377x^0.25 + 4.81379y^0.33 + 8.91197z^0.5
r_i = r_i - Int(r_i) For r_i+1:
w = x
x = y
y = z
z = r_i
Files:
mls_junk_generator1.xlsm - simple Excel implementation
mls_junk_generator.bas - VBA source for #1
mls_junk_generator2.xlsm - second Excel implementation (allows for clearing of the RN stream)
MLSJunkGen.bas - VBA module for #3
Project Info: