Laplace Distribution
📐 Definition
Section titled “📐 Definition”The Laplace distribution centers probability mass at a location parameter with exponential decay on both sides, controlled by a scale parameter.
For , the density is
Domain and Codomain
Section titled “Domain and Codomain”Defined over real-valued outcomes; parameters set the mean and spread.
⚙️ Key Properties
Section titled “⚙️ Key Properties”Tails decay exponentially (heavier than Gaussian, lighter than Cauchy). Inverse-CDF sampling can be expressed using with a sign and logarithm transform.
defines the standard Laplace density. As , the distribution collapses to a point mass at ; as increases, variance grows linearly in . Absolute deviations follow an exponential distribution.
🎯 Special Cases and Limits
Section titled “🎯 Special Cases and Limits”- is the standard Laplace distribution.
- collapses to a point mass at .
🔗 Related Functions
Section titled “🔗 Related Functions”Gaussian distributions provide a lighter-tailed alternative; exponential distributions govern one-sided magnitudes; logistic and double-exponential families share similar shapes with differing normalization.
Usage in Oakfield
Section titled “Usage in Oakfield”Oakfield uses Laplace noise primarily via integrator stochastic hooks:
- Integrator noise option: setting integrator
noise = "laplace"selects a unit-variance Laplace source (implemented via a uniform RNG and alog1ptransform with clamping away fromlog(0)). - Useful for heavier-tailed stochastic increments compared to Gaussian noise when running stochastic integrator steps.
Historical Foundations
Section titled “Historical Foundations”📜 Double-Exponential Laws
Section titled “📜 Double-Exponential Laws”Laplace-type distributions arise naturally when modeling absolute-deviation penalties and exponentially decaying tails on both sides of a central location.
🌍 Modern Perspective
Section titled “🌍 Modern Perspective”They are widely used in robust statistics and sparse modeling (via the penalty connection).
📚 References
Section titled “📚 References”- Kotz, Kozubowski, Podgórski, The Laplace Distribution and Generalizations
- Devroye, Non-Uniform Random Variate Generation