PHP - Manual: stats_dens_gamma
2024-12-25
(PECL stats >= 1.0.0)
stats_dens_gamma — Probability density function of the gamma distribution
$x
, float $shape
, float $scale
) : float
Returns the probability density at x
, where the
random variable follows the gamma distribution of which the shape parameter
is shape
and the scale parameter is scale
.
x
The value at which the probability density is calculated
shape
The shape parameter of the distribution
scale
The scale parameter of the distribution
The probability density at x
or FALSE
for failure.
官方地址:https://www.php.net/manual/en/function.stats-dens-gamma.php