naginterfaces.library.stat.pdf_​normal

naginterfaces.library.stat.pdf_normal(x, xmean, xstd)[source]

pdf_normal returns the value of the probability density function (PDF) for the Normal (Gaussian) distribution with mean and variance at a point .

For full information please refer to the NAG Library document for g01ka

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/g01/g01kaf.html

Parameters
xfloat

, the value at which the PDF is to be evaluated.

xmeanfloat

, the mean of the Normal distribution.

xstdfloat

, the standard deviation of the Normal distribution.

Returns
pdffloat

The value of the PDF.

Raises
NagValueError
(errno )

On entry, .

Constraint: , where is the safe range parameter as defined by machine.real_safe.

(errno )

Computation abandoned owing to underflow of .

(errno )

Computation abandoned owing to an internal calculation overflowing.

Notes

The Normal distribution has probability density function (PDF)