When the location parameter μ is 0 and the scale parameter s is 1, then the probability density function of the logistic distribution is given by
Thus in general the density is:
Because this function can be expressed in terms of the square of the
hyperbolic secant function "sech", it is sometimes referred to as the sech-square(d) distribution.[2] (See also: hyperbolic secant distribution
).
Cumulative distribution function
The logistic distribution receives its name from its
hyperbolic tangent
.
In this equation μ is the mean, and s is a scale parameter proportional to the standard deviation.
Quantile function
The inverse cumulative distribution function (quantile function) of the logistic distribution is a generalization of the logit function. Its derivative is called the quantile density function. They are defined as follows:
Alternative parameterization
An alternative parameterization of the logistic distribution can be derived by expressing the scale parameter, , in terms of the standard deviation, , using the substitution , where . The alternative forms of the above functions are reasonably straightforward.
Applications
The logistic distribution—and the S-shaped pattern of its
logit function
)—have been extensively used in many different areas.
Logistic regression
One of the most common applications is in
probit regression. Indeed, the logistic and normal distributions have a quite similar shape. However, the logistic distribution has heavier tails, which often increases the robustness
of analyses based on it compared with using the normal distribution.
Physics
The PDF of this distribution has the same functional form as the derivative of the
Fermi function. In the theory of electron properties in semiconductors and metals, this derivative sets the relative weight of the various electron energies in their contributions to electron transport. Those energy levels whose energies are closest to the distribution's "mean" (Fermi level) dominate processes such as electronic conduction, with some smearing induced by temperature.[3]: 34 Note however that the pertinent probability distribution in Fermi–Dirac statistics is actually a simple Bernoulli distribution
, with the probability factor given by the Fermi function.
The logistic distribution arises as limit distribution of a finite-velocity damped random motion described by a telegraph process in which the random times between consecutive velocity changes have independent exponential distributions with linearly increasing parameters.[4]
The United States Chess Federation and FIDE have switched its formula for calculating chess ratings from the normal distribution to the logistic distribution; see the article on Elo rating system (itself based on the normal distribution).
Related distributions
Logistic distribution mimics the
sech distribution
.
If then .
If
U(0, 1)
then .
If and independently then .
If and then (The sum is not a logistic distribution). Note that .
The metalog distribution is generalization of the logistic distribution, in which power series expansions in terms of are substituted for logistic parameters and . The resulting metalog quantile function is highly shape flexible, has a simple closed form, and can be fit to data with linear least squares.
Derivations
Higher-order moments
The nth-order central moment can be expressed in terms of the quantile function:
This integral is well-known[6] and can be expressed in terms of Bernoulli numbers:
John S. deCani & Robert A. Stine (1986). "A note on deriving the information matrix for a logistic distribution". The American Statistician. 40. American Statistical Association: 220–222.