# Logit

{{#invoke:Hatnote|hatnote}}

The **logit** (Template:IPAc-en Template:Respell) function is the inverse of the sigmoidal "logistic" function or logistic transform used in mathematics, especially in statistics. When the function's parameter represents a probability Template:Mvar, the logit function gives the **log-odds**, or the logarithm of the odds Template:Mvar/(1-Template:Mvar).^{[1]}

## Definition

The **logit** of a number *p* between 0 and 1 is given by the formula:

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 e is the one most often used. The choice of base corresponds to the choice of logarithmic unit for the value: base 2 corresponds to a bit, base e to a nat, and base 10 to a ban (dit, hartley); these units are particularly used in information-theoretic interpretations.

The "logistic" function of any number is given by the inverse-logit:

If *p* is a probability, then *p*/(1 − *p*) is the corresponding odds; the logit of the probability is the logarithm of the odds. Similarly, the difference between the logits of two probabilities is the logarithm of the odds ratio (*R*), thus providing a shorthand for writing the correct combination of odds ratios only by adding and subtracting:

## History

Log odds was used extensively by Charles Sanders Peirce (late 19th century).^{[2]} The logit model was introduced by Joseph Berkson in 1944, who coined the term. The term was borrowed by analogy from the very similar probit model developed by Chester Ittner Bliss in 1934.^{[3]} G. A. Barnard in 1949 coined the commonly used term *log-odds*; the log-odds of an event is the logit of the probability of the event.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B=
{{#invoke:Category handler|main}}{{#invoke:Category handler|main}}^{[citation needed]}
}}

## 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. - 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.^{[4]} - In
**plant disease epidemiology**the logit is used to fit the data to a logistic model. With the Gompertz and Monomolecular models all three are known as Richards family models.

## Comparison with probit

Closely related to the logit function (and logit model) are the probit function and probit model. The logit and probit 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 logit is the quantile function of the logistic distribution, while the probit is the quantile function of the normal distribution. The probit function is denoted , where is the CDF of the normal distribution, as just mentioned:

As shown in the graph, the logit and probit functions are extremely similar, particularly when the probit function is scaled so that its slope at y=0 matches the slope of the logit. As a result, probit models are sometimes used in place of logit models because for certain applications (e.g., in Bayesian statistics) the implementation is easier.

## See also

- Discrete choice on binary logit, multinomial logit, conditional logit, nested logit, mixed logit, exploded logit, and ordered logit
- Limited dependent variable
- Daniel McFadden, a Nobel Prize in Economics winner for development of a particular logit model used in economics
^{[3]} - Logit analysis in marketing
- Multinomial logit
- Perceptron
- Probit another function with the same domain and range as the logit
- Ridit scoring
- Data transformation (statistics)

## References

## Further reading

- {{#invoke:citation/CS1|citation

|CitationClass=book }}