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

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

μ = ∞ for a ≤ 1 ab μ = ----- for a > 1 a - 1
public static mean ( number $a, number $b ) : number
$a number shape parameter
$b number scale parameter
Результат number
    public static function mean($a, $b)
    {
        Support::checkLimits(self::LIMITS, ['a' => $a, 'b' => $b]);
        if ($a <= 1) {
            return INF;
        }
        return $a * $b / ($a - 1);
    }