gaussian distribution

L

LH

Hi, i would like to know if there is a class for the gaussian
distribution or for the gaussian function.
when i have µ I would like to have the xµ so that the area between
(Ox), y=xµ and Gaussian(x) does µ

Is it already implemented?

Thanks
(sorry for my English)

Bonjour, je voudrais savoir s'il existe une classe pour la
distribution gaussienne, ou pour la fonction de Gauss.
Quand j'ai un µ je veux avoir l'abscisse xµ telle que l'aire comprise
entre la droite y=xµ, l'axe (Ox) et la courbe de gausse soit de µ.

Merci d'avance
 
R

Roedy Green

Hi, i would like to know if there is a class for the gaussian
distribution or for the gaussian function.
when i have µ I would like to have the xµ so that the area between
(Ox), y=xµ and Gaussian(x) does µ

see Random.nextGaussian.

to generate numbers that fit a bell shaped curve distribution.

If you just want to compute the gauss function y=e^-x²

try:

double y = Math.exp( - x*x );

If you want the integral of that, google for erf or erfc
 
L

LH

Roedy Green said:
see Random.nextGaussian.

to generate numbers that fit a bell shaped curve distribution.

If you just want to compute the gauss function y=e^-x²

try:

double y = Math.exp( - x*x );

If you want the integral of that, google for erf or erfc


Thanks, I think the erf or erfc will help me a lot (what does it stand
for?)
In fact I want the reciproque (??) of the integrale (ie g(x) so that
F(g(x))=x ) is it the erfc?

Anyway Thank you for your answer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top