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