cdf

open override fun cdf(x: Double): Double(source)

Returns the cumulative distribution function value at x for this logistic distribution.

The CDF is the standard sigmoid function applied to the standardized variable. Uses a two-branch formulation to avoid overflow for both large positive and large negative inputs.

Return

the probability that a value is less than or equal to x, in the range [0, 1].

Parameters

x

the point at which to evaluate the cumulative probability.