LogitScale {SALTSampler}R Documentation

Finds logit(sp)

Description

For x=logit(p)x=logit(p) and l=log(s)l=log(s), this function returns logit(sp)logit(sp).

Usage

LogitScale(x, l)

Arguments

x

Logit(p)Logit(p) where pp is a vector of probabilities

l

Exp(s)Exp(s) where 0s1/pi0 \leq s \leq 1/\sum p_i to produce a well-defined return value.

Examples

#Calculates logit(xl) for p = (0.4, 0.3):
#x = (Logit(0.4), Logit(0.3)) and l = 0.7
LogitScale(x = Logit(c(0.4, 0.3)), l = 0.7)

[Package SALTSampler version 1.1.0 Index]