The geometric distribution is a discrete distribution for , 1, 2, ... having probability
mass function
|
(1)
| |||
|
(2)
|
where ,
, and distribution
function is
|
(3)
| |||
|
(4)
|
The geometric distribution is the only discrete memoryless random distribution. It is a discrete analog of the exponential distribution.
Note that some authors (e.g., Beyer 1987, p. 531; Zwillinger 2003, pp. 630-631) prefer to define the distribution instead for ,
2, ..., while the form of the distribution given above is implemented in the Wolfram
Language as GeometricDistribution[p].
is normalized, since
|
(5)
|
For positive integer , the raw moments are
given analytically in terms of the polylogarithm,
|
(6)
| |||
|
(7)
| |||
|
(8)
|
This gives the first few explicitly as
|
(9)
| |||
|
(10)
| |||
|
(11)
| |||
|
(12)
|
The central moments are given analytically in terms of the Lerch transcendent as
|
(13)
| |||
|
(14)
|
This gives the first few explicitly as
|
(15)
| |||
|
(16)
| |||
|
(17)
| |||
|
(18)
| |||
|
(19)
|
so the mean, variance, skewness, and kurtosis excess are given by
|
(20)
| |||
|
(21)
| |||
|
(22)
| |||
|
(23)
|
For the case
(corresponding to the distribution of the number of tails before the first head in
coin tossing, one less than the number of tosses
in the Saint Petersburg paradox), the
raw moment formula gives
|
(24)
|
The first few raw moments, starting at , are therefore 1, 3, 13, 75, 541, .... Twice these
values are the terms
of OEIS A000629 for
. With
,
the sequence has exponential
generating function
.
Its integral
has coefficient
at
for
. The mean, variance,
skewness, and kurtosis
excess of the case
are given by
|
(25)
| |||
|
(26)
| |||
|
(27)
| |||
|
(28)
|
The characteristic function is given by
|
(29)
|
The first cumulant of the geometric distribution is
|
(30)
|
and subsequent cumulants are given by the recurrence relation
|
(31)
|
The mean deviation of the geometric distribution is
|
(32)
|
where
is the floor function.