powered by
Logit and inverse logit functions
logit(x)ilogit(x)
ilogit(x)
For logit the value is $$log(x/(1 - x))$$
logit
For ilogit the value is $$exp(x)/(1 + exp(x))$$
ilogit
a numeric vector
p <- seq(.1, .9, by=.10) l <- logit(p); l ilogit(l) ilogit(l) == p
Run the code above in your browser using DataLab