probdifftologit: Proportion Difference to Logit

View source: R/probdifftologit.R

probdifftologitR Documentation

Proportion Difference to Logit

Description

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.

Usage

probdifftologit(x, intercept = 0.5)

Arguments

x

A difference of proportions.

intercept

The intercept for the model.

See Also

logit to transform individual probabilities into logits.

Examples

probdifftologit(x=.20, intercept=.50)
logit(.60) - logit (.40)
probdifftologit(x=.20, intercept=.75)
logit(.85) - logit (.65)


sfraundorf/psycholing documentation built on April 23, 2022, 2:50 a.m.