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

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

b \ᵃ D(x) = 1 - | - | for x ≥ b \ x / D(x) = 0 for x < b
public static CDF ( number $x, number $a, number $b ) : number
$x number
$a number shape parameter
$b number scale parameter
Результат number
    public static function CDF($x, $a, $b)
    {
        Support::checkLimits(self::LIMITS, ['x' => $x, 'a' => $a, 'b' => $b]);
        if ($x < $b) {
            return 0;
        }
        return 1 - pow($b / $x, $a);
    }