1
$\begingroup$

I need to generate a high volume of random numbers off a normal distribution curve and sum them.

I use Excel and am aware of the NormInv(Rand(), Mean, SD) method of generating a random number off a curve. I need a way to do it 100,000 plus times - summing all the results together.

Is there a better statistical way I can arrive at the result without having to run the same calc endless times?

$\endgroup$
1
  • $\begingroup$ If I needed more than a couple of thousand numbers I wouldn't use Excel. There are some faster ways to get numbers, but 100000 of them in Excel will still take ages. Of course if you only need to sample from the distribution of the sum (and not do anything else with the numbers) then you don't need to generate more than one number. $\endgroup$
    – Glen_b
    Commented Feb 19, 2017 at 1:28

1 Answer 1

8
$\begingroup$

The sum of $N$ numbers (such as $N=100,000$) drawn independently from a Normal distribution with mean $\mu$ and standard deviation $\sigma$ has a Normal distribution with mean $N\mu$ and standard deviation $\sigma\sqrt{N}$. Therefore you need merely draw one number from this distribution.

$\endgroup$
8
  • $\begingroup$ Sorry. Can you explain in a little more detail. Perhaps even how to do in excel? Pls. $\endgroup$
    – LILI
    Commented Feb 18, 2017 at 20:46
  • $\begingroup$ You already described how to do this in Excel! Just multiply Mean by 100,000 and SD by the square root of 100,000 and generate a single number. $\endgroup$
    – whuber
    Commented Feb 18, 2017 at 20:49
  • 1
    $\begingroup$ +1 but hmmm... this is an unusually short answer for you (you tend to post such "trivial" answers as comments) and coincides with you suddenly changing your nickname (slightly but conspicuously) - I hope your account was not hacked! $\endgroup$
    – amoeba
    Commented Feb 18, 2017 at 20:50
  • $\begingroup$ @amoeba Sometimes a short answer does everything, especially because in this case the OP has already exhibited the software solution. What is unusual is that I typically elect not to answer questions that have short simple answers: that is a policy designed to give newcomers and people at earlier stages of their statistical education a greater chance to participate. $\endgroup$
    – whuber
    Commented Feb 18, 2017 at 20:54
  • $\begingroup$ Thanks. And that gets me the same as the sum of 100k random nu.ber $\endgroup$
    – LILI
    Commented Feb 18, 2017 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.