sql - Normal distribution in oracle -


i generate normal distribution in pl/sql - oracle. know can generate kind of distribution via dbms_random specify paremeters of normal function (interval, mean, standard deviation).

is there easy way generate distribution or should code own function?

thanks

if want generate numbers arbitrary normal distribution, there 2 parameters make sense, mean , standard deviation. i'm not sure "interval" you'd want specify unless want produce truncated distribution.

given number standard normal distribution (mean 0, standard deviation 1 dbms_random.normal returns), it's pretty trivial convert arbitrary normal distribution. multiply standard deviation want , add mean want. if want make distribution non-normal truncating particularly high or low values, can well.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -