Click or drag to resize
PdfLogistic Method
Evaluates the logistic probability density function.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Logistic(
	double x,
	double mu,
	double s
)

Parameters

x
Type: SystemDouble
A double scalar value representing the argument at which the function is to be evaluated.
mu
Type: SystemDouble
A double scalar value representing the location parameter.
s
Type: SystemDouble
A double scalar value representing the scale parameter.

Return Value

Type: Double
A double scalar value representing the probability density function at x.
Remarks

The probability density function of the logistic distribution is

f(x,\mu,s)=\frac{e^{-(x-\mu)/s}}
            {s\left (1+e^{-(x-\mu)/s} \right )^{2}}

where \mu is the location parameter and the scale parameter s \gt 0.

See Also