Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
random numbers but normal distribution
Hello!
I'm trying to get a list of 10,000 numbers with average 0.5 and a starndard deviation 0.2. Does someone know how to do this? Any ideas? I'd like a function to create "random" numbers but with function parameters "Average" and "StDev". I thank you in advance... Albert C. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
random numbers but normal distribution
What about =RANDBETWEEN(3,7)/10
Skinman "Albert" wrote in message ... Hello! I'm trying to get a list of 10,000 numbers with average 0.5 and a starndard deviation 0.2. Does someone know how to do this? Any ideas? I'd like a function to create "random" numbers but with function parameters "Average" and "StDev". I thank you in advance... Albert C. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
random numbers but normal distribution
On Mon, 4 Aug 2008 21:15:01 -0700, Albert
wrote: Hello! I'm trying to get a list of 10,000 numbers with average 0.5 and a starndard deviation 0.2. Does someone know how to do this? Any ideas? I'd like a function to create "random" numbers but with function parameters "Average" and "StDev". I thank you in advance... Albert C. Try this formula in any cell =NORMINV(RAND(),0.5,0.2) Copy the formula down, or in any other preferred direction, to get your 10000 numbers. Hope this helps / Lars-Åke |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
random numbers but normal distribution
That would be Uniform, not Normal.
Jerry "Skinman" wrote: What about =RANDBETWEEN(3,7)/10 Skinman "Albert" wrote in message ... Hello! I'm trying to get a list of 10,000 numbers with average 0.5 and a starndard deviation 0.2. Does someone know how to do this? Any ideas? I'd like a function to create "random" numbers but with function parameters "Average" and "StDev". I thank you in advance... Albert C. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
random numbers but normal distribution
Prior to 2003, NORMINV is too inaccurate in the tails for use in random
number generation. If the OP is using an older version of Excel, the Box-Muller transformation (search these newsgroups or check Wikipedia) will do a better job. Most other native ...INV functions are still to inaccurate for random number generation, though ATP uses them anyway. The Smith library http://members.aol.com/iandjmsmith/iansNApage.htm of VBA probability functions is quite accurate, and could be used for the purpose. Jerry "Lars-Ã…ke Aspelin" wrote: On Mon, 4 Aug 2008 21:15:01 -0700, Albert wrote: Hello! I'm trying to get a list of 10,000 numbers with average 0.5 and a starndard deviation 0.2. Does someone know how to do this? Any ideas? I'd like a function to create "random" numbers but with function parameters "Average" and "StDev". I thank you in advance... Albert C. Try this formula in any cell =NORMINV(RAND(),0.5,0.2) Copy the formula down, or in any other preferred direction, to get your 10000 numbers. Hope this helps / Lars-Ã…ke |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
random numbers but normal distribution
Thank you Sir!
Works great!!! "Lars-Ã…ke Aspelin" wrote: On Mon, 4 Aug 2008 21:15:01 -0700, Albert wrote: Hello! I'm trying to get a list of 10,000 numbers with average 0.5 and a starndard deviation 0.2. Does someone know how to do this? Any ideas? I'd like a function to create "random" numbers but with function parameters "Average" and "StDev". I thank you in advance... Albert C. Try this formula in any cell =NORMINV(RAND(),0.5,0.2) Copy the formula down, or in any other preferred direction, to get your 10000 numbers. Hope this helps / Lars-Ã…ke |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
eliminate negative value from normal random number distribution | Excel Worksheet Functions | |||
Special Random Numbers' Distribution | Excel Discussion (Misc queries) | |||
draw random from normal distribution | Excel Discussion (Misc queries) | |||
How do you generate random numbers in a normal distribution? | Excel Programming | |||
normal distribution of random no.'s | Excel Programming |