logit | R Documentation |
These functions compute logit(p) = log(p/(1-p)) and sigmoid(lo) = 1/(1+exp(-lo))
logit(p)
sigmoid(lo)
p |
a probability in the range 0..1, to be converted to log-adds |
lo |
log-odds in the range -Inf..Inf, to be converted to a probability |
logit(p)
computes the logit of the probability p
. sigmoid(lo)
computes the sigmoid of the log-odds lo
David A. van Leeuwen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.