MathPHP\Probability\Distribution\Continuous\Logistic::CDF PHP Метод

CDF() публичный статический Метод

1 f(x; μ, s) = ------------------- x - μ \ 1 + exp| - ----- | \ s /
public static CDF ( number $x, number , number $s ) : float
$x number
number location parameter
$s number scale parameter
Результат float
    public static function CDF($x, $μ, $s)
    {
        Support::checkLimits(self::LIMITS, ['x' => $x, 'μ' => $μ, 's' => $s]);
        $ℯ^⁻⁽x⁻μ⁾/s = exp(-($x - $μ) / $s);
        return 1 / (1 + $ℯ^⁻⁽x⁻μ⁾/s);
    }