Logit(x, min = 0, max = 1)
LogitInv(x, min = 0, max = 1)
The generalized logit function takes values on [min, max] and transforms them to span $[-Inf, Inf]$. It is defined as:
The generalized inverse logit function provides the inverse transformation:
logit
x <- seq(0,10, by=0.25)
xt <- Logit(x, min=0, max=10)
cbind(x,xt)
y <- LogitInv(xt, min=0, max=10)
cbind(x, xt, y)
Run the code above in your browser using DataLab