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 , so the logit is defined as \operatorname{logit} p = \sigma^{-1}(p) = \ln \frac{p}{1-p} \quad \text{for} \quad p \in (0,1). Because of this, the logit is also called the log-odds since it is equal to the logarithm of the odds \frac{p}{1-p} where is a probability. Thus, the logit is a type of function that maps probability values from (0, 1) to real numbers in , akin to the probit function.
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 , so the logit is defined as \operatorname{logit} p = \sigma^{-1}(p) = \ln \frac{p}{1-p} \quad \text{for} \quad p \in (0,1). Because of this, the logit is also called the log-odds since it is equal to the logarithm of the odds \frac{p}{1-p} where is a probability. Thus, the logit is a type of function that maps probability values from (0, 1) to real numbers in , akin to the probit function. If is a probability, then \tfrac{p}{1-p} is the corresponding odds; the of the probability is the logarithm of the odds, i.e.: \begin{align} \operatorname{logit}(p) &= \hphantom{-} \ln\left( \frac{p}{1-p} \right) = \ln(p)-\ln(1-p) \\ &= -\ln\left( \frac{1}{p}-1\right) = 2\operatorname{atanh}(2p-1). \end{align} 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: base 2 corresponds to a shannon, base to a nat, and base 10 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 of any number \alpha is given by the inverse- : \operatorname{logit}^{-1}(\alpha) = \operatorname{logistic}(\alpha) = \frac{1}{1 + e^{-\alpha}} = \frac{e^\alpha}{ e^\alpha + 1} = \frac{\tanh(\frac{\alpha}{2})+1}{2} 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: \begin{align} \ln(R) &= \ln\left( \frac{\tfrac{p_1}{1-p_1}}{\tfrac{p_2}{1-p_2}} \right) \\ &= \ln\left( \frac{p_1}{1-p_1} \right) - \ln\left(\frac{p_2}{1-p_2}\right) \\ &= \operatorname{logit}(p_1)-\operatorname{logit}(p_2)\,. \end{align} The Taylor series for the logit function is given by: \operatorname{logit}(x)=2\sum_{n=0}^\infty \frac{(2x-1)^{2n+1}}{2n+1}. \operatorname{\Phi}(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^x e^{-y^2/2} dy. 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.
References
- / ˈ l oʊ dʒ ɪ t / LOH -jit Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "/ ˈ l oʊ dʒ ɪ t / LOH -jit Wikipedia revision 1363780870, retrieved 2026-11-18." 2026-11-17. https://en.wikipedia.org/wiki/Help:IPA/English. Accessed 24 November 2026.
Chicago "/ ˈ l oʊ dʒ ɪ t / LOH -jit Wikipedia revision 1363780870, retrieved 2026-11-18." 2026-11-17. https://en.wikipedia.org/wiki/Help:IPA/English.
APA encyclopegia.org. (2026). / ˈ l oʊ dʒ ɪ t / LOH -jit Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Help:IPA/English
- R: Inverse logit function · retrieved 2011-02-17 · rev 1363780870
Cite this reference
MLA "R: Inverse logit function." 2011-02-17. https://web.archive.org/web/20110706132209/http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/msm/html/expit.html. Accessed 24 November 2026.
Chicago "R: Inverse logit function." 2011-02-17. https://web.archive.org/web/20110706132209/http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/msm/html/expit.html.
APA encyclopegia.org. (2011). R: Inverse logit function. Retrieved November 24, 2026, from https://web.archive.org/web/20110706132209/http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/msm/html/expit.html
- Learning Occupancy Grid Maps with Forward Sensor Models · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Learning Occupancy Grid Maps with Forward Sensor Models." Thrun, Sebastian (2003). 2026-11-17. https://mediawiki.isr.tecnico.ulisboa.pt/images/5/5b/Thrun03.pdf. Accessed 24 November 2026.
Chicago "Learning Occupancy Grid Maps with Forward Sensor Models." Thrun, Sebastian (2003). 2026-11-17. https://mediawiki.isr.tecnico.ulisboa.pt/images/5/5b/Thrun03.pdf.
APA Thrun, Sebastian (2003). (2026). Learning Occupancy Grid Maps with Forward Sensor Models. Retrieved November 24, 2026, from https://mediawiki.isr.tecnico.ulisboa.pt/images/5/5b/Thrun03.pdf
- Statistical Techniques in Robotics · retrieved 2017-01-25 · rev 1363780870
Cite this reference
MLA "Statistical Techniques in Robotics." Styler, Alex (2012). 2017-01-25. https://www.cs.cmu.edu/~16831-f12/notes/F12/16831_lecture05_vh.pdf. Accessed 24 November 2026.
Chicago "Statistical Techniques in Robotics." Styler, Alex (2012). 2017-01-25. https://www.cs.cmu.edu/~16831-f12/notes/F12/16831_lecture05_vh.pdf.
APA Styler, Alex (2012). (2017). Statistical Techniques in Robotics. Retrieved November 24, 2026, from https://www.cs.cmu.edu/~16831-f12/notes/F12/16831_lecture05_vh.pdf
- Making Bertha See Even More: Radar Contribution · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Making Bertha See Even More: Radar Contribution." Dickmann, J. 2026-11-17. https://doi.org/10.1109%2FACCESS.2015.2454533. Accessed 24 November 2026.
Chicago "Making Bertha See Even More: Radar Contribution." Dickmann, J. 2026-11-17. https://doi.org/10.1109%2FACCESS.2015.2454533.
APA Dickmann, J. (2026). Making Bertha See Even More: Radar Contribution. Retrieved November 24, 2026, from https://doi.org/10.1109%2FACCESS.2015.2454533
- Logit, Probit, and other Response Functions · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Logit, Probit, and other Response Functions." Albert, James H. 2026-11-17. https://books.google.com/books?id=NWymCwAAQBAJ&pg=PA3. Accessed 24 November 2026.
Chicago "Logit, Probit, and other Response Functions." Albert, James H. 2026-11-17. https://books.google.com/books?id=NWymCwAAQBAJ&pg=PA3.
APA Albert, James H. (2026). Logit, Probit, and other Response Functions. Retrieved November 24, 2026, from https://books.google.com/books?id=NWymCwAAQBAJ&pg=PA3
- Lecture 9: Logit/Probit · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Lecture 9: Logit/Probit." O'Halloran, Sharyn. 2026-11-17. http://www.columbia.edu/~so33/SusDev/Lecture_9.pdf. Accessed 24 November 2026.
Chicago "Lecture 9: Logit/Probit." O'Halloran, Sharyn. 2026-11-17. http://www.columbia.edu/~so33/SusDev/Lecture_9.pdf.
APA O'Halloran, Sharyn. (2026). Lecture 9: Logit/Probit. Retrieved November 24, 2026, from http://www.columbia.edu/~so33/SusDev/Lecture_9.pdf
- I use this term [logit] for lnp/q following Bliss, who called the analogous function which is linear on x for the normal curve 'probit'. · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "I use this term [logit] for lnp/q following Bliss, who called the analogous function which is linear on x for the normal curve 'probit'." Berkson 1944 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870. Accessed 24 November 2026.
Chicago "I use this term [logit] for lnp/q following Bliss, who called the analogous function which is linear on x for the normal curve 'probit'." Berkson 1944 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870.
APA Berkson 1944 , p. (2026). I use this term [logit] for lnp/q following Bliss, who called the analogous function which is linear on x for the normal curve 'probit'. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1363780870
- Stigler, Stephen M. (1986). The History of Statistics: the Measurement of Uncertainty Before 1900 . Cambridge, Massachusetts: Belknap Press of Harvard University Press. ISBN 978-0-674-40340-6 . Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Stigler, Stephen M. (1986). The History of Statistics: the Measurement of Uncertainty Before 1900 . Cambridge, Massachusetts: Belknap Press of Harvard University Press. ISBN 978-0-674-40340-6 . Wikipedia revision 1363780870, retrieved 2026-11-18." Stigler, Stephen M. 2026-11-17. https://en.wikipedia.org/wiki/Stephen_M._Stigler. Accessed 24 November 2026.
Chicago "Stigler, Stephen M. (1986). The History of Statistics: the Measurement of Uncertainty Before 1900 . Cambridge, Massachusetts: Belknap Press of Harvard University Press. ISBN 978-0-674-40340-6 . Wikipedia revision 1363780870, retrieved 2026-11-18." Stigler, Stephen M. 2026-11-17. https://en.wikipedia.org/wiki/Stephen_M._Stigler.
APA Stigler, Stephen M. (2026). Stigler, Stephen M. (1986). The History of Statistics: the Measurement of Uncertainty Before 1900 . Cambridge, Massachusetts: Belknap Press of Harvard University Press. ISBN 978-0-674-40340-6 . Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Stephen_M._Stigler
- Hilbe, Joseph M. (2009). Logistic Regression Models . CRC Press. p. 3. ISBN 9781420075779 . . Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Hilbe, Joseph M. (2009). Logistic Regression Models . CRC Press. p. 3. ISBN 9781420075779 . . Wikipedia revision 1363780870, retrieved 2026-11-18." Hilbe, Joseph M. 2026-11-17. https://en.wikipedia.org/wiki/Joseph_Hilbe. Accessed 24 November 2026.
Chicago "Hilbe, Joseph M. (2009). Logistic Regression Models . CRC Press. p. 3. ISBN 9781420075779 . . Wikipedia revision 1363780870, retrieved 2026-11-18." Hilbe, Joseph M. 2026-11-17. https://en.wikipedia.org/wiki/Joseph_Hilbe.
APA Hilbe, Joseph M. (2026). Hilbe, Joseph M. (2009). Logistic Regression Models . CRC Press. p. 3. ISBN 9781420075779 . . Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Joseph_Hilbe
- Cramer, J. S. (2003). Logit Models from Economics and Other Fields . Cambridge University Press. p. 13. ISBN 9781139438193 . . Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Cramer, J. S. (2003). Logit Models from Economics and Other Fields . Cambridge University Press. p. 13. ISBN 9781139438193 . . Wikipedia revision 1363780870, retrieved 2026-11-18." Cramer, J. 2026-11-17. https://books.google.com/books?id=1Od2d72pPXUC&pg=PA13. Accessed 24 November 2026.
Chicago "Cramer, J. S. (2003). Logit Models from Economics and Other Fields . Cambridge University Press. p. 13. ISBN 9781139438193 . . Wikipedia revision 1363780870, retrieved 2026-11-18." Cramer, J. 2026-11-17. https://books.google.com/books?id=1Od2d72pPXUC&pg=PA13.
APA Cramer, J. (2026). Cramer, J. S. (2003). Logit Models from Economics and Other Fields . Cambridge University Press. p. 13. ISBN 9781139438193 . . Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://books.google.com/books?id=1Od2d72pPXUC&pg=PA13
- The origins and development of the logit model · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "The origins and development of the logit model." a b Cramer, J. 2026-11-17. https://web.archive.org/web/20240919043104/https://www.cambridge.org/resources/0521815886/1208_default.pdf. Accessed 24 November 2026.
Chicago "The origins and development of the logit model." a b Cramer, J. 2026-11-17. https://web.archive.org/web/20240919043104/https://www.cambridge.org/resources/0521815886/1208_default.pdf.
APA a b Cramer, J. (2026). The origins and development of the logit model. Retrieved November 24, 2026, from https://web.archive.org/web/20240919043104/https://www.cambridge.org/resources/0521815886/1208_default.pdf
- Barnard 1949 , p. 120,128. Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Barnard 1949 , p. 120,128. Wikipedia revision 1363780870, retrieved 2026-11-18." Barnard 1949 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870. Accessed 24 November 2026.
Chicago "Barnard 1949 , p. 120,128. Wikipedia revision 1363780870, retrieved 2026-11-18." Barnard 1949 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870.
APA Barnard 1949 , p. (2026). Barnard 1949 , p. 120,128. Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1363780870
- Barnard 1949 , p. 120. Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Barnard 1949 , p. 120. Wikipedia revision 1363780870, retrieved 2026-11-18." Barnard 1949 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870. Accessed 24 November 2026.
Chicago "Barnard 1949 , p. 120. Wikipedia revision 1363780870, retrieved 2026-11-18." Barnard 1949 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870.
APA Barnard 1949 , p. (2026). Barnard 1949 , p. 120. Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1363780870
- Barnard 1949 , p. 136. Wikipedia revision 1363780870, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1363780870
Cite this reference
MLA "Barnard 1949 , p. 136. Wikipedia revision 1363780870, retrieved 2026-11-18." Barnard 1949 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870. Accessed 24 November 2026.
Chicago "Barnard 1949 , p. 136. Wikipedia revision 1363780870, retrieved 2026-11-18." Barnard 1949 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1363780870.
APA Barnard 1949 , p. (2026). Barnard 1949 , p. 136. Wikipedia revision 1363780870, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1363780870
Cite this article
MLA
"Logit." encyclopegia.org, 2026, https://encyclopegia.org/wiki/logit. Accessed 24 November 2026.
Chicago
"Logit." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/logit.
APA
encyclopegia.org. (2026). Logit. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/logit
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON