← All notes

Statistical note

Exponential distribution

Exponential distribution: theory, interpretation, Python computation, and a scientific-imaging case study.

6 min read

A probability distribution specifies how probability is assigned across possible values. Its parameters determine location, spread, shape, or event rate.

Concept figure for Exponential distribution

Mathematical definition

The central quantity is

f(x)=lambdaexp(lambdax),x>=0.f(x)=lambda exp(-lambda x), x>=0.

This expression states what is being counted, averaged, ranked, or compared. Its scale and direction must be interpreted in the context of the data and sampling design.

Compute it in Python

import numpy as np
from scipy import stats
model = stats.expon(scale=1/0.4)
print(model.mean(), model.pdf(2), model.sf(2))

The function is scipy.stats.expon. Inspect its current signature and return object in the official documentation for the version installed in your environment.

Interpretation and cautions

Check support, parameterization, and independence before interpreting fitted probabilities. A mathematically convenient family is not evidence that the data-generating process follows it.

A numerical value is not self-interpreting. Compare it with a baseline, uncertainty interval, operational threshold, or competing model, and retain the underlying observations or confusion counts.

Scientific-imaging case study

Modeling memoryless waiting times can help describe microscopy measurements, but validate the fit by acquisition batch and biological replicate.

Split train, validation, and test data at the specimen or experimental level. Report variability across independent repeats so that the metric describes generalization rather than leakage.