GAUSS_PDF

The GAUSS_PDF function computes the probability P that, in a standard Gaussian (normal) distribution with a mean of 0.0 and a variance of 1.0, a random variable X is less than or equal to a user-specified cutoff value V .

This routine is written in the IDL language. Its source code can be found in the file gauss_pdf.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

Result = GAUSS_PDF( V )

Arguments

V

An integer, single-, or double-precision floating-point scalar that specifies the cutoff value.

Examples

Compute the probability that a random variable X, from the standard Gaussian (normal) distribution, is less than or equal to 2.44. The result should be 0.992656.

result = GAUSS_PDF(2.44)

Compute the probability that a random variable X, from the standard Gaussian (normal) distribution, is less than or equal to 10.0 and greater than or equal to 2.0. The result should be 0.0227501.

result = GAUSS_PDF(10.0) - GAUSS_PDF(2.0)

Compute the probability that a random variable X, from the Gaussian (Normal) distribution with a mean of 0.8 and a variance of 4.0, is less than or equal to 2.44. The result should be 0.793892.

result = GAUSS_PDF( (2.44 - 0.80)/SQRT(4.0) )

See Also

BINOMIAL , CHISQR_PDF , F_PDF , GAUSS_CVF , T_PDF