Companion

object Companion

Functions

Link copied to clipboard

Computes the cumulative distribution function for a standard normal distribution using Taylor approximation.

Link copied to clipboard

Computes the cumulative distribution function for a standard normal distribution from Abramovitz and Stegun, see also Didier H. Besset Object-oriented Implementation of Numerical Methods, Morgan-Kaufmann (2001)

Link copied to clipboard

Computes the complementary cumulative probability for the standard normal distribution function for given value of z

Link copied to clipboard

Computes the first order loss function for the standard normal distribution function for given value of x, G1(z) = Emax(Z-z,0)

Link copied to clipboard

Computes the inverse cumulative distribution function for a standard normal distribution see, W. J. Cody, Rational Chebyshev approximations for the error function Math. Comp. pp 631-638 this is without the extra refinement and has relative error of 1.15e-9 http://www.math.uio.no/~jacklam/notes/invnorm/

Link copied to clipboard

Computes the pdf function for a standard normal distribution from Abramovitz and Stegun, see also Didier H. Besset Object-oriented Implementation of Numerical Methods, Morgan-Kaufmann (2001)

Link copied to clipboard

Computes the 2nd order loss function for the standard normal distribution function for given value of z, G2(z) = (1/2)Emax(Z-z,0)*max(Z-z-1,0)