The Logistic Function Turns a Score into a Probability

Logistic regression transforms a real score with a logistic function so its predicted probability lies between zero and one for finite scores.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace the center
  2. Interpret the score carefully
  3. Calculate the probabilities on opposite sides of zero
  4. Keep mathematical transformation and empirical reliability distinct

Trace the center

At score zero, \(1/(1+e^0)=1/2\). A positive score gives a result above one half, and a negative one gives below. See linear score construction.

Interpret the score carefully

A change of one in the linear score has a consistent log-odds meaning. Its probability difference depends on the starting point. Logistic regression and odds formalizes that relationship.[1]

Calculate the probabilities on opposite sides of zero

For logistic function \(\sigma(z)=1/(1+e^{-z})\), score zero gives probability one half. At \(z=\log 3\), it gives three quarters. At the negative score it gives one quarter because \(\sigma(-z)=1-\sigma(z)\). See scores and calibration.

z = -ln 3 → .25
z = 0 → .5
z = ln 3 → .75

Keep mathematical transformation and empirical reliability distinct

A value in zero through one can serve as a probability estimate. Calibration still needs evidence against real observed frequencies. At extreme scores use a numerically appropriate implementation. Testing equal and opposite moderate scores checks both the sign convention and the symmetry.

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩