View source: R/calibrate_util.R
logit_ghitza | R Documentation |
This logit transformation (from a probability scale to unbounded) does some trimming around extreme values.
logit_ghitza(x, digits = 5)
x |
input |
digits |
The number of digits to round by. Larger values indicate more closer to a theoretical inverse logit. |
Yair Ghitza
posthoc_error calib_oneway
logit <- function(x) log(x/(1 - x))
logit(0.000001)
logit_ghitza(0.000001, digits = 5) # the default
logit_ghitza(0.000001, digits = 1)
logit_ghitza(0.000001, digits = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.