Evaluates the logistic cumulative probability distribution function.

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

Syntax

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

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, \mu.
s
Type: System..::.Double
A double scalar value representing the scale parameter.

Return Value

A double scalar value representing the probability that a logistic random variable takes a value less than or equal to x.

Remarks

Method Cdf.Logistic evaluates the distribution function, F, of a logistic random variable with location parameter \mu and scale parameter s. It is given by
F(x,\mu,s)=\frac{1}{1+e^{-(x-\mu)/s}}
where s>0.

See Also