logit {BTSPAS}R Documentation

Logit and anti-logit function.

Description

Compute the logit or anti-logit.

Usage

logit(p)

expit(theta)

Arguments

p

probability between 0 and 1.

theta

logit between -infinity and +infinity

Value

Computed logit or anti-logit

Author(s)

C.J.Schwarz cschwarz@stat.sfu.ca

Examples


##---- compute the logit and its inverse
logitp <- logit(.3)
p <- expit(-.84)


[Package BTSPAS version 2024.4.1 Index]