MATLAB: Confidence Interval

confidence intervalgeneration of random numbersnormal distribution

Good afternoon. I am working in MATLAB, developed a software that uses the generation of random numbers according to the normal distribution. I wanted to know how to calculate the confidence interval for this generation of numbers? For example, 15,000 numbers with N (0,2.5).
thank you

Best Answer

The confidence of what ?
Do you perhaps mean the confidence that the generated numbers really are representative of the normal distribution, then consider (for example) using http://www.mathworks.com/help/toolbox/stats/ttest.html
Keep in mind, of course, that low confidence is not disproof. With the normal distribution you could end up with 15000 copies of the number -42: such a thing is not impossible, just low probability.