View source: R/probdifftologit.R
probdifftologit | R Documentation |
Converts a difference in proportions to a difference of log odds (logits). Note that the relationship of a difference in proportion to a difference in logits depends on the positioning on the overall scale of propotions; thus, this function also requires specifying an intercept term from the proportions.
probdifftologit(x, intercept = 0.5)
x |
A difference of proportions. |
intercept |
The intercept for the model. |
logit
to transform individual probabilities into logits.
probdifftologit(x=.20, intercept=.50) logit(.60) - logit (.40) probdifftologit(x=.20, intercept=.75) logit(.85) - logit (.65)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.