powered by
The softplus logit transformation is an alternative to the logit transform for bounded outcomes with positive output.
softlogit(lower = 0, upper = 1, ...)
A list with the transform and inverse functions.
lower bound of the variable.
upper bound of the variable.
not currently used.
Alexios Galanos
y = cumprod(c(1, 1 + rnorm(100,0.01, 0.005))) B = softlogit(lower = 0, upper = 15) yt = B$transform(y) ye = B$inverse(yt)
Run the code above in your browser using DataLab