# Logit

The logit function is an important part of logistic regression: for more information, please see that article.

In mathematics, especially as applied in statistics, the logit (pronounced with a long "o" and a soft "g", IPA /loʊdʒɪt/) of a number p between 0 and 1 is

${\displaystyle \operatorname {logit} (p)=\log \left({\frac {p}{1-p}}\right)=\log(p)-\log(1-p).\!\,}$

(The base of the logarithm function used here is of little importance in the present article, as long as it is greater than 1, but the natural logarithm with base e is often used.) The logit function is the inverse of the "sigmoid", or "logistic" function. If p is a probability then p/(1 − p) is the corresponding odds, and 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 (OR), thus providing an additive mechanism for combining odds-ratios:

${\displaystyle \operatorname {log} (OR)=\log \left({\frac {{p}/{1-p}}{{q}/{1-q}}}\right)=\log \left({\frac {p}{1-p}}\right)-\log \left({\frac {q}{1-q}}\right)=\operatorname {logit} (p)-\operatorname {logit} (q).\!\,}$

File:Logit.png
Plot of logit in the range 0 to 1, base is e

## History

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. 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.