e01.org

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

  1. ^ / ˈ l oʊ dʒ ɪ t / LOH -jit Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  2. ^ "R: Inverse logit function" . Archived from the original on 2011-07-06 . Retrieved 2011-02-18 . Wikipedia revision 1363780870, retrieved 2026-11-18 · 1297983600.0
  3. ^ Thrun, Sebastian (2003). "Learning Occupancy Grid Maps with Forward Sensor Models" (PDF) . Autonomous Robots . 15 (2): 111– 127. doi : 10.1023/A:1025584807625 . ISSN 0929-5593 . S2CID 2279013 . Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  4. ^ Styler, Alex (2012). "Statistical Techniques in Robotics" (PDF) . p. 2 . Retrieved 2017-01-26 . Wikipedia revision 1363780870, retrieved 2026-11-18 · 1485385200.0
  5. ^ Dickmann, J.; Appenrodt, N.; Klappstein, J.; Bloecher, H. L.; Muntzinger, M.; Sailer, A.; Hahn, M.; Brenk, C. (2015-01-01). "Making Bertha See Even More: Radar Contribution" . IEEE Access . 3 : 1233– 1247. Bibcode : 2015IEEEA...3.1233D . doi : 10.1109/ACCESS.2015.2454533 . ISSN 2169-3536 . Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  6. ^ Albert, James H. (2016). "Logit, Probit, and other Response Functions" . Handbook of Item Response Theory . Vol. Two. Chapman and Hall. pp. 3– 22. doi : 10.1201/b19166-1 . ISBN 978-1-315-37364-5 . Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  7. ^ O'Halloran, Sharyn. "Lecture 9: Logit/Probit" (PDF) (Lecture notes). Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  8. ^ Berkson 1944 , p. 361, footnote 2: "I use this term [logit] for ln⁡p/q following Bliss, who called the analogous function which is linear on ⁠x⁠ for the normal curve 'probit'." Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  9. ^ 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 · 1794956400.0
  10. ^ Hilbe, Joseph M. (2009). Logistic Regression Models . CRC Press. p. 3. ISBN 9781420075779 . . Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  11. ^ 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 · 1794956400.0
  12. ^ a b Cramer, J. S. (2003). "The origins and development of the logit model" (PDF) . Cambridge University Press. Archived from the original (PDF) on 19 September 2024. Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  13. ^ Barnard 1949 , p. 120,128. Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  14. ^ Barnard 1949 , p. 120. Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
  15. ^ Barnard 1949 , p. 136. Wikipedia revision 1363780870, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Logit". 1783847770. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1363780870

JSON record · API collection · citation policy