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://support.nag.com/numeric/nl/nagdoc_30.1/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)