<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Logit</id>
	<title>Logit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Logit"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Logit&amp;action=history"/>
	<updated>2026-12-04T03:58:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki1463/index.php?title=Logit&amp;diff=123308&amp;oldid=prev</id>
		<title>imported&gt;Olexa Riznyk: Improving a reference</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Logit&amp;diff=123308&amp;oldid=prev"/>
		<updated>2026-07-12T11:16:10Z</updated>

		<summary type="html">&lt;p&gt;Improving a reference&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Function in statistics}}&lt;br /&gt;
{{About|the binary logit function|other types of logit|discrete choice|the basic regression technique that uses the logit function|logistic regression|standard magnitudes combined by multiplication|logit (unit)}}&lt;br /&gt;
{{Distinguish|log probability}}&lt;br /&gt;
[[Image:Logit.svg|thumbnail|upright=1.3|Plot of {{math|logit(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;)}} in the domain of {{math|{{open-open|0, 1}}}}, where the base of the logarithm is {{mvar|e}}]]&lt;br /&gt;
&lt;br /&gt;
In [[statistics]], the &amp;#039;&amp;#039;&amp;#039;logit&amp;#039;&amp;#039;&amp;#039;{{efn|{{IPAc-en|ˈ|l|oʊ|dʒ|ɪ|t}} {{respell|LOH|jit}}}} (&amp;#039;&amp;#039;&amp;#039;log&amp;#039;&amp;#039;&amp;#039;istic un&amp;#039;&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;#039;) or &amp;#039;&amp;#039;&amp;#039;log-odds&amp;#039;&amp;#039;&amp;#039; function is the [[quantile function]] associated with the standard [[logistic distribution]]. It has many uses in [[data analysis]] and [[machine learning]], especially in [[Data transformation (statistics)|data transformations]].&lt;br /&gt;
&lt;br /&gt;
Mathematically, the logit is the [[inverse function|inverse]] of the [[logistic function|standard logistic function]] {{tmath|1= \textstyle \sigma(x) = 1/(1+e^{-x}) }}, so the logit is defined as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{logit} p = \sigma^{-1}(p) = \ln \frac{p}{1-p} \quad \text{for} \quad p \in (0,1).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of this, the logit is also called the &amp;#039;&amp;#039;&amp;#039;log-odds&amp;#039;&amp;#039;&amp;#039; since it is equal to the [[logarithm]] of the [[odds]] &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{p}{1-p}&amp;lt;/math&amp;gt; where {{mvar|p}} is a probability. Thus, the logit is a type of function that maps probability values from &amp;lt;math&amp;gt;(0, 1)&amp;lt;/math&amp;gt; to real numbers in {{tmath|(-\infty, +\infty)}},&amp;lt;ref&amp;gt;{{Cite web |last= O&amp;#039;Halloran |first= Sharyn |title= Lecture 9: Logit/Probit |type= Lecture notes |url= http://www.columbia.edu/~so33/SusDev/Lecture_9.pdf }}&amp;lt;/ref&amp;gt; akin to the [[probit|probit function]].&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
If {{mvar|p}} is a [[probability]], then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\tfrac{p}{1-p}&amp;lt;/math&amp;gt; is the corresponding [[odds]]; the {{math|logit}} of the probability is the logarithm of the odds, i.e.:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{align} \operatorname{logit}(p)&lt;br /&gt;
&amp;amp;= \hphantom{-} \ln\left( \frac{p}{1-p} \right) = \ln(p)-\ln(1-p) \\&lt;br /&gt;
&amp;amp;= -\ln\left( \frac{1}{p}-1\right) = 2\operatorname{atanh}(2p-1).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 {{mvar|[[e (mathematical constant)|e]]}} is the one most often used. The choice of base corresponds to the choice of [[logarithmic unit]] for the value: base&amp;amp;nbsp;2 corresponds to a [[shannon (unit)|shannon]], base&amp;amp;nbsp;{{mvar|e}} to a [[nat (unit)|nat]], and base&amp;amp;nbsp;10 to a [[hartley (unit)|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.&lt;br /&gt;
&lt;br /&gt;
The [[logistic function]] of any number &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is given by the inverse-{{math|logit}}:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\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}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The difference between the {{math|logit}}s of two probabilities is the logarithm of the [[odds ratio]] ({{mvar|R}}), thus providing a shorthand for writing the correct combination of odds ratios [[additive function|only by adding and subtracting]]:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{align} \ln(R)&lt;br /&gt;
&amp;amp;= \ln\left( \frac{\tfrac{p_1}{1-p_1}}{\tfrac{p_2}{1-p_2}} \right) \\&lt;br /&gt;
&amp;amp;= \ln\left( \frac{p_1}{1-p_1} \right) - \ln\left(\frac{p_2}{1-p_2}\right) \\&lt;br /&gt;
&amp;amp;= \operatorname{logit}(p_1)-\operatorname{logit}(p_2)\,.&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Taylor series]] for the logit function is given by:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{logit}(x)=2\sum_{n=0}^\infty \frac{(2x-1)^{2n+1}}{2n+1}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
Several approaches have been explored to adapt linear regression methods to a domain where the output is a probability value {{tmath|(0, 1)}}, instead of any real number {{tmath|(-\infty, +\infty)}}. In many cases, such efforts have focused on modeling this problem by mapping the range {{tmath|(0, 1)}} to {{tmath|(-\infty, +\infty)}} and then running the linear regression on these transformed values.&amp;lt;ref name=&amp;quot;Cramer2003&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 1934, [[Chester Ittner Bliss]] used the cumulative normal distribution function to perform this mapping and called his model &amp;#039;&amp;#039;[[probit]]&amp;#039;&amp;#039;, an abbreviation of &amp;quot;probability unit&amp;quot;. This is, however, computationally more expensive.&amp;lt;ref name=&amp;quot;Cramer2003&amp;quot;&amp;gt;{{Cite web |last= Cramer |first= J. S. |date= 2003 |title=The origins and development of the logit model |publisher=Cambridge University Press |url= http://www.cambridge.org/resources/0521815886/1208_default.pdf |archive-url= https://web.archive.org/web/20240919043104/https://www.cambridge.org/resources/0521815886/1208_default.pdf |archive-date= 19 September 2024 |url-status= dead }}&amp;lt;/ref&amp;gt; In 1944, [[Joseph Berkson]] used log of odds and called this function &amp;#039;&amp;#039;logit&amp;#039;&amp;#039;, an abbreviation of &amp;quot;logistic unit&amp;quot;, following the analogy for probit.&amp;lt;ref&amp;gt;{{harvnb|Berkson|1944|loc=p. 361, footnote 2}}: &amp;quot;I use this term [logit] for &amp;lt;math&amp;gt;\ln {p/q}&amp;lt;/math&amp;gt; following Bliss, who called the analogous function which is linear on {{tmath|x}} for the normal curve &amp;#039;probit&amp;#039;.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Log odds was used extensively by [[Charles Sanders Peirce]] in the late 19th century.&amp;lt;ref&amp;gt;{{cite book |last= Stigler |first= Stephen M. |date= 1986 |title= The History of Statistics: the Measurement of Uncertainty Before 1900 |author-link= Stephen M. Stigler |publisher= Belknap Press of Harvard University Press |location= Cambridge, Massachusetts |isbn= 978-0-674-40340-6 |url-access= registration |url= https://archive.org/details/historyofstatist00stig }}&amp;lt;/ref&amp;gt; [[G. A. Barnard]] in 1949 coined the commonly used term {{dfni|log-odds}};&amp;lt;ref&amp;gt;{{cite book |last= Hilbe |first= Joseph M. |date= 2009 |title= Logistic Regression Models |author-link= Joseph Hilbe |publisher= CRC Press |isbn= 9781420075779 |page= 3 |url= https://books.google.com/books?id=tmHMBQAAQBAJ&amp;amp;pg=PA3 }}.&amp;lt;/ref&amp;gt;{{sfn|Barnard|1949|p=120}} the log-odds of an event is the logit of the probability of the event.&amp;lt;ref&amp;gt;{{cite book |last= Cramer |first= J. S. |date= 2003 |title= Logit Models from Economics and Other Fields |publisher= Cambridge University Press |isbn= 9781139438193 |page= 13 |url= https://books.google.com/books?id=1Od2d72pPXUC&amp;amp;pg=PA13 }}.&amp;lt;/ref&amp;gt; Barnard also coined the term &amp;#039;&amp;#039;lods&amp;#039;&amp;#039; as an abstract form of &amp;quot;log-odds&amp;quot;,{{sfn|Barnard|1949|p=120,128}} but suggested that &amp;quot;in practice the term &amp;#039;odds&amp;#039; should normally be used, since this is more familiar in everyday life&amp;quot;.{{sfn|Barnard|1949|p=136}}&lt;br /&gt;
&lt;br /&gt;
== Uses and properties ==&lt;br /&gt;
* 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]].&lt;br /&gt;
* More abstractly, the logit is the [[natural parameter]] for the [[binomial distribution]] {{crossref|(see {{slink|Exponential family|Binomial distribution}})}}.&lt;br /&gt;
* The logit function is the negative of the [[derivative]] of the [[binary entropy function]].&lt;br /&gt;
* The logit is also central to the probabilistic [[Rasch model]] for [[measurement]], which has applications in psychological and educational assessment, among other areas.&lt;br /&gt;
* The inverse-logit function (i.e., the [[logistic function]]) is also sometimes referred to as the &amp;#039;&amp;#039;expit&amp;#039;&amp;#039; function.&amp;lt;ref&amp;gt;{{cite web |url=http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/msm/html/expit.html |title=R: Inverse logit function |access-date=2011-02-18 |url-status=dead |archive-url=https://web.archive.org/web/20110706132209/http://www.stat.ucl.ac.be/ISdidactique/Rhelp/library/msm/html/expit.html |archive-date=2011-07-06 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* In plant disease epidemiology, the logistic, Gompertz, and monomolecular models are collectively known as the Richards family models.&lt;br /&gt;
* The log-odds function of probabilities is often used in state estimation algorithms&amp;lt;ref&amp;gt;{{cite journal |last=Thrun|first=Sebastian |title=Learning Occupancy Grid Maps with Forward Sensor Models |journal=Autonomous Robots |language=en |volume=15|issue=2|pages=111–127 |doi=10.1023/A:1025584807625|issn=0929-5593|year=2003|s2cid=2279013 |url=https://mediawiki.isr.tecnico.ulisboa.pt/images/5/5b/Thrun03.pdf }}&amp;lt;/ref&amp;gt; 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.&amp;lt;ref&amp;gt;{{cite web |last=Styler|first=Alex |date=2012 |title=Statistical Techniques in Robotics |page=2 |url=https://www.cs.cmu.edu/~16831-f12/notes/F12/16831_lecture05_vh.pdf |access-date=2017-01-26 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last1= Dickmann |first1= J. |last2= Appenrodt |first2= N. |last3= Klappstein |first3= J. |last4= Bloecher |first4= H. L. |last5= Muntzinger |first5= M. |last6= Sailer |first6= A. |last7= Hahn |first7= M. |last8= Brenk |first8= C. |date= 2015-01-01 |title= Making Bertha See Even More: Radar Contribution |journal= IEEE Access |volume= 3 |pages= 1233–1247 |doi= 10.1109/ACCESS.2015.2454533 |doi-access= free |issn= 2169-3536 |bibcode= 2015IEEEA...3.1233D }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Comparison with probit ==&lt;br /&gt;
[[File:Logit-probit.svg|right|300px|thumb|Comparison of the logit function with a scaled [[probit]] (i.e. the inverse [[cumulative distribution function|CDF]] of the [[normal distribution]]), comparing {{math|logit(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;)}} vs. {{math| Φ{{sup|−1}}(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) / {{radic|&amp;#039;&amp;#039;π&amp;#039;&amp;#039;/8}}}}, which makes the slopes the same at the {{mvar|y}}-origin.]]&lt;br /&gt;
&lt;br /&gt;
Closely related to the {{math|logit}} function (and [[logit model]]) are the [[probit function]] and [[probit model]]. The {{math|logit}} and {{math|probit}} are both [[sigmoid function]]s with a domain between 0 and 1, which makes them both [[quantile function]]s{{snd}} i.e., inverses of the [[cumulative distribution function]] (CDF) of a [[probability distribution]]. In fact, the {{math|logit}} is the [[quantile function]] of the [[logistic distribution]], while the {{math|probit}} is the quantile function of the [[normal distribution]]. The {{math|probit}} function is denoted {{tmath| \operatorname{\Phi}^{-1}(x) }}, where {{tmath|\operatorname{\Phi}(x)}} is the CDF of the standard normal distribution, as just mentioned:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\operatorname{\Phi}(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^x e^{-y^2/2} dy.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As shown in the graph on the right, the {{math|logit}} and {{math|probit}} functions are extremely similar when the {{math|probit}} function is scaled, so that its slope at {{math|&amp;#039;&amp;#039;y&amp;#039;&amp;#039; {{=}} 0}} matches the slope of the {{math|logit}}. As a result, [[probit model]]s are sometimes used in place of [[logit model]]s because for certain applications (e.g., in [[item response theory]]) the implementation is easier.&amp;lt;ref&amp;gt;{{cite book |first=James H. |last=Albert |chapter=Logit, Probit, and other Response Functions |title=Handbook of Item Response Theory |volume=Two |location= |publisher=Chapman and Hall |year=2016 |isbn= 978-1-315-37364-5|pages=3–22 |doi=10.1201/b19166-1 |chapter-url=https://books.google.com/books?id=NWymCwAAQBAJ&amp;amp;pg=PA3 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Sigmoid function]]&lt;br /&gt;
* [[Discrete choice]] on binary logit, multinomial logit, conditional logit, nested logit, mixed logit, exploded logit, and ordered logit&lt;br /&gt;
* [[Limited dependent variable]]&lt;br /&gt;
* [[Logit analysis in marketing]]&lt;br /&gt;
* [[Multinomial logit]]&lt;br /&gt;
* [[Ogee]], curve with similar shape&lt;br /&gt;
* [[Perceptron]]&lt;br /&gt;
* [[Probit]], another function with the same domain and range as the logit&lt;br /&gt;
* [[Ridit scoring]]&lt;br /&gt;
* [[Data transformation (statistics)]]&lt;br /&gt;
* [[Arcsin]] (transformation)&lt;br /&gt;
* [[Rasch model]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{More footnotes needed|date=November 2010}}&lt;br /&gt;
{{notelist}}&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
{{refbegin}}&lt;br /&gt;
* {{cite journal |last= Barnard |first= George Alfred |date= 1949 |title= Statistical Inference |journal= Journal of the Royal Statistical Society |series= B |volume= 11 |number= 2 |pages= 115–139 |doi= 10.1111/j.2517-6161.1949.tb00028.x |jstor= 2984075 |doi-access= free |author-link= George Alfred Barnard }}&lt;br /&gt;
* {{cite journal |last= Berkson |first= Joseph |date= September 1944 |title= Application of the Logistic Function to Bio-Assay |url=https://archive.org/details/sim_journal-of-the-american-statistical-association_1944-09_39_227/page/357 |journal= [[Journal of the American Statistical Association]] |volume= 39 |issue= 227 |pages= 357–365 |doi= 10.2307/2280041 |jstor= 2280041 |author-link= Joseph Berkson }}&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://bayesium.com/which-link-function-logit-probit-or-cloglog/ Which Link Function — Logit, Probit, or Cloglog? 12.04.2023]&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
* {{cite book|last=Ashton|first=Winifred D.|title=The Logit Transformation: with special reference to its uses in Bioassay|year=1972|publisher=Charles Griffin|isbn=978-0-85264-212-2|series=Griffin&amp;#039;s Statistical Monographs &amp;amp; Courses|volume= 32 |doi=10.2307/2345009 |jstor=2345009 }}&lt;br /&gt;
&lt;br /&gt;
[[Category:Logarithms]]&lt;br /&gt;
[[Category:Special functions]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Olexa Riznyk</name></author>
	</entry>
</feed>