Evaluates the standard lognormal probability density function.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double LogNormal(
	double x,
	double mu,
	double sigma
)
Visual Basic (Declaration)
Public Shared Function LogNormal ( _
	x As Double, _
	mu As Double, _
	sigma As Double _
) As Double
Visual C++
public:
static double LogNormal(
	double x, 
	double mu, 
	double sigma
)

Parameters

x
Type: System..::.Double
A double scalar value representing the argument at which the function is to be evaluated.
mu
Type: System..::.Double
A double scalar value representing the location parameter.
sigma
Type: System..::.Double
A double scalar value representing the shape parameter. sigma must be a positive.

Return Value

A double scalar value representing the probability density function at x.

Remarks

F\left( x \right) = \frac{1}{x\sigma\sqrt{2\pi}}
            {e^{-\frac{ {(\ln{x}-\mu)}^2 }{2{\sigma}^2}} }

See Also