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

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

https://en.wikipedia.org/wiki/Log-normal_distribution 1 1 / ln x - μ \ cdf = - + - erf | -------- | 2 2 \ √2σ /
public static CDF ( number $x, number , number ) : number
$x number > 0
number location parameter
number scale parameter > 0
Результат number
    public static function CDF($x, $μ, $σ)
    {
        Support::checkLimits(self::LIMITS, ['x' => $x, 'μ' => $μ, 'σ' => $σ]);
        $π = \M_PI;
        $⟮ln x − μ⟯ = log($x) - $μ;
        $√2σ = sqrt(2) * $σ;
        return 1 / 2 + 1 / 2 * Special::erf($⟮ln x − μ⟯ / $√2σ);
    }