Converts logit-scale values back to probability scale using the standard expit formula: \(\text{expit}(p) = \frac{1}{1 + e^{-p}}\)

expit(p)

Arguments

p

numeric vector of values in logit space

Value

Numeric vector of values in (0,1) (probability scale)

Details

This function is the inverse of logit. It transforms values from the logit scale (real line) back to probabilities (0,1).

See also