logit

(function for equations)

 

Usage:

logit (p)

Definition:

log (p / (1 - p))

Required:

0 < p < 1

logit is also known as "log odds".

This is the inverse of the logistic function (also known as "expit" or "sigmoid")

It approaches negative infinity as p approaches 0, and positive infinity as p approaches 1.

See also logistic.

Example:

logit (0.5) returns 0

logit (0.75) returns 1.0986123