LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Random

Nigel was referring to the worksheetfunction RAND. You are referring to the
VBA function RND.

All random number generators are pseudo random number generators - Randomize
changes where the current number enters the fixed stream of numbers - I
don't see where using it would make the numbers anymore random (whatever
that means - as far as I know the numbers are either random or they aren't -
I haven't heard of any starndard for determining degrees of randomness - but
it certainly isn't a topic of intense study for me). As far as
rnd()^rnd() - has this passed some statistical test that shows it produces
improved uniform random numbers (however that would be measured) - or at
least that it produces uniform random numbers at all - I am not sure you can
just assume that it does. After all, adding 6 random numbers together
supposedly is one way to generate normally distributed random numbers.

--
Regards,
Tom Ogilvy

"arno" wrote in message
...
Hi Nigel,

will produce random lists. (Note: The random function is not a random
as you might think but for this purpose it might suit you?)


well, it is more "random-like" when you allways use
Randomize
at the beginning of the code and if you use
myRandom = Rnd()^Rnd()
for each random number you create.

arno





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting random Data created from a random formula Six Sigma Blackbelt Excel Discussion (Misc queries) 1 September 11th 08 11:03 PM
Non-random numbers generated by excel's data analysis random gener Allie Excel Worksheet Functions 10 September 17th 05 06:19 AM
Non-random numbers generated by excel's data analysis random gener Harlan Grove Excel Discussion (Misc queries) 2 September 13th 05 04:06 PM
How do I find random number in list of random alpha? (Position is. jlahealth-partners Excel Discussion (Misc queries) 0 February 8th 05 05:31 PM
random nyn04[_4_] Excel Programming 2 September 21st 04 11:35 PM


All times are GMT +1. The time now is 08:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"