Wikipedia / Logit
Wikipedia / Logit
In statistics, the logit (logistic unit) or log-odds function is the quantile function associated with the standard logistic distribution. It has many uses in data analysis and machine learning, especially in data transformations.
Mathematically, the logit is the inverse of the standard logistic function
Because of this, the logit is also called the log-odds since it is equal to the logarithm of the odds where to real numbers in , akin to the probit function.
Definition
If is a probability is the corresponding odds; the
The base of the logarithm function used is of little importance in the present article, as long as it is greater than 1, but the natural logarithm with base is the one most often used. The choice of base corresponds to the choice of logarithmic unit for the value: base2 corresponds to a shannon, base to a nat, and base10 to a hartley; these units are particularly used in information-theoretic interpretations. For each choice of base, the logit function takes values between negative and positive infinity.
The logistic function is given by the inverse-
The difference between the s of two probabilities is the logarithm of the odds ratio (), thus providing a shorthand for writing the correct combination of odds ratios only by adding and subtracting
The Taylor series
History
Several approaches have been explored to adapt linear regression methods to a domain where the output is a probability value , instead of any real number . In many cases, such efforts have focused on modeling this problem by mapping the range to and then running the linear regression on these transformed values.
In 1934, Chester Ittner Bliss used the cumulative normal distribution function to perform this mapping and called his model probit, an abbreviation of "probability unit". This is, however, computationally more expensive. In 1944, Joseph Berkson used log of odds and called this function logit, an abbreviation of "logistic unit", following the analogy for probit.
Log odds was used extensively by Charles Sanders Peirce in the late 19th century. G. A. Barnard in 1949 coined the commonly used term ; the log-odds of an event is the logit of the probability of the event. Barnard also coined the term lods as an abstract form of "log-odds", but suggested that "in practice the term 'odds' should normally be used, since this is more familiar in everyday life".
Uses and properties
The logit in logistic regression is a special case of a link function in a generalized linear model: it is the canonical link function for the Bernoulli distribution.
More abstractly, the logit is the natural parameter for the binomial distribution .
The logit function is the negative of the derivative of the binary entropy function.
The logit is also central to the probabilistic Rasch model for measurement, which has applications in psychological and educational assessment, among other areas.
The inverse-logit function (i.e., the logistic function) is also sometimes referred to as the expit function.
In plant disease epidemiology, the logistic, Gompertz, and monomolecular models are collectively known as the Richards family models.
The log-odds function of probabilities is often used in state estimation algorithms because of its numerical advantages in the case of small probabilities. Instead of multiplying very small floating point numbers, log-odds probabilities can just be summed up to calculate the (log-odds) joint probability.
Comparison with probit
Closely related to the function (and logit model) are the probit function and probit model. The and are both sigmoid functions with a domain between 0 and 1, which makes them both quantile functions i.e., inverses of the cumulative distribution function (CDF) of a probability distribution. In fact, the is the quantile function of the logistic distribution, while the is the quantile function of the normal distribution. The function is denoted , where
As shown in the graph on the right, the and functions are extremely similar when the function is scaled, so that its slope at matches the slope of the . As a result, probit models are sometimes used in place of logit models because for certain applications (e.g., in item response theory) the implementation is easier.
See also
Discrete choice on binary logit, multinomial logit, conditional logit, nested logit, mixed logit, exploded logit, and ordered logit
Ogee, curve with similar shape
Probit, another function with the same domain and range as the logit
Arcsin (transformation)
References
External links
Further reading