New Appoach for Random Number Generation???
|
03-21-2019, 12:06 PM
(This post was last modified: 03-21-2019 11:50 PM by Namir.)
Post: #1
|
|||
|
|||
New Appoach for Random Number Generation???
Hi All!
I thought of a new class of random numbers! Pick two different approximations of the same function, call them f1(x) and f2(x). Perform the following: Code: Using a seed of X in [0,1]. Functions f1(x) and f2(x) should NOT return extremely small or ig values for argumens in [0, 1]. The last calculation step above obtains some numerical noise suitable as random values. Here is sample code in Excel VBA using two approximations for the Normal CDF: Code: Option Explicit The resulting numbers have a mean close to 0.5 and standard deviation close to 0.28. You can use simpler approximations for the Normal or other functions. Ultimately, your choices for f1(x) and f2(x) are HUGE!!! Namir |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
New Appoach for Random Number Generation??? - Namir - 03-21-2019 12:06 PM
RE: New Appoach for Random Number Generation??? - ttw - 03-21-2019, 12:47 PM
RE: New Appoach for Random Number Generation??? - Albert Chan - 03-21-2019, 01:53 PM
RE: New Appoach for Random Number Generation??? - Namir - 03-21-2019, 03:14 PM
RE: New Appoach for Random Number Generation??? - Albert Chan - 03-21-2019, 07:17 PM
RE: New Appoach for Random Number Generation??? - Namir - 03-21-2019, 11:52 PM
RE: New Appoach for Random Number Generation??? - Namir - 03-21-2019, 07:51 PM
RE: New Appoach for Random Number Generation??? - ttw - 03-23-2019, 02:34 AM
|
User(s) browsing this thread: 1 Guest(s)