Inverse-logit function, transforms continuous values to the range (0, 1)
Usage
invlogit(x)
Arguments
x
A vector of continuous values
Value
A vector of estimated probabilities
Details
The Inverse-logit function defined as:
$logit^-1(x) = e^x/(1+e^x)$ transforms continuous values to the range (0, 1),
which is necessary, since probabilities must be between 0 and 1 and maps
from the linear predictor to the probabilities
References
Andrew Gelman and Jennifer Hill,
Data Analysis Using Regression and Multilevel/Hierarchical Models,
Cambridge University Press, 2006.