Probability distributions
Exponential probability density
prob.exponential-pdfAlso called exponential pdf, exponential density, expon pdf, exp pdf
Density of the exponential distribution with rate λ, for x ≥ 0. The mean is 1/λ.
Notation
the point, x ≥ 0
x ≥ 0
rate
λ > 0
Result: the density at x
scalar
Worked examples
Each result is solved exactly and confirmed by two independent computations.
Given
Result
Given
Result
≈ 0.367879441171
Given
Result
≈ 0.183939720586
Common mistakes
Uses the scale parameterization
The code treats λ as the scale (the mean) instead of the rate; SciPy's expon takes scale = 1/λ.
Fix: Use λe−λx with λ the rate, or pass scale=1/λ to SciPy.
Source
NIST/SEMATECH e-Handbook, §1.3.6.6.7
NIST/SEMATECH e-Handbook of Statistical Methods. https://www.itl.nist.gov/div898/handbook/ Last updated 2022-04-27. doi:10.18434/M32189