View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Jerry W. Lewis
 
Posts: n/a
Default draw random from normal distribution

Box-Muller produces N(0,1) random variates, as does NORMSINV(RAND()).
If R is a N(0,1) random variate, then
R*0.33373+0.025
is Normal with mean 0.025 and standard deviation 0.3373.

If you are using a pre-2003 version of Excel, you might get better
results using Ian Smith's inv_normal() function instead of the native
Excel function NORMSINV()
http://members.aol.com/iandjmsmith/Examples.xls

Jerry

gatosonreyendo wrote:

for a little simulation i need to draw random numbers from a normal
distribution with a given mean (0.025) and std dev (0.3373).

Having read some earlier posts i tried =norminv(rand(), mean, std dev).
Apparently, this is not the right formula: it returns regularly values in the
50%s which should not happen from my 2.5% mean. I also found the box-muller
method. How could i transform the random draws from the standard normal
distribution into the ones i need?

Is there another formula i could use?

Thanks a lot in advance
Gerald.