Difference between revisions of "RandomType"
(History) |
|||
Line 11: | Line 11: | ||
: <code>2</code>: Knuth's algorithm | : <code>2</code>: Knuth's algorithm | ||
− | There is seldom a reason to change the pseudo-random algorithm from the default (minimal standard). But the option exists should the need arise. | + | There is seldom a reason to change the pseudo-random algorithm from the default (minimal standard). But the option exists should the need arise. To change it, press F12 to access the typescript window and type: |
+ | |||
+ | ::<code>RandomType: 2</code> | ||
+ | |||
+ | == History == | ||
+ | |||
+ | Prior to [[Analytica 5.0]], you could change this from the '''Uncertainty Settings''' dialog, Advanced. This was removed in [[Analytica 5.0]] to simplify the UI, since there really was never any need to change it. | ||
==See Also== | ==See Also== | ||
* [[Random]]() | * [[Random]]() | ||
* [[RandomSeed]] | * [[RandomSeed]] |
Revision as of 23:19, 30 June 2016
System Variable RandomType
This system variable selects which algorithm to use for generating pseudo-random numbers. The available algorithms are:
0
: Minimal standard. Algorithm developed by Park & Miller:- Park, S.K., and K.W. Miller 1988, Communications of the ACM, vol 31, pp. 1192-1201
- Press, W.H, S.A. Teukolsky, W.T. Vetterling, and B.P. Flannery, Numerical Recipes in C: The Art of Scientific Computing, 2nd Ed. (Cambridge University Press).
- Knuth, D.E. 1981, Seminumerical Algorithms, 2nd ed., vol. 2 of The Art of Computer Programming (Reading, MA: Addison-Wesley)
1
: L'Ecuyer's algorithm- L'Ecuyer, P. 1988, Communications of the ACM, vol. 31, pp. 742-774
2
: Knuth's algorithm
There is seldom a reason to change the pseudo-random algorithm from the default (minimal standard). But the option exists should the need arise. To change it, press F12 to access the typescript window and type:
RandomType: 2
History
Prior to Analytica 5.0, you could change this from the Uncertainty Settings dialog, Advanced. This was removed in Analytica 5.0 to simplify the UI, since there really was never any need to change it.
See Also
Comments
Enable comment auto-refresher