Re: need a good implementation of pseudorandom generators



two approaches might work
1) use SPSS to generate the random mumbers. The current version uses the Mersene Twister. The Marsaglia algorithm is also available as an option.
the are a few dozen transformation functions (rv.*) to create pseudorandom numbers that are "drawn from" various distributions.

2) code the algorithm
go to www.spss.com/support
click <login to online tech support>
click <login>
login as "guest" password "guest" click "ok"
click <spss>
click <documentation>
click <statistics>
click <algorithms>
click <Appendix 7: Generation of Random Numbers>

Art
Art@xxxxxxxxxxxxx
Social Research Consultants



nikhilbhargav_nsit@xxxxxxxxxxxxx wrote:

hi,

I am working on a sensor network optimization decision problem. I have
to perform a large number of simulations for it and require a good
pseudorandom generator for it.
I am currently using a suimple implementation based on rand() function.
But if i run the simulation 100 times then on all 100 times it gives
the same set of random values.
I require that the random variable say over an interval of 0.00 to 1.00
should be uniformly distributed and and if i run the simulation 1000
times than with high probability, all values in range [0.0,1.00] gets
covered.

Any pinters will help as my work is struck just because of this issue.


bye,

shiva

.



Relevant Pages

  • Re: Solution to the halting Problem?
    ... running on a computing machine or a simulation of a computing machine, ... simulated algorithm without disturbing its operation. ... >> subjects halt or not. ...
    (comp.lang.cpp)
  • Re: Humaniform robots... yea or nay?
    ... algorithm does what you think it does. ... at least the course left you with the realization that genetic algorithms/programmings are not to be trifled with if you have a lousy simulation environment/test case. ... I think there's an obvious problem of generalizing this experience to genetic algorithms/programming in general. ... But then, a lot of the things that would at one point have been considered the forefront of AI research are now becoming mainstream: facial recognition software, speech recognition and synthesis, and so on. ...
    (rec.arts.sf.science)
  • Re: Variational calculus : A drop of water
    ... Simulation of a Dripping Faucet by Nobuko Fuchikami, ... By taking a stable equilibrium shape as an initial ... we describe a variational algorithm to examine ... Our algorithm of simulation of dynamics ...
    (sci.math)
  • =?utf-8?q?Q(=CE=BB)-learning_algorithm_question?=
    ... For Watkin's Q-learning algorithm; why would someone ... simulation and on real robot show that \lambda=0.5 gives a solution ... [ask your news administrator to fix the problems with your system. ...
    (comp.ai)
  • Re: Prime numbers
    ... Derek ... The prime numbers are produced by the algorithm of the Eratosthenes ... That algorithm is equivalent to a Pseudorandom Generator. ... distribution known as the Gauss Distribution. ...
    (sci.math)