# logit transforms in R

October 5, 2012

Again, no syntactic sugar here. Instead you’ve got to look at the functions for the logistic distribution. In particular, the logit transform, , is given in R by: `qlogis(x)`

. The inverse logit transform, , is given in R by: `plogis(x)`

. Check that the inverses are good: for example, `plogis(qlogis(0.6))`

and `qlogis(plogis(0.6))`

should both give `0.6`

.

Advertisements

## Trackbacks