The logistic function is a sigmoid function that maps the real numbers to the unit interval using the formula .
More generally, there exists a family of logistic functions that can be written as , where:
is the upper bound of the function (in which case the function maps to the interval instead). When , the logistic function is usually being used to calculate some probability or proportion of a total.
is the inflection point of the curve, or the value of where the function's growth stops speeding up and starts slowing down.
is a variable controlling the steepness of the curve.
is a scaling factor for the distance.
The logistic function is used to model growth rates of populations in an ecosystem with a limited carrying capacity.
The inverse logistic function (with ) is used to convert a probability to log-odds form for use in Bayes' rule.
The logistic function (with and ) is used to calculate the expected probability of a player winning given a specific difference in rating in the Elo rating system.