在线文档教程
PHP
数学 | Mathematics

stats_dens_gamma

stats_dens_gamma

(PECL stats >= 1.0.0)

stats_dens_gamma — Probability density function of the gamma distribution

Description

float stats_dens_gamma ( float $x , float $shape , float $scale )

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.

Parameters

x

The value at which the probability density is calculated

shape

The shape parameter of the distribution

scale

The scale parameter of the distribution

Return Values

The probability density at x or FALSE for failure.

← stats_dens_f

stats_dens_laplace →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-dens-gamma.php