array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.stats-dens-laplace.php', 1 => 'stats_dens_laplace', 2 => 'Probability density function of the Laplace distribution', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic Funzioni', ), 'prev' => array ( 0 => 'function.stats-dens-gamma.php', 1 => 'stats_dens_gamma', ), 'next' => array ( 0 => 'function.stats-dens-logistic.php', 1 => 'stats_dens_logistic', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-dens-laplace.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

stats_dens_laplace

(PECL stats >= 1.0.0)

stats_dens_laplaceProbability density function of the Laplace distribution

Descrizione

function stats_dens_laplace(float $x, float $ave, float $stdev): float

Returns the probability density at x, where the random variable follows the Laplace distribution of which the location parameter is ave and the scale parameter is stdev.

Elenco dei parametri

x
The value at which the probability density is calculated
ave
The location parameter of the distribution
stdev
The shape parameter of the distribution

Valori restituiti

The probability density at x or false for failure.