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 distribution.
The logistic distribution receives its name from its cumulative distribution function, 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.
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 and quantile function —have been extensively used in many different areas.
Logistic regression
One of the most common applications is in logistic regression, which is used for modeling categorical dependent variables, much as standard linear regression is used for modeling continuous variables. 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 ofdiscrete 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.
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" dominate processes such as electronic conduction, with some smearing induced by temperature. 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.
Hydrology
In hydrology the distribution of long duration river discharge and rainfall is often thought to be almost normal according to the central limit theorem. 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.
The nth-order central moment can be expressed in terms of the quantile function: This integral is well-known and can be expressed in terms of Bernoulli numbers: