HP Forums
New Feature of RANDNORM - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: New Feature of RANDNORM (/thread-7452.html)



New Feature of RANDNORM - mark4flies - 12-21-2016 11:11 AM

I discovered that the RANDNORM function behaves like the RANDINT function with three arguments. For example, RANDNORM(1000,50,5) Sto D1 populates the first column in the Statistics 1Var app with a thousand random normal deviates from a population with a mean=5 and a standard deviation=5.
Awesome!
This behavior is undocumented. Please don't change it, just add it to the Help!


RE: New Feature of RANDNORM - Jean-Michel - 12-21-2016 12:27 PM

(12-21-2016 11:11 AM)mark4flies Wrote:  This behavior is undocumented. Please don't change it, just add it to the Help!

help file says :
Syntax:
RANDNORM([μ],[σ]) or
RANDNORM(n,μ,σ)
[...]
With three arguments, returns a list of size n with each element being a random number from the normal distribution with the specified mean μ and standard deviation σ.



RE: New Feature of RANDNORM - mark4flies - 12-21-2016 02:03 PM

That was quick! J