A log uniform distribution is a continuous distribution of a positive random
variable
for which
has a uniform distribution on
, where
.
It is also called the reciprocal distribution (SciPy). Here,
denotes the natural logarithm.
Its probability density function is
|
(1)
|
for , and is zero outside this interval.
Its cumulative distribution function is
|
(2)
|
The raw moments are
|
(3)
|
for positive integers . In particular, the mean is
.
For
and
, the leading decimal
digits follow Benford's law. This density
is distinct from the density proportional
to
called the logarithmic distribution in
this work.