=NORMINV(RAND(), mean, standard_dev)
However, Jerry W. Lewis, a former Excel MVP and a professional statistician, commented that using NORMINV(RANDINV()...) to generate Normal variates is not recommended in Excel XP or earlier. Excel 2003 or later yields acceptable result.
Jerry recommends the Box-Muller Transformation method instead. Using Box-Muller Transformation approach to calculate a random number from a normal distribution, the formula in Excel would be
=SQRT(-2*LN(RAND()))*SIN(2*PI()*RAND())
No comments:
Post a Comment
Do provide your constructive comment. I appreciate that.