# Logistic distribution

Template:Probability distribution
In probability theory and statistics, the **logistic distribution** is a continuous probability distribution. Its cumulative distribution function is the logistic function, which appears in logistic regression and feedforward neural networks. It resembles the normal distribution in shape but has heavier tails (higher kurtosis). The Tukey lambda distribution can be considered a generalization of the logistic distribution since it adds a shape parameter, *λ* (the Tukey distribution becomes logistic when *λ* is zero).

## Specification

### Probability density function

The probability density function (pdf) of the logistic distribution is given by:

Because the pdf 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*.^{[1]}

*See also:*hyperbolic secant distribution

### Cumulative distribution function

The logistic distribution receives its name from its cumulative distribution function (cdf), which is an instance of the family of logistic functions. The cumulative distribution function of the logistic distribution is also a scaled version of the hyperbolic tangent.

In this equation, *x* is the random variable, μ 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 cumulative distribution function (the logistic function) and quantile function (the logit function)—have been extensively used in many different areas. One of the most common applications is in logistic regression, which is used for modeling categorical dependent variables (e.g., yes-no choices or a choice of 3 or 4 possibilities), much as standard linear regression is used for modeling continuous variables (e.g., income or population). Specifically, logistic regression models can be phrased as latent variable models with error variables following a logistic distribution. This phrasing is common in the theory of discrete choice models, where the logistic distribution plays the same role in logistic regression as the normal distribution does 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.

Other applications:

- Hydrology – In hydrology the distribution of long duration river discharge and rainfall (e.g., monthly and yearly totals, consisting of the sum of 30 respectively 360 daily values) is often thought to be almost normal according to the central limit theorem.
^{[2]}The normal distribution, however, needs a numeric approximation. As the logistic distribution, which can be solved analytically, is similar to the normal distribution, it can be used instead. The blue picture illustrates an example of fitting the logistic distribution to ranked October rainfalls—that are almost normally distributed—and it shows the 90% confidence belt based on the binomial distribution. The rainfall data are represented by plotting positions as part of the cumulative frequency analysis. - 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.

Both the United States Chess Federation and FIDE have switched their formulas for calculating chess ratings from the normal distribution to the logistic distribution; see Elo rating system.

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]}

## Related distributions

- Logistic distribution mimics the Sech distribution.
- If
*X*~ Logistic(μ, β) then*kX*+ loc ~ Logistic(*k*μ+loc,*k*β). - If
*X*~*U*(0, 1) then μ + β(log(*X*)−log(1−*X*)) ~ Logistic(μ, β). - If
*X*,*Y*~ Gumbel(α, β) then*X*−*Y*~ Logistic(0, β). - If
*X*,*Y*~ GEV(α, β, 0) then*X*−*Y*~ Logistic(0, β). - If
*X*~ Gumbel(α, β) and*Y*~ GEV(α, β, 0) then*X*+*Y*~ Logistic(2α, β). - If log(
*X*) ~ Logistic then*X*~ LogLogistic and*X*−*a*~ ShiftedLogLogistic. - If
*X*~ Exponential(1) then

- If
*X*,*Y*~ Exponential(1) then

## Derivations

### Higher order moments

The *n*-th order central moment can be expressed in terms of the quantile function:

This integral is well-known^{[5]} and can be expressed in terms of Bernoulli numbers:

## See also

- Generalized logistic distribution
- Tukey lambda distribution
- Logistic regression
- Log-logistic distribution
- Sigmoid function

## Notes

- ↑ Johnson, Kotz & Balakrishnan (1995, p.116).
- ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}
- ↑ Template:Cite isbn
- ↑ A. Di Crescenzo, B. Martinucci (2010) "A damped telegraph random process with logistic stationary distribution",
*J. Appl. Prob.*, vol. 47, pp. 84–96. - ↑ A001896

## References

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- Modis, Theodore (1992)
*Predictions: Society's Telltale Signature Reveals the Past and Forecasts the Future*, Simon & Schuster, New York. ISBN 0-671-75917-5

## External links

- REDIRECT Template:Probability distributions