Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stats_dens_chisquarestats_dens_f>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_dens_exponential

(PECL stats >= 1.0.0)

stats_dens_exponential — Probability density function of the exponential distribution

Description

function stats_dens_exponential(float $x, float $scale): float

Returns the probability density at x, where the random variable follows the exponential distribution of which the scale is scale.

Parameters

x

The value at which the probability density is calculated

scale

The scale of the distribution

Return Values

The probability density at x or false for failure.


<stats_dens_chisquarestats_dens_f>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026